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. Callback method: The activity is no longer visible
onStop();
BroadcastReceiver
Standby
ETC1
2. For example - a ____ might be a button that initiates an action when the user touches it.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Dalvik Virtual Machine
View
Dalvik Debug Monitor Server
3. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Full power
BatteryManager
Intents
Stack - back stack
4. Necessary tools to develop Android applications
BatteryManager
Services
Service Content Provider
Android SDK
5. 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?
AttributeSet
drawBitmap()
Widgets
Dots per inch
6. The most common way to define a layout using views is with an XML layout file saved in your ______
XmlPullParser
Application resources
setVolumeControlStream()
Canvas
7. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
LTE
Intents
ACTION_DOCK_EVENT
Activity
8. It is a set of rules for encoding documents in machine-readable form.
Standby
Extensible Markup Language (XML)
EXTRA_STREAM
ETC1
9. It is called to invoke the search dialog on older devices.
inflate()
Explicit intent
Google Play
onSearchRequested()
10. Perform background tasks without providing a user interface
Services
Activity
onStop();
Objects Activity lifecycle
11. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
single-pane
onAudioFocusChange()
Geocoder
onCreate() - onDestroy()
12. The dock-state details are included as an extra in a sticky broadcast of this action.
ACTION_DOCK_EVENT
ETC1
drawBitmap()
ViewStub
13. 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
Scroller
OnCurrentItemChanged
Destroyed - previous
14. 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.
onCreate() - onDestroy()
Intents
ETC1
getInputStream()
15. If permissions are missing - the application will get this at runtime.
HTTP
ACTION_DOCK_EVENT
Intent filters
SecurityException
16. A mode where navigation is set up with a spinner widget.
View
single-pane
Paint
onCreate() - onDestroy()
17. Allow to combine loosely coupled components to perform certain tasks
<declare-styleable>
Application resources
Dots per inch
Intents
18. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Stack - back stack
Layouts
Google Cloud Messaging for Android (GCM)
Objects Activity lifecycle
19. Relative to pixels and resolution screen
SurfaceView
GestureDetector
isConnected()
Dots per inch
20. This is an interface which is used to pass image data from the camera hardware to the application.
onCreate();
Canvas
Dots per inch
SurfaceHolder.Callback
21. This is used to fetch the account names that the user has stored on their device.
Low power
auth scope
onResume();
Account Manager
22. This can be used to draw previews of what the camera sensor is picking up.
SurfaceView
AccountAuthenticatorActivity
Application resources
Google Cloud Messaging for Android (GCM)
23. This object contains an account name - which for Google accounts is an email address.
Account
onResume();
AttributeSet
Ducking
24. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
AsyncTask
OnCurrentItemChanged
resolveSizeAndState()
Activity
25. 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
Deserialize
Stack
Destroyed - previous
onStop();
26. Use this to draw bitmaps.
Linux based
drawBitmap()
Dots per inch
touch
27. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Open Handset Alliance
Service Content Provider
Deserialize
Dalvik Debug Monitor Server
28. This class is the basis for handling flywheel-style fling gestures.
Scroller
Activity
visible
onStop();
29. When a new activity starts - it is pushed onto the ____ and takes user focus.
Entire
Back stack
Activity
ETC1
30. Android provides this handy method to direct volume key presses to the audio stream the user specify.
onStart() - onStop()
isConnected()
setVolumeControlStream()
Google Play
31. It is used to load images in a background thread - then apply them to the UI once finished.
onStart() - onStop()
Google Cloud Messaging for Android (GCM)
AsyncTask
Linux based
32. The entire lifetime of an activity happens between the call to _____ and the call to _____
Scroller
Parser
onCreate() - onDestroy()
Google Play
33. Android system uses a special virtual machine to run java based applicatons
Stack
Dalvik Virtual Machine
drawBitmap()
Scroller
34. 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.
AccountAuthenticatorActivity
Android SDK
AndroidManifest.xml
Ducking
35. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
SQLite
AccountAuthenticatorActivity
XmlPullParser
Open Handset Alliance
36. Whenever the device is docked or undocked - this action is broadcast.
Account
Google Play
Intents
ACTION_DOCK_EVENT
37. The helper method is used to create the final width and height values.
HttpURLConnection
EXTRA_STREAM
Application resources
resolveSizeAndState()
38. An open source group led by Google
BatteryManager
Open Handset Alliance
Google
ValueAnimator
39. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
Explicit intent
visible
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
GET_ACCOUNTS
40. An intermediate state that uses around 50% of the battery power at the full state.
Low power
Entire
Emulator
searchable configuration
41. It is an efficient and maintainable way to parse XML on Android.
Wi-Fi radio
AbstractAccountAuthenticator
XmlPullParser
ConnectivityManager
42. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
AccountAuthenticatorActivity
XmlPullParser
security sandbox
Advanced Training
43. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Google Cloud Messaging for Android (GCM)
LocationManager
Full power
ValueAnimator
44. Where Android is currently primarily developed
Advanced Training
LTE
Google
LocationManager
45. Binary data is shared using the ACTION_SEND action combined with setting the appropriate MIME type and placing the URI to the data in an extra named called?
SurfaceHolder.Callback
Dots per inch
EXTRA_STREAM
XmlPullParser
46. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
onCreate() - onDestroy()
AsyncTask
Account Manager
Deserialize
47. This is used to register and de-register your media button event receiver.
single-pane
EXTRA_STREAM
AudioManager
Ducking
48. This widget as an item in the action bar is the preferred way to provide search in your app.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Stack
SearchView
Google Cloud Messaging (GCM)
49. This is the simplest way to monitor device state changes.
OAuth2
BroadcastReceiver
Activity
Activity
50. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
security sandbox
SQLiteOpenHelper
Activity
Canvas