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. On a rooted device - the credentials would be readable by anyone with this access to the device.
adb
Dalvik Debug Monitor Server
AudioManager
AttributeSet
2. Use this to draw bitmaps.
Explicit intent
dual-
Entire
drawBitmap()
3. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
onStop();
Deserialize
visible
InputStream
4. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Canvas
Intents
LocationManager
dual-
5. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
ViewStub
Scroller
BroadcastReceiver
AsyncTask
6. Callback method: The activity is no longer visible
onStop();
SurfaceHolder.Callback
SecurityException
LocationManager
7. It is a string that defines the specific type of access your app is asking for.
onCreate() - onDestroy()
HTTP
auth scope
Standby
8. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Application resources
Explicit intent
Layouts
onSearchRequested()
9. Android provides this handy method to direct volume key presses to the audio stream the user specify.
Google Cloud Messaging for Android (GCM)
setVolumeControlStream()
Google Play
security sandbox
10. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
Extensible Markup Language (XML)
auth scope
PackageManager
getInputStream()
11. Android request its permission using its ________
setContentView
AndroidManifest.xml
AsyncTask
AttributeSet
12. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Dalvik Debug Monitor Server
Paint
ValueAnimator
Advanced Training
13. 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.
Activity
LocationManager
Application resources
Layouts
14. is run when running Android on the pc
ActionProvider
Component - screen
XmlPullParser
Emulator
15. Use this to draw text.
SearchView
Entire
drawText()
InputStream
16. This is a readable source of bytes.
ShareActionProvider
ACTION_DOCK_EVENT
Canvas
InputStream
17. Shows the actual amount of memory the application uses
Application footprint
BroadcastReceiver
OnCurrentItemChanged
Extensible Markup Language (XML)
18. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Deserialize
Google Cloud Messaging for Android (GCM)
security sandbox
View
19. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Hierarchy Viewer
Account
Activity
LocationManager
20. The helper method is used to create the final width and height values.
Scroller
resolveSizeAndState()
SurfaceHolder.Callback
onDraw()
21. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
onCreate() - onDestroy()
ConnectivityManager
AttributeSet
onCreate() - onDestroy()
22. It is a subclass of PreferenceActivity.
SettingsActivity
BroadcastReceiver
ETC1
SQLiteOpenHelper
23. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
HttpURLConnection
When the activity resumes
virtual table
onResume();
24. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
Objects Activity lifecycle
drawText()
AccountAuthenticatorActivity
onCreate() - onDestroy()
25. Most network-connected Android apps use this to send and receive data.
onSearchRequested()
inflate()
android.hardware.touchscreen
HTTP
26. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
HTTP
ViewStub
SQLiteOpenHelper
Layouts
27. Sharing of data in Android is done via________
Service Content Provider
PackageManager
Services
resolveSizeAndState()
28. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
LTE
Dots per inch
onAudioFocusChange()
ACTION_DOCK_EVENT
29. A styleable entity that contains these two custom attributes: showText and labelPosition.
PieChart
Activity
Services
Android SDK
30. Relative to pixels and resolution screen
Scroller
security sandbox
Dots per inch
Widgets
31. Evaluation of registered components
Implicit intent
Intents
Component - screen
BatteryManager
32. Converts XML Document to XML DOM
Parser
Dalvik Debug Monitor Server
Google Play
ViewStub
33. In order to get a list of accounts on the device - your app needs this permission.
PieChart
Services
GET_ACCOUNTS
Android SDK
34. This can be used to draw previews of what the camera sensor is picking up.
Android SDK
Stack - back stack
SurfaceView
Geocoder
35. For example - a ____ might be a button that initiates an action when the user touches it.
AudioManager
Activity
ViewStub
View
36. This widget as an item in the action bar is the preferred way to provide search in your app.
inflate()
Objects Activity lifecycle
AndroidManifest.xml
SearchView
37. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Activity
Dots per inch
Entire
Application footprint
38. A mode where navigation is set up with a spinner widget.
AccountAuthenticatorActivity
auth scope
single-pane
resolveSizeAndState()
39. An open source group led by Google
Google Cloud Messaging (GCM)
NetworkInfo
onSearchRequested()
Open Handset Alliance
40. 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
SQLite
NetworkInfo
onStop();
41. Direct component call in Android
Paint
Android SDK
Explicit intent
Scroller
42. It made implementing an effective and user friendly share action in your ActionBar even easier.
Scroller
drawText()
ActionProvider
Lifecycle callback methods
43. This class exposes a number of methods for applications to receive location updates.
Dots per inch
Activity
LocationManager
PieChart
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
ViewStub
PackageManager
Extensible Markup Language (XML)
Dalvik Virtual Machine
45. It provides a simple way to perform your work outside the main thread.
Intent filters
Dalvik Virtual Machine
AudioManager
AsyncTask
46. To create an activity - you must create a subclass of
Activity
onDraw()
ViewStub
AsyncTask
47. Where Android is currently primarily developed
ViewStub
SecurityException
SearchView
Google
48. Conversion of XML back to an object
Canvas
Deserialize
Activity
LocationManager
49. The most common way to define a layout using views is with an XML layout file saved in your ______
Linux based
Application resources
onCreate();
Dalvik Virtual Machine
50. This is an interface which is used to pass image data from the camera hardware to the application.
SurfaceHolder.Callback
Stack
touch
Low power