SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
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. Android is __________.
ACTION_DOCK_EVENT
BroadcastReceiver
Linux based
Google
2. The most common way to define a layout using views is with an XML layout file saved in your ______
ConnectivityManager
SearchView
View
Application resources
3. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
resolveSizeAndState()
Open Handset Alliance
BatteryManager
EXTRA_STREAM
4. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
Stack
AbstractAccountAuthenticator
HttpURLConnection
BroadcastReceiver
5. Android system uses a special virtual machine to run java based applicatons
Ducking
Low power
Dalvik Virtual Machine
adb
6. Most network-connected Android apps use this to send and receive data.
getInputStream()
Layouts
HTTP
Paint
7. 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
onStop();
Linux based
Activity
Component - screen
8. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Advanced Training
onPause();
Hierarchy Viewer
virtual table
9. An open source group led by Google
When the activity resumes
inflate()
Open Handset Alliance
onCreate() - onDestroy()
10. This is the simplest way to monitor device state changes.
Application resources
onCreate();
Geocoder
BroadcastReceiver
11. 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.
OAuth2
LocationManager
auth scope
Intent filters
12. The entire lifetime of an activity happens between the call to _____ and the call to _____
drawText()
onCreate() - onDestroy()
authenticator class
Destroyed - previous
13. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
SurfaceHolder.Callback
ACTION_DOCK_EVENT
OAuth2 protocol
Entire
14. 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.
BatteryManager
Ducking
Google
single-pane
15. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
isConnected()
Parser
XmlPullParser
16. This is set up to animate for the duration of the fling.
security sandbox
ValueAnimator
XmlPullParser
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
17. To create an activity - you must create a subclass of
onResume();
Activity
Google Cloud Messaging for Android (GCM)
SQLiteOpenHelper
18. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
android.hardware.touchscreen
LTE
Ducking
Geocoder
19. Use this to draw text.
HttpURLConnection
drawText()
auth scope
Ducking
20. A styleable entity that contains these two custom attributes: showText and labelPosition.
SurfaceHolder.Callback
PieChart
ACTION_SEND
GET_ACCOUNTS
21. Once installed on a device - each Android application lives in its own ______
Entire
LTE
BroadcastReceiver
security sandbox
22. This widget as an item in the action bar is the preferred way to provide search in your app.
SearchView
Paint
GestureDetector
SQLiteOpenHelper
23. 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?
AttributeSet
Emulator
ViewStub
onMeasure()
24. Callback method: The activity has become visible.
InputStream
onResume();
Full power
OAuth2
25. 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.
ConnectivityManager
SearchView
AsyncTask
Activity
26. This class provides one of the simplest ways to fire off a new task from the UI thread.
ActionProvider
Parser
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
AsyncTask
27. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
searchable configuration
Back stack
Application footprint
AccountAuthenticatorActivity
28. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
ViewStub
HttpURLConnection
AbstractAccountAuthenticator
Stack - back stack
29. Callback method: The activity is about to be destroyed.
onDestroy();
EXTRA_STREAM
ConnectivityManager
drawText()
30. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Scroller
Google Cloud Messaging for Android (GCM)
Services
Account Manager
31. An open source stand alone database
When the activity resumes
SQLite
AccountAuthenticatorActivity
drawText()
32. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
View
single-pane
Entire
Deserialize
33. On a rooted device - the credentials would be readable by anyone with this access to the device.
adb
AccountAuthenticatorActivity
AsyncTask
Standby
34. 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.
touch
Activity
setVolumeControlStream()
GestureDetector
35. This broadcasts an action whenever the device is connected or disconnected from power.
Layouts
BatteryManager
onDestroy();
setVolumeControlStream()
36. Android request its permission using its ________
AndroidManifest.xml
OAuth2 protocol
AsyncTask
Parser
37. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
EXTRA_STREAM
drawBitmap()
android.hardware.touchscreen
isConnected()
38. This is used to convert raw touch events into gestures.
Serialize
virtual table
onCreate();
GestureDetector
39. The dock-state details are included as an extra in a sticky broadcast of this action.
Services
BackupHelper
ACTION_DOCK_EVENT
auth scope
40. It made implementing an effective and user friendly share action in your ActionBar even easier.
auth scope
ActionProvider
SettingsActivity
EXTRA_STREAM
41. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Objects Activity lifecycle
AsyncTask
searchable configuration
SecurityException
42. Callback method: The activity is no longer visible.
ShareActionProvider
getInputStream()
onStop();
AsyncTask
43. Android provides this handy method to direct volume key presses to the audio stream the user specify.
setVolumeControlStream()
onCreate() - onDestroy()
NetworkInfo
Stack - back stack
44. Perform background tasks without providing a user interface
BatteryManager
getInputStream()
Canvas
Services
45. This is an interface which is used to pass image data from the camera hardware to the application.
ConnectivityManager
Objects Activity lifecycle
Service Content Provider
SurfaceHolder.Callback
46. Shows the actual amount of memory the application uses
Application footprint
InputStream
Extensible Markup Language (XML)
Google Play
47. It provides a simple way to perform your work outside the main thread.
BatteryManager
Open Handset Alliance
AsyncTask
ACTION_SEND
48. This class exposes a number of methods for applications to receive location updates.
Application footprint
LocationManager
Dots per inch
GET_ACCOUNTS
49. When a new activity starts - it is pushed onto the ____ and takes user focus.
ViewStub
onMeasure()
EXTRA_STREAM
Back stack
50. This is the most common input event in the Android system.
Extensible Markup Language (XML)
Intents
Paint
touch