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. It is used to load images in a background thread - then apply them to the UI once finished.
Objects Activity lifecycle
ACTION_DOCK_EVENT
Geocoder
AsyncTask
2. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
Service Content Provider
AndroidManifest.xml
touch
NetworkInfo
3. This includes tools to help you identify problems in your layout performance.
onCreate();
Advanced Training
onAudioFocusChange()
Android SDK
4. Most network-connected Android apps use this to send and receive data.
HTTP
PieChart
ConnectivityManager
BatteryManager
5. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Stack - back stack
onStop();
InputStream
OAuth2 protocol
6. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
Full power
Android SDK
OnCurrentItemChanged
onCreate() - onDestroy()
7. This is used to convert raw touch events into gestures.
GestureDetector
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
BroadcastReceiver
AudioManager
8. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Objects Activity lifecycle
ActionProvider
visible
Advanced Training
9. An open source group led by Google
LocationManager
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Open Handset Alliance
BatteryManager
10. It inform the system what intents an application component is willing to accept.
Intent filters
Activity
Dalvik Virtual Machine
BatteryManager
11. A mode where navigation is set up with a spinner widget.
single-pane
ETC1
dual-
Android SDK
12. Callback method: Another activity is taking focus
Layouts
onPause();
onCreate() - onDestroy()
Destroyed - previous
13. This widget as an item in the action bar is the preferred way to provide search in your app.
onStart() - onStop()
SearchView
Serialize
Activity
14. The entire lifetime of an activity happens between the call to _____ and the call to _____
SQLiteOpenHelper
ETC1
isConnected()
onCreate() - onDestroy()
15. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
AsyncTask
onCreate() - onDestroy()
AccountAuthenticatorActivity
ConnectivityManager
16. If permissions are missing - the application will get this at runtime.
touch
Google Cloud Messaging for Android (GCM)
SecurityException
LocationManager
17. The helper method is used to create the final width and height values.
SecurityException
resolveSizeAndState()
Google Cloud Messaging for Android (GCM)
Standby
18. This is the simplest way to monitor device state changes.
BroadcastReceiver
Intents
Wi-Fi radio
Services
19. The visible lifetime of an activity happens between the call to ____ and the call to ______
Android SDK
visible
onStart() - onStop()
Stack - back stack
20. Evaluation of registered components
Stack
Implicit intent
Dalvik Virtual Machine
onDestroy();
21. It is a subclass of PreferenceActivity.
OAuth2 protocol
Layouts
SettingsActivity
Open Handset Alliance
22. It made implementing an effective and user friendly share action in your ActionBar even easier.
Service Content Provider
Stack - back stack
ActionProvider
visible
23. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
auth scope
Lifecycle callback methods
AsyncTask
Emulator
24. is run when running Android on the pc
Service Content Provider
onDestroy();
SettingsActivity
Emulator
25. 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
Low power
SQLite
PackageManager
26. You can set the layout as the UI for your activity with passing the resource ID for the layout.
Application resources
ValueAnimator
Scroller
setContentView
27. It is called to invoke the search dialog on older devices.
GET_ACCOUNTS
BroadcastReceiver
ViewStub
onSearchRequested()
28. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
resolveSizeAndState()
LTE
android.hardware.touchscreen
Android SDK
29. Callback method: The activity has become visible.
Application resources
onStop();
Open Handset Alliance
onResume();
30. Sharing of data in Android is done via________
onResume();
Service Content Provider
onCreate() - onDestroy()
AsyncTask
31. 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.
SearchView
InputStream
ACTION_DOCK_EVENT
Wi-Fi radio
32. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
getInputStream()
Deserialize
onDraw()
Hierarchy Viewer
33. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
Stack
SecurityException
OnCurrentItemChanged
ViewStub
34. This is the most common input event in the Android system.
Component - screen
BatteryManager
GestureDetector
touch
35. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Layouts
LTE
Standby
Activity
36. Whenever the device is docked or undocked - this action is broadcast.
onDestroy();
ACTION_DOCK_EVENT
auth scope
Layouts
37. 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
Component - screen
Android SDK
XmlPullParser
OAuth2 protocol
38. The minimal energy state during which no network connection is active or required.
Standby
GET_ACCOUNTS
Scroller
OAuth2
39. The industry standard way to deal with authentication to third-party services.
OAuth2 protocol
BatteryManager
SearchView
SecurityException
40. 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 ___ .
virtual table
Stack
visible
Standby
41. Shows the actual amount of memory the application uses
Application footprint
SQLiteOpenHelper
OnCurrentItemChanged
drawBitmap()
42. This can be used to draw previews of what the camera sensor is picking up.
auth scope
getInputStream()
SurfaceView
resolveSizeAndState()
43. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
ActionProvider
Account
HttpURLConnection
PackageManager
44. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
BatteryManager
SQLiteOpenHelper
ViewStub
AudioManager
45. Android system uses a special virtual machine to run java based applicatons
Canvas
Dalvik Virtual Machine
dual-
android.hardware.touchscreen
46. This is the main class through which your application can access location services on Android.
LocationManager
Service Content Provider
setContentView
<declare-styleable>
47. Converts XML Document to XML DOM
Parser
Fragments
AbstractAccountAuthenticator
android.hardware.touchscreen
48. Callback method: The activity is about to be destroyed.
ETC1
onDestroy();
Service Content Provider
LocationManager
49. This class provides one of the simplest ways to fire off a new task from the UI thread.
<declare-styleable>
virtual table
AsyncTask
OnCurrentItemChanged
50. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
setVolumeControlStream()
Account Manager
onAudioFocusChange()
Google Cloud Messaging (GCM)