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 entire lifetime of an activity happens between the call to _____ and the call to _____
HttpURLConnection
onCreate() - onDestroy()
resolveSizeAndState()
security sandbox
2. Android request its permission using its ________
HTTP
ConnectivityManager
Android SDK
AndroidManifest.xml
3. Most network-connected Android apps use this to send and receive data.
inflate()
BatteryManager
Google Cloud Messaging (GCM)
HTTP
4. 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
PackageManager
Stack - back stack
AsyncTask
Services
5. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
SearchView
Lifecycle callback methods
LocationManager
drawText()
6. This is an interface which is used to pass image data from the camera hardware to the application.
Intents
onStop();
SurfaceHolder.Callback
setVolumeControlStream()
7. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Layouts
Widgets
Low power
Dalvik Virtual Machine
8. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
virtual table
Destroyed - previous
ConnectivityManager
AudioManager
9. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Stack
ACTION_DOCK_EVENT
SQLiteOpenHelper
setContentView
10. This is used to register and de-register your media button event receiver.
virtual table
Linux based
Parser
AudioManager
11. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
View
Objects Activity lifecycle
Google Cloud Messaging (GCM)
ViewStub
12. 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?
setContentView
onDestroy();
AttributeSet
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
13. Amode where the action bar is set up with tabs for navigation.
ShareActionProvider
Android SDK
dual-
AndroidManifest.xml
14. In most cases this will offer greater bandwidth at a significantly lower battery cost.
ValueAnimator
PackageManager
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Wi-Fi radio
15. This class exposes a number of methods for applications to receive location updates.
Deserialize
LocationManager
SearchView
AsyncTask
16. 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.
Activity
SurfaceHolder.Callback
Services
Full power
17. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
Full power
SQLite
onCreate() - onDestroy()
AccountAuthenticatorActivity
18. Direct component call in Android
Wi-Fi radio
BackupHelper
Explicit intent
onSearchRequested()
19. The most common way to define a layout using views is with an XML layout file saved in your ______
onAudioFocusChange()
Open Handset Alliance
Application resources
adb
20. These helpers are specialized classes for backing up certain kinds of data.
BackupHelper
setVolumeControlStream()
AsyncTask
Activity
21. The dock-state details are included as an extra in a sticky broadcast of this action.
HttpURLConnection
Hierarchy Viewer
Paint
ACTION_DOCK_EVENT
22. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
touch
Stack - back stack
LocationManager
When the activity resumes
23. is run when running Android on the pc
When the activity resumes
Emulator
resolveSizeAndState()
AbstractAccountAuthenticator
24. Callback method: The activity has become visible.
AsyncTask
View
onResume();
BroadcastReceiver
25. It is a free service for sending messages to Android devices.
EXTRA_STREAM
BroadcastReceiver
Google Cloud Messaging (GCM)
searchable configuration
26. This can be used to draw previews of what the camera sensor is picking up.
drawBitmap()
SurfaceHolder.Callback
When the activity resumes
SurfaceView
27. This includes tools to help you identify problems in your layout performance.
onMeasure()
Android SDK
LocationManager
Widgets
28. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
onDraw()
ConnectivityManager
Fragments
Geocoder
29. It is a set of rules for encoding documents in machine-readable form.
Extensible Markup Language (XML)
Linux based
Dalvik Virtual Machine
Fragments
30. Where Android is currently primarily developed
SearchView
Google
drawBitmap()
ViewStub
31. Allow to combine loosely coupled components to perform certain tasks
Hierarchy Viewer
<declare-styleable>
Intents
ACTION_SEND
32. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
ViewStub
inflate()
onCreate() - onDestroy()
isConnected()
33. Necessary tools to develop Android applications
Extensible Markup Language (XML)
Android SDK
onSearchRequested()
BatteryManager
34. This is the simplest way to monitor device state changes.
Services
NetworkInfo
View
BroadcastReceiver
35. For example - a ____ might be a button that initiates an action when the user touches it.
Stack - back stack
ViewStub
Advanced Training
View
36. Represents the visual representation of an Android application
Activity
Intents
getInputStream()
onStop();
37. It doesn't currently support the <merge/> tag in the layouts to be inflated.
Intents
Implicit intent
ViewStub
searchable configuration
38. An open source group led by Google
HttpURLConnection
Deserialize
ActionProvider
Open Handset Alliance
39. It inform the system what intents an application component is willing to accept.
Intent filters
getInputStream()
Linux based
AsyncTask
40. This is a readable source of bytes.
Service Content Provider
Layouts
ViewStub
InputStream
41. Converts XML Document to XML DOM
Lifecycle callback methods
Android SDK
onStop();
Parser
42. This is set up to animate for the duration of the fling.
Destroyed - previous
ACTION_SEND
ValueAnimator
Stack
43. This is used to convert raw touch events into gestures.
Fragments
Account Manager
GestureDetector
onStart() - onStop()
44. It is used to load images in a background thread - then apply them to the UI once finished.
android.hardware.touchscreen
AsyncTask
ActionProvider
<declare-styleable>
45. It is called to invoke the search dialog on older devices.
AccountAuthenticatorActivity
onSearchRequested()
Open Handset Alliance
Advanced Training
46. It is a string that defines the specific type of access your app is asking for.
InputStream
auth scope
Stack
ACTION_DOCK_EVENT
47. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Google Cloud Messaging (GCM)
security sandbox
BroadcastReceiver
Scroller
48. Sharing of data in Android is done via________
Service Content Provider
ShareActionProvider
BroadcastReceiver
onAudioFocusChange()
49. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
Android SDK
HttpURLConnection
Layouts
SQLiteOpenHelper
50. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
android.hardware.touchscreen
SQLite
HttpURLConnection
getInputStream()