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. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
Widgets
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
single-pane
isConnected()
2. It is an efficient and maintainable way to parse XML on Android.
Activity
Intents
EXTRA_STREAM
XmlPullParser
3. 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 _____
onAudioFocusChange()
onCreate() - onDestroy()
AsyncTask
onPause();
4. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Scroller
Google Cloud Messaging for Android (GCM)
HttpURLConnection
BatteryManager
5. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
AsyncTask
ViewStub
Application resources
Service Content Provider
6. Necessary tools to develop Android applications
Lifecycle callback methods
onAudioFocusChange()
Android SDK
onCreate() - onDestroy()
7. is run when running Android on the pc
Intents
Wi-Fi radio
Emulator
Serialize
8. A styleable entity that contains these two custom attributes: showText and labelPosition.
touch
LocationManager
PieChart
drawBitmap()
9. This can be used to draw previews of what the camera sensor is picking up.
SearchView
SecurityException
onDraw()
SurfaceView
10. This class exposes a number of methods for applications to receive location updates.
AttributeSet
PieChart
onAudioFocusChange()
LocationManager
11. Use this to draw bitmaps.
onPause();
drawBitmap()
onAudioFocusChange()
dual-
12. An open source stand alone database
InputStream
XmlPullParser
SQLite
LocationManager
13. Conversion of an object to XML
authenticator class
Scroller
Serialize
EXTRA_STREAM
14. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
onDraw()
Layouts
drawText()
Paint
15. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
inflate()
Geocoder
Intents
LTE
16. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
AccountAuthenticatorActivity
Extensible Markup Language (XML)
onPause();
Entire
17. It is called to invoke the search dialog on older devices.
Fragments
BroadcastReceiver
onSearchRequested()
Open Handset Alliance
18. This includes tools to help you identify problems in your layout performance.
Back stack
Google Cloud Messaging for Android (GCM)
Dalvik Debug Monitor Server
Android SDK
19. This is the main class through which your application can access location services on Android.
virtual table
Extensible Markup Language (XML)
LocationManager
Scroller
20. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Stack - back stack
LocationManager
auth scope
GET_ACCOUNTS
21. The minimal energy state during which no network connection is active or required.
Low power
SQLiteOpenHelper
Standby
onStop();
22. This is used to convert raw touch events into gestures.
GestureDetector
Open Handset Alliance
SecurityException
LTE
23. This is a readable source of bytes.
Google Cloud Messaging (GCM)
onPause();
InputStream
onResume();
24. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Scroller
Dalvik Debug Monitor Server
Geocoder
onCreate() - onDestroy()
25. Conversion of XML back to an object
Objects Activity lifecycle
Hierarchy Viewer
Deserialize
HttpURLConnection
26. 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 ___ .
Activity
Stack
Linux based
searchable configuration
27. The dock-state details are included as an extra in a sticky broadcast of this action.
Account
Lifecycle callback methods
ACTION_DOCK_EVENT
SQLite
28. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Parser
onCreate();
Entire
Emulator
29. Converts XML Document to XML DOM
Parser
Stack
ACTION_DOCK_EVENT
dual-
30. Amode where the action bar is set up with tabs for navigation.
onStart() - onStop()
GestureDetector
dual-
auth scope
31. An intermediate state that uses around 50% of the battery power at the full state.
Low power
InputStream
onStop();
Deserialize
32. This is used to fetch the account names that the user has stored on their device.
Parser
AsyncTask
authenticator class
Account Manager
33. It is a set of rules for encoding documents in machine-readable form.
Hierarchy Viewer
Extensible Markup Language (XML)
inflate()
LTE
34. It is used to toggle the enabled state on any component defined in the manifest - including whichever broadcast receivers you wish to enable or disable
AsyncTask
Destroyed - previous
Stack - back stack
PackageManager
35. Callback method: The activity is about to be destroyed.
SecurityException
onDestroy();
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
PieChart
36. It doesn't currently support the <merge/> tag in the layouts to be inflated.
HTTP
BroadcastReceiver
BatteryManager
ViewStub
37. 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
Component - screen
SecurityException
Google Cloud Messaging for Android (GCM)
38. Direct component call in Android
Emulator
Parser
Explicit intent
ACTION_DOCK_EVENT
39. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
ACTION_SEND
Services
BroadcastReceiver
ViewStub
40. Evaluation of registered components
Implicit intent
inflate()
EXTRA_STREAM
onCreate();
41. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
SearchView
isConnected()
onAudioFocusChange()
SecurityException
42. The industry standard way to deal with authentication to third-party services.
OAuth2 protocol
GET_ACCOUNTS
Android SDK
BackupHelper
43. Sharing of data in Android is done via________
Activity
Hierarchy Viewer
Service Content Provider
Application resources
44. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Open Handset Alliance
Full power
onCreate() - onDestroy()
SecurityException
45. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
Stack
security sandbox
searchable configuration
onDraw()
46. Callback method: The activity has become visible.
visible
onResume();
Fragments
LocationManager
47. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Destroyed - previous
XmlPullParser
Lifecycle callback methods
Explicit intent
48. 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
XmlPullParser
SQLiteOpenHelper
Google Cloud Messaging for Android (GCM)
49. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
Service Content Provider
XmlPullParser
Layouts
onCreate() - onDestroy()
50. Callback method: The activity is being created.
Paint
onDestroy();
Linux based
onCreate();