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. An intermediate state that uses around 50% of the battery power at the full state.
Paint
visible
Low power
LTE
2. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
Activity
Parser
AudioManager
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
3. The most common way to define a layout using views is with an XML layout file saved in your ______
Services
XmlPullParser
Application resources
Geocoder
4. This is used to check that you're actually connected to the Internet and what type of connection is in place.
Services
ConnectivityManager
Back stack
ACTION_SEND
5. Android is __________.
Google
Entire
Back stack
Linux based
6. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
onDraw()
Intents
View
XmlPullParser
7. This is an interface which is used to pass image data from the camera hardware to the application.
NetworkInfo
SurfaceHolder.Callback
AsyncTask
Activity
8. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Widgets
touch
Dalvik Virtual Machine
onStop();
9. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
SQLiteOpenHelper
GET_ACCOUNTS
Ducking
Scroller
10. Callback method: The activity is no longer visible
GET_ACCOUNTS
onStop();
visible
View
11. The minimal energy state during which no network connection is active or required.
BroadcastReceiver
Standby
Open Handset Alliance
ACTION_DOCK_EVENT
12. Evaluation of registered components
BroadcastReceiver
onDestroy();
Implicit intent
Stack
13. These helpers are specialized classes for backing up certain kinds of data.
Implicit intent
Lifecycle callback methods
BackupHelper
Activity
14. This widget as an item in the action bar is the preferred way to provide search in your app.
Dalvik Debug Monitor Server
SearchView
virtual table
SQLite
15. Once installed on a device - each Android application lives in its own ______
Full power
ViewStub
AttributeSet
security sandbox
16. This is used to register and de-register your media button event receiver.
ACTION_SEND
security sandbox
AudioManager
Intents
17. It is called to invoke the search dialog on older devices.
Back stack
onSearchRequested()
onPause();
ConnectivityManager
18. When a new activity starts - it is pushed onto the ____ and takes user focus.
Back stack
Linux based
onCreate() - onDestroy()
Intent filters
19. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
BatteryManager
GestureDetector
AsyncTask
Lifecycle callback methods
20. Theseare a key part of Android applications that directly affect the user experience.
ShareActionProvider
LTE
Widgets
Layouts
21. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Advanced Training
getInputStream()
Extensible Markup Language (XML)
Stack
22. It made implementing an effective and user friendly share action in your ActionBar even easier.
LocationManager
Stack
ActionProvider
Layouts
23. Callback method: The activity is about to be destroyed.
onDestroy();
Linux based
Scroller
AsyncTask
24. This object contains an account name - which for Google accounts is an email address.
Account
LocationManager
ViewStub
onPause();
25. Relative to pixels and resolution screen
SearchView
Google
Dots per inch
Layouts
26. 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 ___ .
Geocoder
ViewStub
ActionProvider
Stack
27. Callback method: The activity is being created.
onResume();
Paint
AsyncTask
onCreate();
28. This is the most common input event in the Android system.
onCreate() - onDestroy()
touch
OAuth2 protocol
Linux based
29. In order to get a list of accounts on the device - your app needs this permission.
GET_ACCOUNTS
onStop();
AsyncTask
ActionProvider
30. Converts XML Document to XML DOM
ETC1
Parser
Layouts
adb
31. This action is used in sending text content from one activity to another.
drawText()
BatteryManager
AudioManager
ACTION_SEND
32. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
SurfaceView
Low power
ConnectivityManager
onAudioFocusChange()
33. Android provides this handy method to direct volume key presses to the audio stream the user specify.
Dalvik Virtual Machine
Service Content Provider
setVolumeControlStream()
onMeasure()
34. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Intents
android.hardware.touchscreen
SearchView
Entire
35. Callback method: The activity is no longer visible.
Intent filters
onStop();
adb
Geocoder
36. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Account
Full power
Scroller
Dalvik Virtual Machine
37. Direct component call in Android
Explicit intent
Ducking
drawText()
BroadcastReceiver
38. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Advanced Training
Fragments
Entire
onSearchRequested()
39. 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
virtual table
Google Play
HTTP
40. 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.
Deserialize
Intents
Paint
SecurityException
41. 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.
virtual table
InputStream
ETC1
Parser
42. It is an efficient and maintainable way to parse XML on Android.
getInputStream()
XmlPullParser
Activity
AudioManager
43. 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.
Intents
auth scope
GET_ACCOUNTS
Ducking
44. The helper method is used to create the final width and height values.
Dots per inch
resolveSizeAndState()
Android SDK
AccountAuthenticatorActivity
45. On a rooted device - the credentials would be readable by anyone with this access to the device.
ValueAnimator
onStop();
adb
ACTION_DOCK_EVENT
46. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
ViewStub
Geocoder
AsyncTask
BatteryManager
47. Amode where the action bar is set up with tabs for navigation.
Dots per inch
NetworkInfo
dual-
Activity
48. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
ValueAnimator
When the activity resumes
Low power
onCreate() - onDestroy()
49. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
Objects Activity lifecycle
searchable configuration
AbstractAccountAuthenticator
Deserialize
50. 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?
AudioManager
AccountAuthenticatorActivity
AttributeSet
Canvas