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. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
Intent filters
SQLite
onCreate() - onDestroy()
SettingsActivity
2. An open source group led by Google
onStop();
OnCurrentItemChanged
Open Handset Alliance
onStart() - onStop()
3. For example - a ____ might be a button that initiates an action when the user touches it.
Layouts
AndroidManifest.xml
onCreate() - onDestroy()
View
4. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Google
single-pane
OnCurrentItemChanged
Full power
5. The minimal energy state during which no network connection is active or required.
onMeasure()
Standby
security sandbox
ETC1
6. This is a readable source of bytes.
Emulator
Canvas
InputStream
ACTION_SEND
7. This is the simplest way to monitor device state changes.
onCreate() - onDestroy()
Dots per inch
BroadcastReceiver
LTE
8. It is called to invoke the search dialog on older devices.
Widgets
onSearchRequested()
GestureDetector
Service Content Provider
9. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Full power
Android SDK
onCreate() - onDestroy()
touch
10. Converts XML Document to XML DOM
Parser
BatteryManager
onStop();
getInputStream()
11. It inform the system what intents an application component is willing to accept.
visible
ConnectivityManager
Intent filters
Open Handset Alliance
12. It made implementing an effective and user friendly share action in your ActionBar even easier.
OAuth2 protocol
ActionProvider
Application resources
AsyncTask
13. Use this to draw text.
drawText()
ACTION_DOCK_EVENT
Wi-Fi radio
adb
14. It doesn't currently support the <merge/> tag in the layouts to be inflated.
Low power
ViewStub
BroadcastReceiver
AttributeSet
15. Direct component call in Android
Explicit intent
InputStream
Google Cloud Messaging (GCM)
Activity
16. This broadcasts an action whenever the device is connected or disconnected from power.
Ducking
BatteryManager
Component - screen
Parser
17. is run when running Android on the pc
Emulator
Application footprint
auth scope
<declare-styleable>
18. This is used to fetch the account names that the user has stored on their device.
Layouts
Account Manager
LocationManager
Scroller
19. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
SettingsActivity
Lifecycle callback methods
Serialize
When the activity resumes
20. When a new activity starts - it is pushed onto the ____ and takes user focus.
Back stack
SurfaceView
Layouts
SearchView
21. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
AccountAuthenticatorActivity
PackageManager
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Dalvik Debug Monitor Server
22. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
getInputStream()
Full power
Scroller
SQLiteOpenHelper
23. Once installed on a device - each Android application lives in its own ______
Dalvik Virtual Machine
security sandbox
onStart() - onStop()
onDestroy();
24. Callback method: The activity is no longer visible.
onStop();
Deserialize
Wi-Fi radio
Scroller
25. Sharing of data in Android is done via________
Google Cloud Messaging (GCM)
Service Content Provider
Serialize
OAuth2
26. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
PackageManager
When the activity resumes
Account Manager
Widgets
27. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
auth scope
Widgets
Hierarchy Viewer
getInputStream()
28. Callback method: Another activity is taking focus
onPause();
HttpURLConnection
Wi-Fi radio
PieChart
29. The visible lifetime of an activity happens between the call to ____ and the call to ______
Geocoder
onStart() - onStop()
Extensible Markup Language (XML)
Full power
30. It is a subclass of PreferenceActivity.
<declare-styleable>
Scroller
SettingsActivity
SQLiteOpenHelper
31. Android request its permission using its ________
Google Cloud Messaging for Android (GCM)
<declare-styleable>
AndroidManifest.xml
Services
32. This includes tools to help you identify problems in your layout performance.
LTE
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Serialize
Android SDK
33. In most cases this will offer greater bandwidth at a significantly lower battery cost.
AccountAuthenticatorActivity
Objects Activity lifecycle
Extensible Markup Language (XML)
Wi-Fi radio
34. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Layouts
ConnectivityManager
InputStream
setContentView
35. Android is __________.
AndroidManifest.xml
Android SDK
Linux based
SearchView
36. The industry standard way to deal with authentication to third-party services.
ACTION_DOCK_EVENT
SettingsActivity
PackageManager
OAuth2 protocol
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.
HTTP
Intents
OAuth2
Paint
38. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
Dalvik Debug Monitor Server
Scroller
ViewStub
onStop();
39. Callback method: The activity has become visible.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
SurfaceView
onResume();
Services
40. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Wi-Fi radio
Intents
Entire
AbstractAccountAuthenticator
41. An _______ is an application component that provides a screen 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.
XmlPullParser
ActionProvider
OAuth2
Activity
42. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
AccountAuthenticatorActivity
SurfaceHolder.Callback
SecurityException
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
43. It is a set of rules for encoding documents in machine-readable form.
onPause();
ConnectivityManager
Extensible Markup Language (XML)
GET_ACCOUNTS
44. This is the main class through which your application can access location services on Android.
SearchView
LocationManager
AttributeSet
drawText()
45. If permissions are missing - the application will get this at runtime.
ViewStub
Widgets
SecurityException
Fragments
46. This is an interface which is used to pass image data from the camera hardware to the application.
Open Handset Alliance
SurfaceHolder.Callback
adb
SettingsActivity
47. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Widgets
Emulator
drawBitmap()
OAuth2
48. The most common way to define a layout using views is with an XML layout file saved in your ______
ACTION_SEND
Layouts
Application resources
AsyncTask
49. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
Android SDK
isConnected()
Standby
onResume();
50. Callback method: The activity is about to be destroyed.
LTE
ConnectivityManager
XmlPullParser
onDestroy();