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 Android framework has a large set of these classes for interacting with the user and displaying various types of data.
Account
View
onDraw()
onCreate();
2. It doesn't currently support the <merge/> tag in the layouts to be inflated.
Scroller
HttpURLConnection
ViewStub
ACTION_DOCK_EVENT
3. Callback method: Another activity is taking focus
onPause();
ACTION_DOCK_EVENT
Geocoder
ACTION_DOCK_EVENT
4. Callback method: The activity is being created.
BroadcastReceiver
AndroidManifest.xml
Lifecycle callback methods
onCreate();
5. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
onSearchRequested()
Parser
LocationManager
isConnected()
6. 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 _____
Extensible Markup Language (XML)
onCreate() - onDestroy()
Wi-Fi radio
PackageManager
7. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
AsyncTask
GestureDetector
AbstractAccountAuthenticator
Canvas
8. Once installed on a device - each Android application lives in its own ______
security sandbox
Stack - back stack
BatteryManager
Ducking
9. ______ are views derived from ViewGroup that provide a unique layout model for its child views
OAuth2 protocol
Intent filters
Layouts
Back stack
10. 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
NetworkInfo
Google
Activity
Component - screen
11. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
SQLiteOpenHelper
Wi-Fi radio
Service Content Provider
SurfaceHolder.Callback
12. This is set up to animate for the duration of the fling.
ValueAnimator
Scroller
AndroidManifest.xml
onDestroy();
13. Android provides this handy method to direct volume key presses to the audio stream the user specify.
setVolumeControlStream()
BackupHelper
Activity
ACTION_SEND
14. This is the most common input event in the Android system.
touch
ValueAnimator
Dots per inch
OAuth2 protocol
15. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
LocationManager
onAudioFocusChange()
Dalvik Debug Monitor Server
setVolumeControlStream()
16. Use this to draw bitmaps.
AsyncTask
Activity
onPause();
drawBitmap()
17. This object contains an account name - which for Google accounts is an email address.
Account
drawText()
SecurityException
SearchView
18. Direct component call in Android
onCreate() - onDestroy()
Ducking
Explicit intent
Objects Activity lifecycle
19. Where Android is currently primarily developed
Open Handset Alliance
AsyncTask
Emulator
Google
20. Relative to pixels and resolution screen
onCreate() - onDestroy()
onPause();
Dots per inch
SurfaceHolder.Callback
21. It made implementing an effective and user friendly share action in your ActionBar even easier.
OnCurrentItemChanged
Service Content Provider
onAudioFocusChange()
ActionProvider
22. Use this to draw text.
Lifecycle callback methods
Implicit intent
LTE
drawText()
23. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Lifecycle callback methods
Google Cloud Messaging for Android (GCM)
Paint
dual-
24. Most network-connected Android apps use this to send and receive data.
HTTP
onStop();
ACTION_DOCK_EVENT
isConnected()
25. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
Destroyed - previous
visible
Layouts
Dalvik Virtual Machine
26. For example - a ____ might be a button that initiates an action when the user touches it.
security sandbox
Implicit intent
View
XmlPullParser
27. When a new activity starts - it is pushed onto the ____ and takes user focus.
Objects Activity lifecycle
Back stack
Open Handset Alliance
AttributeSet
28. It inform the system what intents an application component is willing to accept.
Intent filters
Application resources
AsyncTask
Service Content Provider
29. It provides a simple way to perform your work outside the main thread.
Widgets
AsyncTask
ConnectivityManager
Stack - back stack
30. Callback method: The activity is no longer visible.
Dalvik Debug Monitor Server
BatteryManager
onStop();
Google Cloud Messaging (GCM)
31. It is called to invoke the search dialog on older devices.
onCreate() - onDestroy()
BackupHelper
onSearchRequested()
onStop();
32. It is available starting with API Level 14 and higher.
resolveSizeAndState()
Hierarchy Viewer
ShareActionProvider
Widgets
33. 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 ___ .
Services
Parser
Ducking
Stack
34. This includes tools to help you identify problems in your layout performance.
ACTION_SEND
When the activity resumes
Wi-Fi radio
Android SDK
35. 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.
drawText()
Service Content Provider
Activity
setContentView
36. 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?
BackupHelper
Geocoder
Layouts
EXTRA_STREAM
37. Callback method: The activity is about to be destroyed.
Implicit intent
security sandbox
setVolumeControlStream()
onDestroy();
38. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
ConnectivityManager
Parser
ACTION_DOCK_EVENT
adb
39. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
ActionProvider
AudioManager
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
android.hardware.touchscreen
40. 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.
Standby
Ducking
BroadcastReceiver
Layouts
41. This action is used in sending text content from one activity to another.
ACTION_SEND
Dalvik Virtual Machine
Application footprint
Full power
42. It is used to load images in a background thread - then apply them to the UI once finished.
Hierarchy Viewer
onCreate();
BatteryManager
AsyncTask
43. The minimal energy state during which no network connection is active or required.
Account
NetworkInfo
Open Handset Alliance
Standby
44. 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
OAuth2
authenticator class
When the activity resumes
45. Conversion of an object to XML
Application footprint
SearchView
Serialize
Ducking
46. These helpers are specialized classes for backing up certain kinds of data.
ConnectivityManager
Component - screen
Hierarchy Viewer
BackupHelper
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
PackageManager
onDestroy();
View
Geocoder
48. The most common way to define a layout using views is with an XML layout file saved in your ______
Application resources
<declare-styleable>
AudioManager
authenticator class
49. This is used to register and de-register your media button event receiver.
ETC1
SearchView
security sandbox
AudioManager
50. It is a subclass of PreferenceActivity.
SettingsActivity
Scroller
Activity
EXTRA_STREAM