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 class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
ETC1
SQLiteOpenHelper
BatteryManager
Destroyed - previous
2. Shows the actual amount of memory the application uses
onStop();
PackageManager
Google Cloud Messaging for Android (GCM)
Application footprint
3. This can be used to draw previews of what the camera sensor is picking up.
Canvas
AudioManager
HTTP
SurfaceView
4. The dock-state details are included as an extra in a sticky broadcast of this action.
onStop();
LTE
ACTION_DOCK_EVENT
AsyncTask
5. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
SQLiteOpenHelper
Google Cloud Messaging for Android (GCM)
ValueAnimator
authenticator class
6. It is a string that defines the specific type of access your app is asking for.
auth scope
GET_ACCOUNTS
PieChart
Dots per inch
7. The helper method is used to create the final width and height values.
onCreate() - onDestroy()
resolveSizeAndState()
Intent filters
authenticator class
8. Conversion of XML back to an object
Stack - back stack
authenticator class
Deserialize
PackageManager
9. It inform the system what intents an application component is willing to accept.
When the activity resumes
Stack - back stack
BatteryManager
Intent filters
10. 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 ___ .
SurfaceHolder.Callback
Stack
BatteryManager
ValueAnimator
11. On a rooted device - the credentials would be readable by anyone with this access to the device.
onMeasure()
Paint
onStop();
adb
12. This is an interface which is used to pass image data from the camera hardware to the application.
SurfaceHolder.Callback
AsyncTask
Google Play
Paint
13. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Deserialize
Lifecycle callback methods
SearchView
LocationManager
14. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
onAudioFocusChange()
security sandbox
PieChart
15. This is the most common input event in the Android system.
ValueAnimator
Dots per inch
Ducking
touch
16. The entire lifetime of an activity happens between the call to _____ and the call to _____
SurfaceHolder.Callback
onCreate() - onDestroy()
ValueAnimator
ShareActionProvider
17. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Full power
Fragments
SurfaceView
Explicit intent
18. It doesn't currently support the <merge/> tag in the layouts to be inflated.
SettingsActivity
ViewStub
onMeasure()
Paint
19. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Objects Activity lifecycle
Widgets
SQLite
PieChart
20. An open source stand alone database
AndroidManifest.xml
Emulator
SQLite
SQLiteOpenHelper
21. A service in which programmers can offer their Android application to Android users.
Google Cloud Messaging for Android (GCM)
Activity
Google Play
Dalvik Virtual Machine
22. 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.
ETC1
onSearchRequested()
AsyncTask
onDraw()
23. It is a set of rules for encoding documents in machine-readable form.
Extensible Markup Language (XML)
Standby
HttpURLConnection
Scroller
24. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
XmlPullParser
HttpURLConnection
Dots per inch
onCreate();
25. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
When the activity resumes
AbstractAccountAuthenticator
dual-
GestureDetector
26. To create an activity - you must create a subclass of
Activity
touch
XmlPullParser
SettingsActivity
27. Callback method: Another activity is taking focus
Extensible Markup Language (XML)
onPause();
SearchView
SurfaceHolder.Callback
28. This broadcasts an action whenever the device is connected or disconnected from power.
onCreate() - onDestroy()
XmlPullParser
Application resources
BatteryManager
29. This is used to register and de-register your media button event receiver.
BackupHelper
onStop();
ViewStub
AudioManager
30. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
drawBitmap()
drawText()
ViewStub
NetworkInfo
31. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
Dots per inch
Linux based
Google Cloud Messaging (GCM)
BroadcastReceiver
32. An _______ is an application component that provides a screen 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.
Google Cloud Messaging for Android (GCM)
onCreate() - onDestroy()
Paint
Activity
33. You can set the layout as the UI for your activity with passing the resource ID for the layout.
Canvas
onStop();
Activity
setContentView
34. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
AudioManager
LTE
Fragments
AsyncTask
35. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
Destroyed - previous
Scroller
Extensible Markup Language (XML)
ViewStub
36. A styleable entity that contains these two custom attributes: showText and labelPosition.
HttpURLConnection
PieChart
onSearchRequested()
Ducking
37. Represents the visual representation of an Android application
Android SDK
Activity
GestureDetector
Account
38. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Paint
Activity
AudioManager
Wi-Fi radio
39. This class exposes a number of methods for applications to receive location updates.
Account
LocationManager
SurfaceHolder.Callback
Fragments
40. Android provides this handy method to direct volume key presses to the audio stream the user specify.
setVolumeControlStream()
Emulator
SurfaceHolder.Callback
Android SDK
41. Use this to draw bitmaps.
drawBitmap()
Fragments
Objects Activity lifecycle
BackupHelper
42. 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?
Stack
AttributeSet
HttpURLConnection
Lifecycle callback methods
43. 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 _____
onCreate() - onDestroy()
PackageManager
GestureDetector
authenticator class
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
Canvas
PackageManager
Ducking
Activity
45. For example - a ____ might be a button that initiates an action when the user touches it.
View
ETC1
onStop();
BatteryManager
46. It is a free service for sending messages to Android devices.
Google Cloud Messaging (GCM)
onStart() - onStop()
setContentView
LocationManager
47. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
AccountAuthenticatorActivity
ACTION_DOCK_EVENT
Application footprint
OAuth2
48. To define custom attributes - add this resources to your project.
searchable configuration
Dalvik Debug Monitor Server
<declare-styleable>
BroadcastReceiver
49. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
ActionProvider
onDestroy();
Standby
authenticator class
50. This is a readable source of bytes.
InputStream
Fragments
Entire
visible