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. Android is __________.
SQLite
Activity
Linux based
Android SDK
2. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
single-pane
AbstractAccountAuthenticator
Parser
Ducking
3. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
ETC1
Account Manager
BatteryManager
onCreate() - onDestroy()
4. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
LocationManager
Dots per inch
security sandbox
Entire
5. This is the most common input event in the Android system.
touch
ViewStub
Layouts
ShareActionProvider
6. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
BatteryManager
security sandbox
Geocoder
Layouts
7. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Full power
Android SDK
Fragments
Scroller
8. Most network-connected Android apps use this to send and receive data.
Account Manager
HTTP
Objects Activity lifecycle
BroadcastReceiver
9. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
onMeasure()
Activity
Lifecycle callback methods
SQLiteOpenHelper
10. When a view is created from an XML layout - all of the attributes in the XML tag are read from the resource bundle and passed into the view's constructor as a what?
onCreate() - onDestroy()
AttributeSet
AudioManager
Intent filters
11. ______ are views derived from ViewGroup that provide a unique layout model for its child views
View
Parser
Destroyed - previous
Layouts
12. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
onStop();
virtual table
XmlPullParser
ConnectivityManager
13. Are used in activities to create the user interface and to interact with the user.
authenticator class
Fragments
Google Cloud Messaging for Android (GCM)
Parser
14. Use this to draw text.
drawText()
onResume();
BroadcastReceiver
authenticator class
15. Conversion of XML back to an object
AndroidManifest.xml
Emulator
LocationManager
Deserialize
16. This is a readable source of bytes.
HttpURLConnection
InputStream
Android SDK
Account
17. Necessary tools to develop Android applications
Standby
Android SDK
inflate()
Fragments
18. Binary data is shared using the ACTION_SEND action combined with setting the appropriate MIME type and placing the URI to the data in an extra named called?
AudioManager
HTTP
EXTRA_STREAM
ACTION_DOCK_EVENT
19. The entire lifetime of an activity happens between the call to _____ and the call to _____
GET_ACCOUNTS
Application resources
onCreate() - onDestroy()
setVolumeControlStream()
20. A mode where navigation is set up with a spinner widget.
SettingsActivity
Dalvik Debug Monitor Server
onPause();
single-pane
21. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
Destroyed - previous
AccountAuthenticatorActivity
Android SDK
OnCurrentItemChanged
22. This is used to convert raw touch events into gestures.
OAuth2
LocationManager
GestureDetector
SecurityException
23. Callback method: The activity is about to be destroyed.
Activity
Layouts
security sandbox
onDestroy();
24. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
AndroidManifest.xml
Canvas
AsyncTask
HttpURLConnection
25. It is used to load images in a background thread - then apply them to the UI once finished.
AsyncTask
onResume();
searchable configuration
PackageManager
26. A styleable entity that contains these two custom attributes: showText and labelPosition.
Extensible Markup Language (XML)
ConnectivityManager
Dots per inch
PieChart
27. This is set up to animate for the duration of the fling.
authenticator class
ValueAnimator
auth scope
Layouts
28. Direct component call in Android
Explicit intent
EXTRA_STREAM
SurfaceView
Activity
29. It doesn't currently support the <merge/> tag in the layouts to be inflated.
getInputStream()
Intents
ViewStub
onDestroy();
30. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
ViewStub
AsyncTask
BroadcastReceiver
Geocoder
31. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Stack - back stack
Service Content Provider
AttributeSet
Widgets
32. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Stack - back stack
Wi-Fi radio
Explicit intent
android.hardware.touchscreen
33. These helpers are specialized classes for backing up certain kinds of data.
ActionProvider
Activity
onStart() - onStop()
BackupHelper
34. The dock-state details are included as an extra in a sticky broadcast of this action.
View
OnCurrentItemChanged
ACTION_DOCK_EVENT
Android SDK
35. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
ConnectivityManager
Advanced Training
onStart() - onStop()
SearchView
36. Amode where the action bar is set up with tabs for navigation.
Full power
dual-
PieChart
Activity
37. Once installed on a device - each Android application lives in its own ______
Dalvik Debug Monitor Server
Open Handset Alliance
touch
security sandbox
38. An intermediate state that uses around 50% of the battery power at the full state.
visible
Low power
inflate()
onResume();
39. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
AudioManager
HttpURLConnection
SQLiteOpenHelper
ETC1
40. The minimal energy state during which no network connection is active or required.
GET_ACCOUNTS
HttpURLConnection
Standby
Advanced Training
41. This is used to register and de-register your media button event receiver.
onDestroy();
BatteryManager
AudioManager
setContentView
42. You can set the layout as the UI for your activity with passing the resource ID for the layout.
onDraw()
Deserialize
BatteryManager
setContentView
43. When a new activity starts - it is pushed onto the ____ and takes user focus.
Back stack
Serialize
View
View
44. 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 ___ .
Stack
Destroyed - previous
ConnectivityManager
onMeasure()
45. This is an interface which is used to pass image data from the camera hardware to the application.
onDraw()
Explicit intent
SurfaceHolder.Callback
onCreate() - onDestroy()
46. Shows the actual amount of memory the application uses
dual-
inflate()
Application footprint
single-pane
47. 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
onSearchRequested()
SettingsActivity
PackageManager
onStart() - onStop()
48. It provides a simple way to perform your work outside the main thread.
SurfaceHolder.Callback
onCreate() - onDestroy()
AsyncTask
ActionProvider
49. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Entire
AudioManager
Scroller
Hierarchy Viewer
50. It is a string that defines the specific type of access your app is asking for.
SurfaceHolder.Callback
Application footprint
ViewStub
auth scope