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 ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Account Manager
Explicit intent
Entire
Activity
2. An open source stand alone database
SQLite
AttributeSet
searchable configuration
Wi-Fi radio
3. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
When the activity resumes
ViewStub
Application footprint
Account Manager
4. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
BackupHelper
LTE
ETC1
Serialize
5. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Dalvik Debug Monitor Server
ACTION_DOCK_EVENT
SQLiteOpenHelper
Scroller
6. Necessary tools to develop Android applications
ACTION_DOCK_EVENT
AudioManager
Android SDK
Back stack
7. This object contains an account name - which for Google accounts is an email address.
onStop();
Application footprint
Service Content Provider
Account
8. A service in which programmers can offer their Android application to Android users.
Entire
Service Content Provider
Google Play
Fragments
9. On a rooted device - the credentials would be readable by anyone with this access to the device.
BackupHelper
adb
drawText()
AttributeSet
10. Theseare a key part of Android applications that directly affect the user experience.
Low power
Layouts
Lifecycle callback methods
LocationManager
11. Converts XML Document to XML DOM
ACTION_SEND
Parser
Account
GET_ACCOUNTS
12. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
AccountAuthenticatorActivity
When the activity resumes
LTE
SQLiteOpenHelper
13. It is used to load images in a background thread - then apply them to the UI once finished.
GestureDetector
AsyncTask
resolveSizeAndState()
PieChart
14. The visible lifetime of an activity happens between the call to ____ and the call to ______
onStart() - onStop()
GestureDetector
auth scope
Deserialize
15. This provides methods to define line's color - whether to fill a rectangle with a color or leave it empty - and defines the color - style - font - and so forth of each shape you draw.
Paint
LTE
Implicit intent
drawText()
16. Whenever the device is docked or undocked - this action is broadcast.
ActionProvider
drawBitmap()
Component - screen
ACTION_DOCK_EVENT
17. It inform the system what intents an application component is willing to accept.
Intent filters
AsyncTask
SQLiteOpenHelper
ValueAnimator
18. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Wi-Fi radio
onCreate() - onDestroy()
Open Handset Alliance
setVolumeControlStream()
19. This is used to register and de-register your media button event receiver.
dual-
AudioManager
Ducking
EXTRA_STREAM
20. Conversion of an object to XML
Deserialize
Serialize
Advanced Training
Layouts
21. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
ConnectivityManager
AccountAuthenticatorActivity
Full power
Account
22. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
adb
onStart() - onStop()
drawText()
onAudioFocusChange()
23. It made implementing an effective and user friendly share action in your ActionBar even easier.
Explicit intent
ActionProvider
Google Cloud Messaging (GCM)
EXTRA_STREAM
24. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
ViewStub
Advanced Training
Stack - back stack
Services
25. It provides a simple way to perform your work outside the main thread.
ConnectivityManager
onSearchRequested()
AsyncTask
adb
26. Android system uses a special virtual machine to run java based applicatons
AndroidManifest.xml
auth scope
Dalvik Virtual Machine
BroadcastReceiver
27. It's generally a good idea for one of your APKs to support this texture format as it is supported by all Android-powered devices that support the OpenGL ES 2.0 spec.
BroadcastReceiver
authenticator class
Activity
ETC1
28. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
ConnectivityManager
Services
Google Cloud Messaging for Android (GCM)
Advanced Training
29. This can be used to draw previews of what the camera sensor is picking up.
SurfaceView
ACTION_SEND
Dalvik Debug Monitor Server
AudioManager
30. Callback method: The activity is no longer visible
onStop();
SurfaceHolder.Callback
Ducking
AttributeSet
31. 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
setContentView
Scroller
onSearchRequested()
32. Direct component call in Android
Explicit intent
inflate()
Open Handset Alliance
Emulator
33. It is a subclass of PreferenceActivity.
AbstractAccountAuthenticator
AsyncTask
Google
SettingsActivity
34. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
LocationManager
ConnectivityManager
onCreate() - onDestroy()
SQLite
35. This is used to fetch the account names that the user has stored on their device.
Account Manager
Account
AsyncTask
onStart() - onStop()
36. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
NetworkInfo
onCreate() - onDestroy()
Stack
Lifecycle callback methods
37. When a new activity starts - it is pushed onto the ____ and takes user focus.
Layouts
Back stack
onCreate();
AbstractAccountAuthenticator
38. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
OAuth2 protocol
SQLite
visible
Layouts
39. For example - a ____ might be a button that initiates an action when the user touches it.
SecurityException
View
Intent filters
Canvas
40. 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 ___ .
Intent filters
Stack
Activity
Google Cloud Messaging (GCM)
41. An intermediate state that uses around 50% of the battery power at the full state.
Low power
Scroller
setContentView
getInputStream()
42. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Objects Activity lifecycle
LocationManager
Stack - back stack
onAudioFocusChange()
43. It is an efficient and maintainable way to parse XML on Android.
authenticator class
AbstractAccountAuthenticator
XmlPullParser
onResume();
44. 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
AudioManager
NetworkInfo
onCreate();
45. Shows the actual amount of memory the application uses
Serialize
Dots per inch
AccountAuthenticatorActivity
Application footprint
46. 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 _____
ViewStub
onCreate() - onDestroy()
SearchView
ETC1
47. The industry standard way to deal with authentication to third-party services.
AndroidManifest.xml
OAuth2 protocol
Service Content Provider
Scroller
48. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Account
Paint
SecurityException
Canvas
49. Where Android is currently primarily developed
Account
Google
View
AbstractAccountAuthenticator
50. This is used to check that you're actually connected to the Internet and what type of connection is in place.
Open Handset Alliance
Scroller
getInputStream()
ConnectivityManager