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. You can set the layout as the UI for your activity with passing the resource ID for the layout.
Dalvik Virtual Machine
getInputStream()
ShareActionProvider
setContentView
2. Shows the actual amount of memory the application uses
BroadcastReceiver
Application footprint
onStop();
drawBitmap()
3. Callback method: The activity has become visible.
AsyncTask
onResume();
drawBitmap()
AsyncTask
4. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Geocoder
AbstractAccountAuthenticator
ConnectivityManager
BroadcastReceiver
5. It is an efficient and maintainable way to parse XML on Android.
ViewStub
XmlPullParser
Google Cloud Messaging (GCM)
Component - screen
6. Relative to pixels and resolution screen
Account
Dots per inch
ActionProvider
inflate()
7. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
onCreate();
Stack
BatteryManager
Widgets
8. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
onAudioFocusChange()
Scroller
AndroidManifest.xml
PieChart
9. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
When the activity resumes
<declare-styleable>
ActionProvider
authenticator class
10. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
searchable configuration
AudioManager
BroadcastReceiver
AttributeSet
11. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Hierarchy Viewer
Google Cloud Messaging (GCM)
Fragments
Entire
12. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
HttpURLConnection
SecurityException
LTE
drawText()
13. The dock-state details are included as an extra in a sticky broadcast of this action.
Activity
ACTION_DOCK_EVENT
Google Cloud Messaging for Android (GCM)
GET_ACCOUNTS
14. Converts XML Document to XML DOM
ValueAnimator
Low power
Account Manager
Parser
15. It is called to invoke the search dialog on older devices.
ViewStub
When the activity resumes
onSearchRequested()
ShareActionProvider
16. This is used to fetch the account names that the user has stored on their device.
<declare-styleable>
Wi-Fi radio
Account Manager
visible
17. This is used to register and de-register your media button event receiver.
AudioManager
Account Manager
Google Cloud Messaging (GCM)
android.hardware.touchscreen
18. This is used to convert raw touch events into gestures.
GestureDetector
Hierarchy Viewer
getInputStream()
onStop();
19. The minimal energy state during which no network connection is active or required.
onSearchRequested()
OAuth2 protocol
Service Content Provider
Standby
20. This is the most common input event in the Android system.
drawText()
Low power
getInputStream()
touch
21. Most network-connected Android apps use this to send and receive data.
Scroller
ConnectivityManager
HTTP
SecurityException
22. 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?
onAudioFocusChange()
SQLiteOpenHelper
ACTION_DOCK_EVENT
EXTRA_STREAM
23. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
AttributeSet
ConnectivityManager
Dalvik Debug Monitor Server
SQLite
24. It is a free service for sending messages to Android devices.
Google Cloud Messaging (GCM)
AsyncTask
SQLiteOpenHelper
AsyncTask
25. An open source group led by Google
ActionProvider
Open Handset Alliance
Standby
Extensible Markup Language (XML)
26. Callback method: The activity is no longer visible
Component - screen
SettingsActivity
onStop();
AsyncTask
27. The entire lifetime of an activity happens between the call to _____ and the call to _____
onCreate() - onDestroy()
Dalvik Debug Monitor Server
inflate()
drawText()
28. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
Services
When the activity resumes
Android SDK
View
29. This class is the basis for handling flywheel-style fling gestures.
onPause();
ViewStub
onAudioFocusChange()
Scroller
30. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Service Content Provider
View
Google Cloud Messaging for Android (GCM)
Geocoder
31. Sharing of data in Android is done via________
Service Content Provider
EXTRA_STREAM
ConnectivityManager
ViewStub
32. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
Dots per inch
BatteryManager
getInputStream()
virtual table
33. This class exposes a number of methods for applications to receive location updates.
<declare-styleable>
SurfaceHolder.Callback
LocationManager
onMeasure()
34. In order to get a list of accounts on the device - your app needs this permission.
LTE
BatteryManager
GET_ACCOUNTS
Wi-Fi radio
35. To create an activity - you must create a subclass of
Services
Activity
NetworkInfo
inflate()
36. To define custom attributes - add this resources to your project.
BatteryManager
Linux based
<declare-styleable>
Objects Activity lifecycle
37. It is a set of rules for encoding documents in machine-readable form.
authenticator class
ValueAnimator
Extensible Markup Language (XML)
Stack - back stack
38. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
SQLite
Entire
PieChart
touch
39. This broadcasts an action whenever the device is connected or disconnected from power.
HttpURLConnection
auth scope
onStop();
BatteryManager
40. 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 _____
ActionProvider
Services
onCreate() - onDestroy()
Advanced Training
41. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
Parser
SQLiteOpenHelper
ViewStub
NetworkInfo
42. Theseare a key part of Android applications that directly affect the user experience.
Extensible Markup Language (XML)
Layouts
AsyncTask
Dalvik Virtual Machine
43. This action is used in sending text content from one activity to another.
Activity
Objects Activity lifecycle
ActionProvider
ACTION_SEND
44. This is used for the need of finer control over your view's layout parameters.
onMeasure()
onCreate() - onDestroy()
Layouts
Application footprint
45. Android system uses a special virtual machine to run java based applicatons
Dalvik Virtual Machine
ViewStub
AudioManager
ValueAnimator
46. Conversion of XML back to an object
SearchView
Deserialize
ActionProvider
Scroller
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
Ducking
onCreate();
AsyncTask
48. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
SearchView
onCreate() - onDestroy()
single-pane
searchable configuration
49. is run when running Android on the pc
Parser
<declare-styleable>
Emulator
authenticator class
50. This can be used to draw previews of what the camera sensor is picking up.
SurfaceView
Dalvik Virtual Machine
onCreate() - onDestroy()
setContentView