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 broadcasts all battery and charging details in a sticky Intent that includes the charging status.
BatteryManager
Open Handset Alliance
Component - screen
Serialize
2. The dock-state details are included as an extra in a sticky broadcast of this action.
touch
BroadcastReceiver
ACTION_DOCK_EVENT
Dalvik Virtual Machine
3. It doesn't currently support the <merge/> tag in the layouts to be inflated.
ViewStub
Full power
inflate()
onAudioFocusChange()
4. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
AccountAuthenticatorActivity
Account Manager
Google
dual-
5. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Full power
Low power
Activity
SettingsActivity
6. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
Android SDK
visible
ShareActionProvider
Stack - back stack
7. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
HttpURLConnection
Advanced Training
Linux based
InputStream
8. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
<declare-styleable>
Widgets
SearchView
getInputStream()
9. 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
Objects Activity lifecycle
Account
10. Callback method: The activity is no longer visible
AsyncTask
Low power
onStop();
Deserialize
11. An Activity is an application ______ that provides a _______ 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
InputStream
Stack
Ducking
Component - screen
12. Android system uses a special virtual machine to run java based applicatons
Dalvik Virtual Machine
isConnected()
inflate()
Extensible Markup Language (XML)
13. This is the simplest way to monitor device state changes.
Account
BroadcastReceiver
setVolumeControlStream()
Destroyed - previous
14. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
ConnectivityManager
Low power
SurfaceHolder.Callback
onCreate() - onDestroy()
15. This is used to fetch the account names that the user has stored on their device.
Account Manager
onStart() - onStop()
Hierarchy Viewer
onMeasure()
16. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
Low power
Open Handset Alliance
NetworkInfo
AbstractAccountAuthenticator
17. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
View
Google Cloud Messaging for Android (GCM)
Paint
onStop();
18. It is used to load images in a background thread - then apply them to the UI once finished.
Google
Widgets
AsyncTask
Geocoder
19. Perform background tasks without providing a user interface
BroadcastReceiver
Paint
Services
single-pane
20. Represents the visual representation of an Android application
View
SettingsActivity
XmlPullParser
Activity
21. Conversion of XML back to an object
AsyncTask
onStop();
Deserialize
Ducking
22. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
HttpURLConnection
isConnected()
Intent filters
ActionProvider
23. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
BroadcastReceiver
ActionProvider
SQLiteOpenHelper
onCreate() - onDestroy()
24. A mode where navigation is set up with a spinner widget.
Service Content Provider
Geocoder
EXTRA_STREAM
single-pane
25. This widget as an item in the action bar is the preferred way to provide search in your app.
SearchView
AudioManager
Back stack
Lifecycle callback methods
26. 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
Implicit intent
onAudioFocusChange()
AttributeSet
27. It provides a single value - called an auth token that represents both the user's identity and the application's authorization to act on the user's behalf.
ACTION_DOCK_EVENT
onPause();
Component - screen
OAuth2
28. Are used in activities to create the user interface and to interact with the user.
Hierarchy Viewer
Explicit intent
Fragments
ConnectivityManager
29. ______ are views derived from ViewGroup that provide a unique layout model for its child views
BackupHelper
Canvas
Services
Layouts
30. The minimal energy state during which no network connection is active or required.
drawBitmap()
Activity
Service Content Provider
Standby
31. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Objects Activity lifecycle
Entire
Hierarchy Viewer
AbstractAccountAuthenticator
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.
Activity
Low power
android.hardware.touchscreen
Account Manager
33. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
When the activity resumes
android.hardware.touchscreen
Serialize
ConnectivityManager
34. The helper method is used to create the final width and height values.
resolveSizeAndState()
Implicit intent
Intents
Open Handset Alliance
35. It provides a simple way to perform your work outside the main thread.
AsyncTask
Serialize
Fragments
OAuth2
36. If permissions are missing - the application will get this at runtime.
SecurityException
Geocoder
onStop();
Deserialize
37. Most network-connected Android apps use this to send and receive data.
Scroller
Android SDK
Paint
HTTP
38. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
PieChart
android.hardware.touchscreen
Fragments
BatteryManager
39. Use this to draw text.
ACTION_DOCK_EVENT
AttributeSet
drawText()
Canvas
40. Necessary tools to develop Android applications
Application footprint
single-pane
Android SDK
onStop();
41. 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.
isConnected()
SearchView
InputStream
Account Manager
42. The entire lifetime of an activity happens between the call to _____ and the call to _____
LocationManager
Lifecycle callback methods
GestureDetector
onCreate() - onDestroy()
43. This broadcasts an action whenever the device is connected or disconnected from power.
Ducking
SearchView
BatteryManager
Google
44. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
setContentView
Intent filters
ViewStub
onCreate();
45. This is the most common input event in the Android system.
ConnectivityManager
EXTRA_STREAM
touch
Back stack
46. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
Widgets
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
SQLiteOpenHelper
NetworkInfo
47. 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.
Paint
ACTION_SEND
Google Cloud Messaging (GCM)
Explicit intent
48. A service in which programmers can offer their Android application to Android users.
Google Play
View
Fragments
Activity
49. Conversion of an object to XML
LTE
Serialize
Stack
touch
50. Whenever the device is docked or undocked - this action is broadcast.
ACTION_DOCK_EVENT
Implicit intent
Extensible Markup Language (XML)
Back stack