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 defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
SecurityException
searchable configuration
Google
Account Manager
2. This class exposes a number of methods for applications to receive location updates.
Emulator
LocationManager
onMeasure()
Activity
3. This includes tools to help you identify problems in your layout performance.
AsyncTask
Android SDK
setVolumeControlStream()
SQLiteOpenHelper
4. It is an efficient and maintainable way to parse XML on Android.
Full power
XmlPullParser
Widgets
Standby
5. It is called to invoke the search dialog on older devices.
onStop();
Layouts
onSearchRequested()
android.hardware.touchscreen
6. Whenever the device is docked or undocked - this action is broadcast.
authenticator class
AsyncTask
ACTION_DOCK_EVENT
Entire
7. It is available starting with API Level 14 and higher.
ShareActionProvider
Paint
Dalvik Debug Monitor Server
onCreate() - onDestroy()
8. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
Canvas
AbstractAccountAuthenticator
BackupHelper
Wi-Fi radio
9. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Widgets
Open Handset Alliance
Layouts
Google
10. Evaluation of registered components
NetworkInfo
HttpURLConnection
Implicit intent
onDraw()
11. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Hierarchy Viewer
android.hardware.touchscreen
Lifecycle callback methods
Wi-Fi radio
12. Callback method: Another activity is taking focus
onPause();
ETC1
BackupHelper
SecurityException
13. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Scroller
Google Cloud Messaging for Android (GCM)
Low power
View
14. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Services
Google Cloud Messaging for Android (GCM)
Application resources
Stack - back stack
15. This is an interface which is used to pass image data from the camera hardware to the application.
SurfaceHolder.Callback
BackupHelper
Google
Paint
16. This search feature was introduced in Android 3.0 and can maintain backward compatibility with older versions of Android by using the default search dialog provided by the system.
inflate()
onStart() - onStop()
Low power
SearchView
17. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
<declare-styleable>
AndroidManifest.xml
Objects Activity lifecycle
Destroyed - previous
18. Represents the visual representation of an Android application
ValueAnimator
Fragments
OAuth2 protocol
Activity
19. 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.
XmlPullParser
Ducking
ConnectivityManager
BackupHelper
20. It is used to load images in a background thread - then apply them to the UI once finished.
ViewStub
AsyncTask
Low power
Hierarchy Viewer
21. Callback method: The activity is no longer visible.
getInputStream()
onStop();
touch
onCreate();
22. It is a free service for sending messages to Android devices.
Google Play
GestureDetector
Low power
Google Cloud Messaging (GCM)
23. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
GestureDetector
When the activity resumes
onDraw()
ACTION_DOCK_EVENT
24. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Full power
Parser
ACTION_SEND
Android SDK
25. Android is __________.
Extensible Markup Language (XML)
NetworkInfo
Linux based
Stack
26. Direct component call in Android
NetworkInfo
Service Content Provider
Explicit intent
GestureDetector
27. Conversion of an object to XML
isConnected()
Serialize
LocationManager
Lifecycle callback methods
28. Callback method: The activity is being created.
onCreate();
ACTION_DOCK_EVENT
SQLiteOpenHelper
LTE
29. This broadcasts an action whenever the device is connected or disconnected from power.
PackageManager
BatteryManager
AttributeSet
BroadcastReceiver
30. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Intents
Layouts
LTE
SQLiteOpenHelper
31. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
Google
BatteryManager
security sandbox
single-pane
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.
ETC1
Activity
BatteryManager
Account
33. Theseare a key part of Android applications that directly affect the user experience.
PieChart
Layouts
Dots per inch
Entire
34. The helper method is used to create the final width and height values.
GET_ACCOUNTS
onPause();
resolveSizeAndState()
ViewStub
35. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
setContentView
Intents
onDestroy();
Geocoder
36. A styleable entity that contains these two custom attributes: showText and labelPosition.
PieChart
Canvas
isConnected()
OAuth2
37. These helpers are specialized classes for backing up certain kinds of data.
onStop();
BackupHelper
Dalvik Debug Monitor Server
ACTION_SEND
38. Sharing of data in Android is done via________
onCreate() - onDestroy()
Application footprint
Ducking
Service Content Provider
39. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
Deserialize
onDraw()
android.hardware.touchscreen
EXTRA_STREAM
40. Callback method: The activity is no longer visible
onStop();
Activity
Google
onCreate() - onDestroy()
41. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Services
onDraw()
dual-
Google Cloud Messaging for Android (GCM)
42. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
setContentView
ACTION_DOCK_EVENT
HTTP
virtual table
43. In most cases this will offer greater bandwidth at a significantly lower battery cost.
<declare-styleable>
ViewStub
Wi-Fi radio
PieChart
44. Converts XML Document to XML DOM
LocationManager
Google Cloud Messaging for Android (GCM)
Parser
BatteryManager
45. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
onCreate() - onDestroy()
ACTION_SEND
OAuth2
Extensible Markup Language (XML)
46. It is a subclass of PreferenceActivity.
Account Manager
Wi-Fi radio
onDestroy();
SettingsActivity
47. Once installed on a device - each Android application lives in its own ______
android.hardware.touchscreen
security sandbox
PackageManager
Paint
48. 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 ___ .
Dalvik Debug Monitor Server
LocationManager
Stack
Account
49. In order to get a list of accounts on the device - your app needs this permission.
LocationManager
GET_ACCOUNTS
AsyncTask
EXTRA_STREAM
50. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
BroadcastReceiver
Destroyed - previous
Serialize