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. This includes tools to help you identify problems in your layout performance.
PackageManager
Fragments
GestureDetector
Android SDK
2. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
BatteryManager
AccountAuthenticatorActivity
setContentView
auth scope
3. In order to get a list of accounts on the device - your app needs this permission.
ETC1
SearchView
NetworkInfo
GET_ACCOUNTS
4. Whenever the device is docked or undocked - this action is broadcast.
Google Cloud Messaging (GCM)
ACTION_DOCK_EVENT
single-pane
Account Manager
5. This provides methods to define line's color - whether to fill a rectangle with a color or leave it empty - and defines the color - style - font - and so forth of each shape you draw.
Google Cloud Messaging for Android (GCM)
Paint
onCreate() - onDestroy()
Back stack
6. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
AudioManager
<declare-styleable>
Layouts
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
7. Callback method: The activity is about to be destroyed.
onCreate() - onDestroy()
Services
SurfaceView
onDestroy();
8. It inform the system what intents an application component is willing to accept.
PackageManager
Extensible Markup Language (XML)
Deserialize
Intent filters
9. On a rooted device - the credentials would be readable by anyone with this access to the device.
SecurityException
Emulator
Deserialize
adb
10. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
AttributeSet
AbstractAccountAuthenticator
onResume();
Low power
11. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
BatteryManager
onDraw()
ActionProvider
adb
12. This can be used to draw previews of what the camera sensor is picking up.
Implicit intent
auth scope
SurfaceView
Full power
13. When a new activity starts - it is pushed onto the ____ and takes user focus.
Back stack
onCreate();
Paint
onCreate() - onDestroy()
14. Conversion of an object to XML
Dalvik Virtual Machine
Serialize
OAuth2
Application footprint
15. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
View
ACTION_SEND
Scroller
Destroyed - previous
16. The visible lifetime of an activity happens between the call to ____ and the call to ______
visible
ETC1
Geocoder
onStart() - onStop()
17. Amode where the action bar is set up with tabs for navigation.
Full power
Hierarchy Viewer
Low power
dual-
18. It is an efficient and maintainable way to parse XML on Android.
Google Play
XmlPullParser
Dalvik Debug Monitor Server
AsyncTask
19. It made implementing an effective and user friendly share action in your ActionBar even easier.
ActionProvider
Serialize
Android SDK
isConnected()
20. Android provides this handy method to direct volume key presses to the audio stream the user specify.
SecurityException
setVolumeControlStream()
ValueAnimator
AbstractAccountAuthenticator
21. Theseare a key part of Android applications that directly affect the user experience.
Layouts
SurfaceView
SearchView
onPause();
22. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
searchable configuration
Hierarchy Viewer
ACTION_DOCK_EVENT
onAudioFocusChange()
23. The minimal energy state during which no network connection is active or required.
Android SDK
Activity
Standby
ACTION_SEND
24. Android request its permission using its ________
Fragments
AndroidManifest.xml
BroadcastReceiver
Account Manager
25. This is used for the need of finer control over your view's layout parameters.
onMeasure()
Canvas
Wi-Fi radio
Application footprint
26. It is used to load images in a background thread - then apply them to the UI once finished.
SearchView
AsyncTask
Widgets
SurfaceHolder.Callback
27. Conversion of XML back to an object
PackageManager
Entire
Dalvik Debug Monitor Server
Deserialize
28. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
authenticator class
Google Play
security sandbox
touch
29. A service in which programmers can offer their Android application to Android users.
Dalvik Virtual Machine
BatteryManager
Google Play
OnCurrentItemChanged
30. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Entire
View
BroadcastReceiver
Scroller
31. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
ViewStub
BatteryManager
OnCurrentItemChanged
Linux based
32. It is a set of rules for encoding documents in machine-readable form.
Back stack
SurfaceView
BroadcastReceiver
Extensible Markup Language (XML)
33. Converts XML Document to XML DOM
GET_ACCOUNTS
Parser
Stack
NetworkInfo
34. To create an activity - you must create a subclass of
SettingsActivity
Account Manager
AsyncTask
Activity
35. It provides a simple way to perform your work outside the main thread.
onMeasure()
single-pane
AsyncTask
visible
36. Use this to draw text.
onCreate() - onDestroy()
PieChart
onMeasure()
drawText()
37. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
ViewStub
NetworkInfo
Dots per inch
Wi-Fi radio
38. Represents the visual representation of an Android application
Activity
SecurityException
Emulator
OAuth2
39. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
ViewStub
Full power
Deserialize
Advanced Training
40. Callback method: Another activity is taking focus
dual-
PieChart
onPause();
Canvas
41. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
BroadcastReceiver
onDestroy();
AudioManager
Intent filters
42. Allow to combine loosely coupled components to perform certain tasks
SearchView
Extensible Markup Language (XML)
Intents
Widgets
43. For example - a ____ might be a button that initiates an action when the user touches it.
Low power
Stack
View
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
44. It is a free service for sending messages to Android devices.
Google Cloud Messaging (GCM)
getInputStream()
Account
Intent filters
45. 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
onCreate() - onDestroy()
Linux based
Emulator
46. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
Google Cloud Messaging for Android (GCM)
SurfaceView
onAudioFocusChange()
Hierarchy Viewer
47. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
ACTION_DOCK_EVENT
SQLite
SurfaceView
SQLiteOpenHelper
48. A mode where navigation is set up with a spinner widget.
Activity
single-pane
ACTION_SEND
onDraw()
49. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
When the activity resumes
onSearchRequested()
Objects Activity lifecycle
single-pane
50. Callback method: The activity is no longer visible
onStop();
Extensible Markup Language (XML)
SurfaceHolder.Callback
resolveSizeAndState()