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. 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.
Geocoder
dual-
Ducking
Intents
2. Perform background tasks without providing a user interface
Services
setVolumeControlStream()
OnCurrentItemChanged
onCreate() - onDestroy()
3. Conversion of an object to XML
single-pane
AccountAuthenticatorActivity
Serialize
Dalvik Debug Monitor Server
4. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Deserialize
setVolumeControlStream()
android.hardware.touchscreen
OnCurrentItemChanged
5. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
OAuth2 protocol
Account Manager
Activity
inflate()
6. The helper method is used to create the final width and height values.
OnCurrentItemChanged
onCreate() - onDestroy()
drawText()
resolveSizeAndState()
7. An intermediate state that uses around 50% of the battery power at the full state.
XmlPullParser
Lifecycle callback methods
HTTP
Low power
8. Evaluation of registered components
Implicit intent
Scroller
BackupHelper
Ducking
9. Android provides this handy method to direct volume key presses to the audio stream the user specify.
ACTION_DOCK_EVENT
onStop();
dual-
setVolumeControlStream()
10. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
isConnected()
Intent filters
onCreate() - onDestroy()
Intents
11. The entire lifetime of an activity happens between the call to _____ and the call to _____
SettingsActivity
SQLite
Layouts
onCreate() - onDestroy()
12. It is a set of rules for encoding documents in machine-readable form.
ActionProvider
Geocoder
Extensible Markup Language (XML)
onCreate() - onDestroy()
13. This action is used in sending text content from one activity to another.
Activity
ACTION_SEND
PieChart
onPause();
14. is run when running Android on the pc
Open Handset Alliance
HttpURLConnection
BatteryManager
Emulator
15. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
resolveSizeAndState()
android.hardware.touchscreen
Widgets
visible
16. Callback method: The activity is no longer visible.
Explicit intent
Canvas
OAuth2
onStop();
17. It made implementing an effective and user friendly share action in your ActionBar even easier.
Parser
inflate()
ActionProvider
security sandbox
18. 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
Destroyed - previous
OAuth2 protocol
virtual table
AsyncTask
19. 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
Component - screen
Implicit intent
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Advanced Training
20. Where Android is currently primarily developed
onDraw()
Explicit intent
Google
OAuth2 protocol
21. This is set up to animate for the duration of the fling.
<declare-styleable>
ValueAnimator
Widgets
ShareActionProvider
22. Callback method: The activity is no longer visible
Open Handset Alliance
ACTION_DOCK_EVENT
onStop();
android.hardware.touchscreen
23. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
HttpURLConnection
LocationManager
Services
Standby
24. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
<declare-styleable>
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
onCreate() - onDestroy()
SurfaceView
25. This can be used to draw previews of what the camera sensor is picking up.
SurfaceView
AbstractAccountAuthenticator
GestureDetector
Parser
26. It is a subclass of PreferenceActivity.
SettingsActivity
Google Cloud Messaging (GCM)
AsyncTask
Component - screen
27. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
AsyncTask
HttpURLConnection
ActionProvider
Lifecycle callback methods
28. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
When the activity resumes
Back stack
Canvas
LocationManager
29. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
dual-
BatteryManager
Geocoder
XmlPullParser
30. The dock-state details are included as an extra in a sticky broadcast of this action.
ACTION_DOCK_EVENT
AndroidManifest.xml
Intents
Canvas
31. Callback method: The activity is being created.
resolveSizeAndState()
Serialize
onCreate();
Scroller
32. The visible lifetime of an activity happens between the call to ____ and the call to ______
onStart() - onStop()
BroadcastReceiver
virtual table
View
33. These helpers are specialized classes for backing up certain kinds of data.
BackupHelper
PieChart
NetworkInfo
Widgets
34. This object contains an account name - which for Google accounts is an email address.
Google Cloud Messaging (GCM)
Entire
Account
AsyncTask
35. This is used to convert raw touch events into gestures.
SecurityException
Parser
GestureDetector
AsyncTask
36. This is used to fetch the account names that the user has stored on their device.
Activity
Account Manager
View
onCreate();
37. Each activity can then start another activity in order to perform different actions. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a ___ .
Application resources
Parser
Stack
NetworkInfo
38. Android system uses a special virtual machine to run java based applicatons
View
SecurityException
Ducking
Dalvik Virtual Machine
39. This widget as an item in the action bar is the preferred way to provide search in your app.
Intent filters
ConnectivityManager
ViewStub
SearchView
40. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
onMeasure()
Entire
onResume();
OAuth2
41. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Service Content Provider
auth scope
BatteryManager
OnCurrentItemChanged
42. It doesn't currently support the <merge/> tag in the layouts to be inflated.
ViewStub
Dalvik Debug Monitor Server
onCreate() - onDestroy()
Entire
43. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
authenticator class
Implicit intent
ACTION_DOCK_EVENT
ViewStub
44. Direct component call in Android
LocationManager
Explicit intent
<declare-styleable>
ShareActionProvider
45. It is a free service for sending messages to Android devices.
Google Cloud Messaging (GCM)
PackageManager
Standby
ACTION_SEND
46. It is used to load images in a background thread - then apply them to the UI once finished.
Activity
SQLiteOpenHelper
AsyncTask
Dalvik Virtual Machine
47. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Layouts
ValueAnimator
Full power
AudioManager
48. This is used to register and de-register your media button event receiver.
AudioManager
Component - screen
BatteryManager
onCreate() - onDestroy()
49. Use this to draw text.
setContentView
Full power
Low power
drawText()
50. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
Activity
Google
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
ValueAnimator