/* */
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. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
Widgets
Geocoder
Ducking
onAudioFocusChange()
2. It's generally a good idea for one of your APKs to support this texture format as it is supported by all Android-powered devices that support the OpenGL ES 2.0 spec.
SQLiteOpenHelper
onDestroy();
ETC1
onPause();
3. It is an efficient and maintainable way to parse XML on Android.
Standby
Open Handset Alliance
XmlPullParser
OAuth2
4. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
AbstractAccountAuthenticator
Application footprint
When the activity resumes
OAuth2
5. This is the main class through which your application can access location services on Android.
BatteryManager
LocationManager
onDraw()
ETC1
6. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
BatteryManager
virtual table
security sandbox
searchable configuration
7. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
getInputStream()
Google Play
Wi-Fi radio
ValueAnimator
8. It is a set of rules for encoding documents in machine-readable form.
Extensible Markup Language (XML)
Application footprint
SurfaceHolder.Callback
BatteryManager
9. Android is __________.
Canvas
Linux based
Activity
AudioManager
10. This class provides one of the simplest ways to fire off a new task from the UI thread.
onAudioFocusChange()
AsyncTask
ACTION_DOCK_EVENT
SearchView
11. Use this to draw text.
setContentView
Activity
resolveSizeAndState()
drawText()
12. 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?
Full power
Account Manager
BatteryManager
EXTRA_STREAM
13. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
onMeasure()
Objects Activity lifecycle
Ducking
AudioManager
14. Allow to combine loosely coupled components to perform certain tasks
single-pane
ViewStub
Intents
BroadcastReceiver
15. An open source group led by Google
AbstractAccountAuthenticator
Extensible Markup Language (XML)
adb
Open Handset Alliance
16. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
ACTION_DOCK_EVENT
Account
HttpURLConnection
Objects Activity lifecycle
17. This is a readable source of bytes.
SQLiteOpenHelper
Dalvik Virtual Machine
InputStream
Dalvik Debug Monitor Server
18. This includes tools to help you identify problems in your layout performance.
Android SDK
OAuth2 protocol
InputStream
OAuth2
19. When a new activity starts - it is pushed onto the ____ and takes user focus.
Back stack
SearchView
drawBitmap()
ConnectivityManager
20. 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.
AsyncTask
AndroidManifest.xml
OAuth2
EXTRA_STREAM
21. 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 ___ .
android.hardware.touchscreen
SettingsActivity
Stack
BackupHelper
22. 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
onAudioFocusChange()
inflate()
Google Cloud Messaging for Android (GCM)
PackageManager
23. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
EXTRA_STREAM
AccountAuthenticatorActivity
AsyncTask
Android SDK
24. Use this to draw bitmaps.
drawBitmap()
auth scope
Ducking
PieChart
25. The entire lifetime of an activity happens between the call to _____ and the call to _____
Layouts
When the activity resumes
SearchView
onCreate() - onDestroy()
26. Once installed on a device - each Android application lives in its own ______
inflate()
View
BatteryManager
security sandbox
27. This class exposes a number of methods for applications to receive location updates.
Widgets
Activity
security sandbox
LocationManager
28. For example - a ____ might be a button that initiates an action when the user touches it.
View
PieChart
Layouts
AsyncTask
29. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
ValueAnimator
InputStream
NetworkInfo
Geocoder
30. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Scroller
AudioManager
BackupHelper
Hierarchy Viewer
31. This is used for the need of finer control over your view's layout parameters.
ShareActionProvider
When the activity resumes
onMeasure()
auth scope
32. Whenever the device is docked or undocked - this action is broadcast.
ACTION_DOCK_EVENT
SQLite
Hierarchy Viewer
Intent filters
33. Conversion of an object to XML
PieChart
AndroidManifest.xml
Dalvik Debug Monitor Server
Serialize
34. This broadcasts an action whenever the device is connected or disconnected from power.
setContentView
onMeasure()
Serialize
BatteryManager
35. Android system uses a special virtual machine to run java based applicatons
Dalvik Virtual Machine
Low power
searchable configuration
Layouts
36. Android request its permission using its ________
AndroidManifest.xml
Activity
ValueAnimator
ActionProvider
37. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
ACTION_SEND
Back stack
SQLite
inflate()
38. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
resolveSizeAndState()
ConnectivityManager
Linux based
Activity
39. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
Wi-Fi radio
visible
AndroidManifest.xml
Deserialize
40. It is available starting with API Level 14 and higher.
setContentView
ShareActionProvider
BatteryManager
AudioManager
41. It is called to invoke the search dialog on older devices.
Google Cloud Messaging for Android (GCM)
inflate()
onSearchRequested()
Layouts
42. This search feature was introduced in Android 3.0 and can maintain backward compatibility with older versions of Android by using the default search dialog provided by the system.
ACTION_DOCK_EVENT
SearchView
ActionProvider
setContentView
43. 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.
ViewStub
Activity
Destroyed - previous
Google Cloud Messaging (GCM)
44. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Parser
setVolumeControlStream()
onPause();
Dalvik Debug Monitor Server
45. It doesn't currently support the <merge/> tag in the layouts to be inflated.
Advanced Training
virtual table
ViewStub
drawText()
46. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Google Cloud Messaging for Android (GCM)
Entire
onCreate() - onDestroy()
searchable configuration
47. Callback method: The activity has become visible.
Low power
NetworkInfo
AttributeSet
onResume();
48. Callback method: The activity is about to be destroyed.
Account
onDestroy();
Paint
SearchView
49. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Dalvik Virtual Machine
Canvas
onDestroy();
ConnectivityManager
50. A mode where navigation is set up with a spinner widget.
ViewStub
BroadcastReceiver
Hierarchy Viewer
single-pane
//
//