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. It is a subclass of PreferenceActivity.
SettingsActivity
setVolumeControlStream()
XmlPullParser
GestureDetector
2. This is an interface which is used to pass image data from the camera hardware to the application.
SQLite
SurfaceHolder.Callback
Layouts
LocationManager
3. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
Activity
Geocoder
Advanced Training
4. If permissions are missing - the application will get this at runtime.
SecurityException
Google Cloud Messaging for Android (GCM)
Activity
drawBitmap()
5. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Entire
Google Play
onCreate() - onDestroy()
SQLiteOpenHelper
6. This class is the basis for handling flywheel-style fling gestures.
Google Cloud Messaging (GCM)
Scroller
Deserialize
BackupHelper
7. Amode where the action bar is set up with tabs for navigation.
Linux based
dual-
AudioManager
XmlPullParser
8. Whenever the device is docked or undocked - this action is broadcast.
Google Cloud Messaging for Android (GCM)
ACTION_DOCK_EVENT
onDraw()
When the activity resumes
9. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
HttpURLConnection
single-pane
ViewStub
LTE
10. Callback method: The activity is no longer visible.
onStop();
AndroidManifest.xml
authenticator class
BatteryManager
11. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
onCreate() - onDestroy()
Intents
Entire
Canvas
12. It provides a simple way to perform your work outside the main thread.
onStart() - onStop()
OnCurrentItemChanged
AsyncTask
Entire
13. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
visible
AsyncTask
Back stack
onAudioFocusChange()
14. This is set up to animate for the duration of the fling.
XmlPullParser
ValueAnimator
Widgets
Geocoder
15. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
onMeasure()
Advanced Training
AccountAuthenticatorActivity
onDraw()
16. Android request its permission using its ________
onAudioFocusChange()
Deserialize
AndroidManifest.xml
Services
17. Android provides this handy method to direct volume key presses to the audio stream the user specify.
InputStream
setVolumeControlStream()
dual-
Objects Activity lifecycle
18. You can set the layout as the UI for your activity with passing the resource ID for the layout.
setContentView
Account
visible
OAuth2
19. This is used to register and de-register your media button event receiver.
SearchView
authenticator class
SearchView
AudioManager
20. 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 ___ .
onCreate() - onDestroy()
setVolumeControlStream()
Paint
Stack
21. On a rooted device - the credentials would be readable by anyone with this access to the device.
Paint
Deserialize
ActionProvider
adb
22. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Full power
AudioManager
Implicit intent
SQLiteOpenHelper
23. Where Android is currently primarily developed
BroadcastReceiver
onCreate() - onDestroy()
Google
Emulator
24. This action is used in sending text content from one activity to another.
Account
ACTION_SEND
Services
Objects Activity lifecycle
25. The visible lifetime of an activity happens between the call to ____ and the call to ______
PackageManager
onStart() - onStop()
OAuth2
Google
26. It is the process of lowering your audio stream output volume to make transient audio from another app easier to hear without totally disrupting the audio from your own application.
ETC1
Google Play
Parser
Ducking
27. This includes tools to help you identify problems in your layout performance.
Android SDK
Full power
auth scope
Application resources
28. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
SQLiteOpenHelper
HttpURLConnection
When the activity resumes
BroadcastReceiver
29. Conversion of an object to XML
authenticator class
Google
Serialize
Standby
30. 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
ConnectivityManager
Extensible Markup Language (XML)
Emulator
31. The dock-state details are included as an extra in a sticky broadcast of this action.
AudioManager
View
ACTION_DOCK_EVENT
GET_ACCOUNTS
32. This is the most common input event in the Android system.
Account
touch
ViewStub
security sandbox
33. Converts XML Document to XML DOM
onAudioFocusChange()
Parser
BroadcastReceiver
Ducking
34. This class exposes a number of methods for applications to receive location updates.
ShareActionProvider
Ducking
ValueAnimator
LocationManager
35. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Services
resolveSizeAndState()
Stack - back stack
Explicit intent
36. Callback method: The activity is no longer visible
Wi-Fi radio
InputStream
inflate()
onStop();
37. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
android.hardware.touchscreen
adb
GestureDetector
drawText()
38. This is the simplest way to monitor device state changes.
setContentView
onMeasure()
BroadcastReceiver
SurfaceHolder.Callback
39. In order to get a list of accounts on the device - your app needs this permission.
View
Back stack
GET_ACCOUNTS
BroadcastReceiver
40. This is used for the need of finer control over your view's layout parameters.
Parser
ConnectivityManager
SearchView
onMeasure()
41. 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.
OnCurrentItemChanged
Google Play
SearchView
Android SDK
42. Use this to draw bitmaps.
ETC1
virtual table
AbstractAccountAuthenticator
drawBitmap()
43. Android is __________.
OAuth2
Linux based
onPause();
Entire
44. Callback method: The activity is about to be destroyed.
onDestroy();
getInputStream()
Serialize
Linux based
45. 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 _____
adb
ACTION_DOCK_EVENT
onCreate() - onDestroy()
Layouts
46. Sharing of data in Android is done via________
AsyncTask
security sandbox
Service Content Provider
drawText()
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
PieChart
Google
PackageManager
BatteryManager
48. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
BroadcastReceiver
NetworkInfo
touch
onCreate() - onDestroy()
49. Direct component call in Android
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Google Play
ETC1
Explicit intent
50. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
onSearchRequested()
Lifecycle callback methods
Serialize
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY