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. 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
ActionProvider
AsyncTask
isConnected()
Destroyed - previous
2. Amode where the action bar is set up with tabs for navigation.
Objects Activity lifecycle
inflate()
dual-
authenticator class
3. 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.
Dalvik Debug Monitor Server
onStop();
Objects Activity lifecycle
Ducking
4. This is the most common input event in the Android system.
AsyncTask
touch
getInputStream()
onDestroy();
5. Android is __________.
GestureDetector
Account Manager
Linux based
Services
6. This object contains an account name - which for Google accounts is an email address.
ACTION_DOCK_EVENT
onSearchRequested()
Account
ViewStub
7. This class exposes a number of methods for applications to receive location updates.
inflate()
GET_ACCOUNTS
LocationManager
AudioManager
8. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
Serialize
onDestroy();
getInputStream()
Intent filters
9. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Emulator
Scroller
BackupHelper
Dalvik Debug Monitor Server
10. It is a free service for sending messages to Android devices.
AsyncTask
Google Cloud Messaging (GCM)
Fragments
OAuth2
11. This class provides one of the simplest ways to fire off a new task from the UI thread.
AsyncTask
Android SDK
searchable configuration
Widgets
12. Callback method: The activity is being created.
NetworkInfo
Layouts
Account Manager
onCreate();
13. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Intents
ConnectivityManager
Geocoder
When the activity resumes
14. The industry standard way to deal with authentication to third-party services.
Implicit intent
OAuth2 protocol
auth scope
Android SDK
15. 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
Scroller
setContentView
PackageManager
Services
16. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Stack - back stack
Geocoder
Entire
Paint
17. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
Linux based
ShareActionProvider
authenticator class
AsyncTask
18. Whenever the device is docked or undocked - this action is broadcast.
ACTION_DOCK_EVENT
AudioManager
resolveSizeAndState()
Explicit intent
19. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Account
SQLiteOpenHelper
resolveSizeAndState()
Activity
20. A service in which programmers can offer their Android application to Android users.
SearchView
Google Play
LTE
Activity
21. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
onSearchRequested()
LTE
AsyncTask
virtual table
22. Once installed on a device - each Android application lives in its own ______
adb
Linux based
Dots per inch
security sandbox
23. It doesn't currently support the <merge/> tag in the layouts to be inflated.
ConnectivityManager
ViewStub
Extensible Markup Language (XML)
AsyncTask
24. Callback method: The activity is about to be destroyed.
Activity
onStart() - onStop()
onDestroy();
virtual table
25. Callback method: The activity is no longer visible
dual-
HttpURLConnection
onStop();
Paint
26. Conversion of XML back to an object
Deserialize
drawBitmap()
onResume();
auth scope
27. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
dual-
Objects Activity lifecycle
AudioManager
SurfaceHolder.Callback
28. An intermediate state that uses around 50% of the battery power at the full state.
Google Cloud Messaging (GCM)
BackupHelper
inflate()
Low power
29. This is used to fetch the account names that the user has stored on their device.
Account Manager
EXTRA_STREAM
ValueAnimator
Google Cloud Messaging (GCM)
30. These helpers are specialized classes for backing up certain kinds of data.
visible
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
SecurityException
BackupHelper
31. This widget as an item in the action bar is the preferred way to provide search in your app.
visible
NetworkInfo
SearchView
onCreate();
32. A styleable entity that contains these two custom attributes: showText and labelPosition.
Intents
setContentView
Service Content Provider
PieChart
33. This is an interface which is used to pass image data from the camera hardware to the application.
Application footprint
SurfaceHolder.Callback
ConnectivityManager
ViewStub
34. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
AccountAuthenticatorActivity
When the activity resumes
ConnectivityManager
Scroller
35. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
OnCurrentItemChanged
NetworkInfo
dual-
Advanced Training
36. Callback method: The activity is no longer visible.
onStop();
Back stack
visible
Activity
37. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
OAuth2 protocol
adb
AccountAuthenticatorActivity
BatteryManager
38. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
onCreate() - onDestroy()
Hierarchy Viewer
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Wi-Fi radio
39. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Open Handset Alliance
ViewStub
Google Cloud Messaging for Android (GCM)
Lifecycle callback methods
40. Theseare a key part of Android applications that directly affect the user experience.
Layouts
InputStream
Component - screen
getInputStream()
41. It provides a simple way to perform your work outside the main thread.
AsyncTask
auth scope
OAuth2
Scroller
42. In most cases this will offer greater bandwidth at a significantly lower battery cost.
SearchView
Wi-Fi radio
Scroller
Ducking
43. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
View
Activity
Dalvik Debug Monitor Server
ValueAnimator
44. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Layouts
Activity
android.hardware.touchscreen
SettingsActivity
45. An open source group led by Google
Wi-Fi radio
ViewStub
Open Handset Alliance
BroadcastReceiver
46. Android system uses a special virtual machine to run java based applicatons
XmlPullParser
Dalvik Virtual Machine
Destroyed - previous
Activity
47. For example - a ____ might be a button that initiates an action when the user touches it.
Canvas
View
ViewStub
isConnected()
48. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
Android SDK
ViewStub
Activity
onCreate() - onDestroy()
49. Android request its permission using its ________
onAudioFocusChange()
Account Manager
inflate()
AndroidManifest.xml
50. 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.
drawBitmap()
SQLiteOpenHelper
Open Handset Alliance
SearchView