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. Amode where the action bar is set up with tabs for navigation.
Google Play
Back stack
dual-
Serialize
2. 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
ValueAnimator
inflate()
GET_ACCOUNTS
3. Most network-connected Android apps use this to send and receive data.
Full power
SettingsActivity
HTTP
LTE
4. Android request its permission using its ________
Parser
SQLiteOpenHelper
Layouts
AndroidManifest.xml
5. It is a subclass of PreferenceActivity.
SettingsActivity
AsyncTask
ACTION_DOCK_EVENT
EXTRA_STREAM
6. Android system uses a special virtual machine to run java based applicatons
AccountAuthenticatorActivity
LocationManager
HttpURLConnection
Dalvik Virtual Machine
7. Necessary tools to develop Android applications
LTE
Extensible Markup Language (XML)
Android SDK
onSearchRequested()
8. Use this to draw text.
PackageManager
onCreate() - onDestroy()
drawText()
OAuth2
9. Evaluation of registered components
OAuth2 protocol
Implicit intent
virtual table
GestureDetector
10. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
ETC1
LocationManager
visible
AndroidManifest.xml
11. This can be used to draw previews of what the camera sensor is picking up.
onStop();
onAudioFocusChange()
SurfaceView
Google
12. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
OAuth2
Google Cloud Messaging for Android (GCM)
SQLiteOpenHelper
onCreate() - onDestroy()
13. Callback method: The activity is no longer visible.
Entire
onStop();
Google Cloud Messaging for Android (GCM)
SurfaceHolder.Callback
14. This class is the basis for handling flywheel-style fling gestures.
Scroller
adb
Objects Activity lifecycle
GET_ACCOUNTS
15. It is an efficient and maintainable way to parse XML on Android.
Google Play
EXTRA_STREAM
ViewStub
XmlPullParser
16. 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.
Ducking
Open Handset Alliance
When the activity resumes
ConnectivityManager
17. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Activity
Canvas
View
OnCurrentItemChanged
18. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
drawBitmap()
InputStream
onCreate() - onDestroy()
dual-
19. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
BatteryManager
isConnected()
AccountAuthenticatorActivity
Linux based
20. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
AudioManager
Service Content Provider
When the activity resumes
SettingsActivity
21. Android provides this handy method to direct volume key presses to the audio stream the user specify.
Extensible Markup Language (XML)
setVolumeControlStream()
onMeasure()
Wi-Fi radio
22. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
HTTP
ActionProvider
BroadcastReceiver
Fragments
23. Represents the visual representation of an Android application
LTE
View
drawText()
Activity
24. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Low power
Lifecycle callback methods
onCreate() - onDestroy()
Implicit intent
25. 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 _____
AbstractAccountAuthenticator
onCreate() - onDestroy()
LocationManager
Destroyed - previous
26. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
XmlPullParser
Android SDK
GET_ACCOUNTS
SQLiteOpenHelper
27. Callback method: Another activity is taking focus
onStop();
onPause();
single-pane
Standby
28. 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
getInputStream()
Component - screen
drawBitmap()
Parser
29. The industry standard way to deal with authentication to third-party services.
OAuth2 protocol
Hierarchy Viewer
security sandbox
Google
30. For example - a ____ might be a button that initiates an action when the user touches it.
PackageManager
AndroidManifest.xml
View
Stack - back stack
31. This is used to convert raw touch events into gestures.
Component - screen
GestureDetector
android.hardware.touchscreen
Activity
32. This is used for the need of finer control over your view's layout parameters.
SearchView
AsyncTask
LTE
onMeasure()
33. Callback method: The activity is being created.
Low power
Wi-Fi radio
onCreate();
visible
34. ______ are views derived from ViewGroup that provide a unique layout model for its child views
ACTION_DOCK_EVENT
onCreate() - onDestroy()
Layouts
Activity
35. These helpers are specialized classes for backing up certain kinds of data.
onCreate() - onDestroy()
Intents
BackupHelper
Emulator
36. Theseare a key part of Android applications that directly affect the user experience.
onSearchRequested()
When the activity resumes
Layouts
ACTION_DOCK_EVENT
37. The dock-state details are included as an extra in a sticky broadcast of this action.
ACTION_DOCK_EVENT
Serialize
Services
Google
38. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
AsyncTask
Back stack
AbstractAccountAuthenticator
Serialize
39. Relative to pixels and resolution screen
Hierarchy Viewer
Dots per inch
BatteryManager
ConnectivityManager
40. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
SearchView
ConnectivityManager
Dalvik Debug Monitor Server
Stack
41. An intermediate state that uses around 50% of the battery power at the full state.
HTTP
BroadcastReceiver
Low power
Lifecycle callback methods
42. This action is used in sending text content from one activity to another.
security sandbox
ACTION_SEND
virtual table
visible
43. Once installed on a device - each Android application lives in its own ______
Deserialize
Objects Activity lifecycle
SurfaceHolder.Callback
security sandbox
44. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
Scroller
Ducking
ValueAnimator
authenticator class
45. Converts XML Document to XML DOM
HttpURLConnection
XmlPullParser
BatteryManager
Parser
46. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
drawText()
PackageManager
HTTP
Stack - back stack
47. Whenever the device is docked or undocked - this action is broadcast.
ACTION_DOCK_EVENT
Application resources
BackupHelper
Deserialize
48. This is used to register and de-register your media button event receiver.
AudioManager
Android SDK
onMeasure()
onStart() - onStop()
49. It inform the system what intents an application component is willing to accept.
Parser
View
Google Play
Intent filters
50. An open source stand alone database
AttributeSet
Component - screen
onStop();
SQLite