SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
Android Programming
Start Test
Study First
Subject
:
it-skills
Instructions:
Answer 50 questions in 15 minutes.
If you are not ready to take this test, you can
study here
.
Match each statement with the correct term.
Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.
This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. Conversion of XML back to an object
Deserialize
adb
ShareActionProvider
Linux based
2. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
onStop();
Advanced Training
ValueAnimator
Scroller
3. This is set up to animate for the duration of the fling.
searchable configuration
ValueAnimator
Stack
auth scope
4. This is used to register and de-register your media button event receiver.
onCreate() - onDestroy()
AudioManager
EXTRA_STREAM
OnCurrentItemChanged
5. Use this to draw bitmaps.
drawBitmap()
Low power
Android SDK
Fragments
6. It is a string that defines the specific type of access your app is asking for.
auth scope
AsyncTask
setContentView
onCreate();
7. A service in which programmers can offer their Android application to Android users.
onPause();
Scroller
Google Play
setVolumeControlStream()
8. The industry standard way to deal with authentication to third-party services.
OAuth2 protocol
onStop();
ACTION_DOCK_EVENT
onCreate() - onDestroy()
9. Perform background tasks without providing a user interface
Destroyed - previous
Dots per inch
Explicit intent
Services
10. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
OnCurrentItemChanged
Google
isConnected()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
11. Android system uses a special virtual machine to run java based applicatons
Widgets
Standby
Dalvik Virtual Machine
SearchView
12. Whenever the device is docked or undocked - this action is broadcast.
ACTION_DOCK_EVENT
Canvas
Activity
Entire
13. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
virtual table
XmlPullParser
onStop();
BatteryManager
14. The dock-state details are included as an extra in a sticky broadcast of this action.
SettingsActivity
ViewStub
auth scope
ACTION_DOCK_EVENT
15. On a rooted device - the credentials would be readable by anyone with this access to the device.
Lifecycle callback methods
onPause();
adb
AttributeSet
16. Allow to combine loosely coupled components to perform certain tasks
Services
onResume();
Intents
Activity
17. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
ValueAnimator
virtual table
OnCurrentItemChanged
SQLite
18. For example - if your activity has a thread running in the background to download data from the network - it might create that thread in _____ and then stop the thread in _____
AsyncTask
ViewStub
onCreate() - onDestroy()
AccountAuthenticatorActivity
19. It is a subclass of PreferenceActivity.
Android SDK
Implicit intent
virtual table
SettingsActivity
20. A styleable entity that contains these two custom attributes: showText and labelPosition.
PieChart
Intent filters
Scroller
ActionProvider
21. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Full power
authenticator class
Geocoder
adb
22. If permissions are missing - the application will get this at runtime.
onDraw()
BroadcastReceiver
SecurityException
getInputStream()
23. This broadcasts an action whenever the device is connected or disconnected from power.
ViewStub
onCreate() - onDestroy()
SecurityException
BatteryManager
24. It made implementing an effective and user friendly share action in your ActionBar even easier.
ActionProvider
Activity
Intents
Parser
25. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Standby
getInputStream()
Objects Activity lifecycle
onAudioFocusChange()
26. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Widgets
Destroyed - previous
onMeasure()
virtual table
27. The helper method is used to create the final width and height values.
resolveSizeAndState()
AsyncTask
inflate()
Activity
28. To create an activity - you must create a subclass of
resolveSizeAndState()
onMeasure()
Activity
Android SDK
29. It doesn't currently support the <merge/> tag in the layouts to be inflated.
AsyncTask
virtual table
ViewStub
SQLiteOpenHelper
30. The most common way to define a layout using views is with an XML layout file saved in your ______
Explicit intent
Application resources
onStart() - onStop()
visible
31. Callback method: The activity is no longer visible
onStop();
ViewStub
Dots per inch
AudioManager
32. Android request its permission using its ________
Service Content Provider
GestureDetector
Android SDK
AndroidManifest.xml
33. You can set the layout as the UI for your activity with passing the resource ID for the layout.
ETC1
searchable configuration
ACTION_DOCK_EVENT
setContentView
34. When a new activity starts - it is pushed onto the ____ and takes user focus.
SurfaceHolder.Callback
NetworkInfo
When the activity resumes
Back stack
35. To define custom attributes - add this resources to your project.
<declare-styleable>
AsyncTask
onSearchRequested()
Standby
36. This is used to convert raw touch events into gestures.
Fragments
ViewStub
Account
GestureDetector
37. It provides a single value - called an auth token that represents both the user's identity and the application's authorization to act on the user's behalf.
OAuth2
AttributeSet
OAuth2 protocol
Objects Activity lifecycle
38. An Activity is an application ______ that provides a _______ with which users can interact in order to do something - such as dial the phone - take a photo - send an email - or view a map
HTTP
onCreate() - onDestroy()
Extensible Markup Language (XML)
Component - screen
39. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
onAudioFocusChange()
Stack
Intent filters
SurfaceView
40. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
AsyncTask
Dalvik Debug Monitor Server
Stack
Canvas
41. Theseare a key part of Android applications that directly affect the user experience.
Layouts
resolveSizeAndState()
Service Content Provider
SQLiteOpenHelper
42. This is a readable source of bytes.
InputStream
PackageManager
visible
Scroller
43. It is the process of lowering your audio stream output volume to make transient audio from another app easier to hear without totally disrupting the audio from your own application.
Parser
Ducking
Back stack
SurfaceView
44. The back stack abides to the basic "last in - first out" stack mechanism - so - when the user is done with the current activity and presses the Back button - it is popped from the stack (and ____) and the ____ activity resumes
Component - screen
Dalvik Virtual Machine
Hierarchy Viewer
Destroyed - previous
45. This includes tools to help you identify problems in your layout performance.
Linux based
BatteryManager
Android SDK
NetworkInfo
46. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
SearchView
ConnectivityManager
When the activity resumes
BroadcastReceiver
47. This search feature was introduced in Android 3.0 and can maintain backward compatibility with older versions of Android by using the default search dialog provided by the system.
SearchView
Application resources
Full power
Back stack
48. This is an interface which is used to pass image data from the camera hardware to the application.
SurfaceHolder.Callback
SurfaceView
NetworkInfo
ValueAnimator
49. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
Google Play
auth scope
onStop();
AbstractAccountAuthenticator
50. is run when running Android on the pc
Application footprint
Emulator
onCreate() - onDestroy()
onCreate() - onDestroy()