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 includes tools to help you identify problems in your layout performance.
Android SDK
onCreate();
XmlPullParser
Fragments
2. For example - a ____ might be a button that initiates an action when the user touches it.
Emulator
Destroyed - previous
AttributeSet
View
3. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
SQLite
SQLiteOpenHelper
ConnectivityManager
PieChart
4. This broadcasts an action whenever the device is connected or disconnected from power.
ConnectivityManager
BatteryManager
Geocoder
BroadcastReceiver
5. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Widgets
AsyncTask
<declare-styleable>
drawBitmap()
6. This is the most common input event in the Android system.
Objects Activity lifecycle
Canvas
Back stack
touch
7. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
View
ConnectivityManager
NetworkInfo
Back stack
8. When a new activity starts - it is pushed onto the ____ and takes user focus.
Back stack
SQLite
ACTION_SEND
OnCurrentItemChanged
9. This is set up to animate for the duration of the fling.
inflate()
ETC1
NetworkInfo
ValueAnimator
10. An intermediate state that uses around 50% of the battery power at the full state.
Low power
Application footprint
AsyncTask
AndroidManifest.xml
11. This is used to register and de-register your media button event receiver.
Fragments
Ducking
AudioManager
SettingsActivity
12. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
LTE
Intent filters
BatteryManager
Account
13. This widget as an item in the action bar is the preferred way to provide search in your app.
drawText()
ActionProvider
SearchView
security sandbox
14. 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
onCreate() - onDestroy()
onDraw()
Destroyed - previous
Intent filters
15. This action is used in sending text content from one activity to another.
OnCurrentItemChanged
Destroyed - previous
drawText()
ACTION_SEND
16. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
ConnectivityManager
Destroyed - previous
visible
BatteryManager
17. To define custom attributes - add this resources to your project.
<declare-styleable>
BatteryManager
Dots per inch
onSearchRequested()
18. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
SearchView
Ducking
View
Dalvik Debug Monitor Server
19. Theseare a key part of Android applications that directly affect the user experience.
Google Play
Advanced Training
BroadcastReceiver
Layouts
20. Evaluation of registered components
SQLite
drawBitmap()
Implicit intent
onAudioFocusChange()
21. This is the simplest way to monitor device state changes.
BroadcastReceiver
Objects Activity lifecycle
Paint
Full power
22. Callback method: The activity has become visible.
security sandbox
Serialize
touch
onResume();
23. It inform the system what intents an application component is willing to accept.
Intents
Intent filters
Lifecycle callback methods
Serialize
24. Use this to draw text.
AsyncTask
Parser
Full power
drawText()
25. ______ are views derived from ViewGroup that provide a unique layout model for its child views
visible
Objects Activity lifecycle
Layouts
SurfaceHolder.Callback
26. It is called to invoke the search dialog on older devices.
onCreate() - onDestroy()
Emulator
XmlPullParser
onSearchRequested()
27. It made implementing an effective and user friendly share action in your ActionBar even easier.
XmlPullParser
ActionProvider
Google Play
onStop();
28. Android system uses a special virtual machine to run java based applicatons
ShareActionProvider
Advanced Training
OAuth2
Dalvik Virtual Machine
29. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
adb
Ducking
onDraw()
Full power
30. It is a free service for sending messages to Android devices.
OAuth2
virtual table
single-pane
Google Cloud Messaging (GCM)
31. This is an interface which is used to pass image data from the camera hardware to the application.
Serialize
SurfaceHolder.Callback
Account
View
32. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
OAuth2
AbstractAccountAuthenticator
<declare-styleable>
onCreate() - onDestroy()
33. A mode where navigation is set up with a spinner widget.
XmlPullParser
single-pane
Fragments
SQLite
34. This can be used to draw previews of what the camera sensor is picking up.
<declare-styleable>
SearchView
SurfaceView
onDraw()
35. This class is the basis for handling flywheel-style fling gestures.
Scroller
OAuth2
ViewStub
AndroidManifest.xml
36. Conversion of XML back to an object
HTTP
ACTION_DOCK_EVENT
Deserialize
BackupHelper
37. 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 ___ .
Google Cloud Messaging (GCM)
Stack
Activity
Back stack
38. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
OAuth2
authenticator class
isConnected()
BatteryManager
39. The dock-state details are included as an extra in a sticky broadcast of this action.
drawText()
Android SDK
ACTION_DOCK_EVENT
Component - screen
40. Shows the actual amount of memory the application uses
ACTION_DOCK_EVENT
onMeasure()
Application footprint
Activity
41. Converts XML Document to XML DOM
onDestroy();
NetworkInfo
Service Content Provider
Parser
42. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
Lifecycle callback methods
Open Handset Alliance
single-pane
onAudioFocusChange()
43. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
getInputStream()
drawBitmap()
Lifecycle callback methods
Emulator
44. This is a readable source of bytes.
android.hardware.touchscreen
Activity
ConnectivityManager
InputStream
45. Whenever the device is docked or undocked - this action is broadcast.
ACTION_DOCK_EVENT
PieChart
When the activity resumes
Application resources
46. These helpers are specialized classes for backing up certain kinds of data.
BackupHelper
ACTION_SEND
AudioManager
Back stack
47. This class exposes a number of methods for applications to receive location updates.
searchable configuration
LocationManager
ConnectivityManager
ETC1
48. 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?
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
AttributeSet
ConnectivityManager
Objects Activity lifecycle
49. Amode where the action bar is set up with tabs for navigation.
onStart() - onStop()
Standby
BatteryManager
dual-
50. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
OAuth2
Account
Entire
single-pane