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 includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Android SDK
ACTION_DOCK_EVENT
Dalvik Debug Monitor Server
Fragments
2. An open source stand alone database
Destroyed - previous
SQLite
Parser
SQLiteOpenHelper
3. Callback method: The activity is no longer visible.
onStop();
isConnected()
auth scope
Layouts
4. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
Google Cloud Messaging (GCM)
BroadcastReceiver
onResume();
dual-
5. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
authenticator class
onResume();
Layouts
onSearchRequested()
6. Whenever the device is docked or undocked - this action is broadcast.
PackageManager
Objects Activity lifecycle
ActionProvider
ACTION_DOCK_EVENT
7. This class is the basis for handling flywheel-style fling gestures.
touch
Scroller
SurfaceHolder.Callback
onPause();
8. Android system uses a special virtual machine to run java based applicatons
LocationManager
Scroller
SQLiteOpenHelper
Dalvik Virtual Machine
9. Use this to draw text.
drawText()
Parser
ViewStub
AccountAuthenticatorActivity
10. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
onCreate() - onDestroy()
Advanced Training
Objects Activity lifecycle
Google
11. This is the main class through which your application can access location services on Android.
auth scope
onPause();
LocationManager
ConnectivityManager
12. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
LTE
Dalvik Debug Monitor Server
onCreate() - onDestroy()
Canvas
13. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
Google Cloud Messaging for Android (GCM)
View
AudioManager
Widgets
14. 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
GestureDetector
LocationManager
Linux based
15. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
SQLite
Google Cloud Messaging (GCM)
onStop();
Scroller
16. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
android.hardware.touchscreen
LTE
HttpURLConnection
AccountAuthenticatorActivity
17. Where Android is currently primarily developed
EXTRA_STREAM
Open Handset Alliance
ViewStub
Google
18. It is a free service for sending messages to Android devices.
onResume();
getInputStream()
Stack - back stack
Google Cloud Messaging (GCM)
19. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
Dalvik Debug Monitor Server
When the activity resumes
Scroller
Ducking
20. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
setVolumeControlStream()
OAuth2
AccountAuthenticatorActivity
AudioManager
21. 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 _____
Back stack
dual-
onCreate() - onDestroy()
Deserialize
22. The dock-state details are included as an extra in a sticky broadcast of this action.
ACTION_DOCK_EVENT
ETC1
AsyncTask
Entire
23. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Stack - back stack
ViewStub
Parser
Google Cloud Messaging for Android (GCM)
24. This object contains an account name - which for Google accounts is an email address.
Account
onCreate() - onDestroy()
AsyncTask
Services
25. Conversion of an object to XML
onStart() - onStop()
SettingsActivity
Serialize
ACTION_DOCK_EVENT
26. This class exposes a number of methods for applications to receive location updates.
View
Linux based
LocationManager
Deserialize
27. It is called to invoke the search dialog on older devices.
BatteryManager
PieChart
onSearchRequested()
touch
28. 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
Dalvik Virtual Machine
Application footprint
Activity
29. This can be used to draw previews of what the camera sensor is picking up.
onMeasure()
Android SDK
onStop();
SurfaceView
30. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Google Play
Parser
Stack - back stack
Deserialize
31. The entire lifetime of an activity happens between the call to _____ and the call to _____
When the activity resumes
onResume();
onCreate() - onDestroy()
isConnected()
32. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
onAudioFocusChange()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Entire
SettingsActivity
33. It is a string that defines the specific type of access your app is asking for.
ConnectivityManager
auth scope
Back stack
Low power
34. This action is used in sending text content from one activity to another.
ACTION_SEND
ActionProvider
drawBitmap()
onStop();
35. It is used to load images in a background thread - then apply them to the UI once finished.
ACTION_DOCK_EVENT
onPause();
ViewStub
AsyncTask
36. Android is __________.
Linux based
Android SDK
ACTION_DOCK_EVENT
resolveSizeAndState()
37. In order to get a list of accounts on the device - your app needs this permission.
Implicit intent
View
Wi-Fi radio
GET_ACCOUNTS
38. To define custom attributes - add this resources to your project.
AsyncTask
onPause();
SurfaceView
<declare-styleable>
39. The most common way to define a layout using views is with an XML layout file saved in your ______
Application resources
inflate()
SQLiteOpenHelper
Activity
40. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
AbstractAccountAuthenticator
drawBitmap()
Services
onCreate() - onDestroy()
41. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
EXTRA_STREAM
Hierarchy Viewer
Back stack
getInputStream()
42. This is an interface which is used to pass image data from the camera hardware to the application.
SurfaceHolder.Callback
ETC1
LocationManager
ViewStub
43. You can set the layout as the UI for your activity with passing the resource ID for the layout.
Implicit intent
AttributeSet
setContentView
SearchView
44. Callback method: The activity has become visible.
Advanced Training
onResume();
Intent filters
Open Handset Alliance
45. Android request its permission using its ________
Application footprint
AndroidManifest.xml
Stack
LocationManager
46. For example - a ____ might be a button that initiates an action when the user touches it.
getInputStream()
View
SurfaceView
single-pane
47. On a rooted device - the credentials would be readable by anyone with this access to the device.
adb
Android SDK
OAuth2 protocol
AsyncTask
48. It is a subclass of PreferenceActivity.
SettingsActivity
Implicit intent
visible
ConnectivityManager
49. This includes tools to help you identify problems in your layout performance.
Android SDK
Standby
resolveSizeAndState()
Stack - back stack
50. Conversion of XML back to an object
Canvas
Deserialize
drawText()
onStop();