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. An intermediate state that uses around 50% of the battery power at the full state.
onDraw()
ConnectivityManager
Account
Low power
2. For example - a ____ might be a button that initiates an action when the user touches it.
Component - screen
onResume();
ETC1
View
3. Whenever the device is docked or undocked - this action is broadcast.
ACTION_DOCK_EVENT
Application resources
BroadcastReceiver
authenticator class
4. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
onAudioFocusChange()
Account Manager
HttpURLConnection
single-pane
5. This is the simplest way to monitor device state changes.
AsyncTask
BroadcastReceiver
onCreate() - onDestroy()
ShareActionProvider
6. This is the main class through which your application can access location services on Android.
LocationManager
setContentView
Activity
Ducking
7. An open source group led by Google
Lifecycle callback methods
drawBitmap()
virtual table
Open Handset Alliance
8. It is a free service for sending messages to Android devices.
Layouts
Scroller
Google Cloud Messaging (GCM)
Canvas
9. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
SQLiteOpenHelper
Full power
OAuth2 protocol
BroadcastReceiver
10. Perform background tasks without providing a user interface
Paint
Services
security sandbox
searchable configuration
11. The helper method is used to create the final width and height values.
LTE
resolveSizeAndState()
Parser
android.hardware.touchscreen
12. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
resolveSizeAndState()
Full power
GestureDetector
Widgets
13. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
HTTP
Canvas
PieChart
setVolumeControlStream()
14. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
Hierarchy Viewer
ConnectivityManager
getInputStream()
BroadcastReceiver
15. This class exposes a number of methods for applications to receive location updates.
GET_ACCOUNTS
single-pane
Emulator
LocationManager
16. Android request its permission using its ________
Account
ACTION_SEND
AndroidManifest.xml
BackupHelper
17. This is used to convert raw touch events into gestures.
Layouts
Advanced Training
BatteryManager
GestureDetector
18. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
ViewStub
Account Manager
Activity
onAudioFocusChange()
19. Android provides this handy method to direct volume key presses to the audio stream the user specify.
Back stack
setVolumeControlStream()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Android SDK
20. You can set the layout as the UI for your activity with passing the resource ID for the layout.
visible
onStop();
PackageManager
setContentView
21. It is an efficient and maintainable way to parse XML on Android.
ViewStub
ETC1
XmlPullParser
getInputStream()
22. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
SecurityException
security sandbox
onDraw()
authenticator class
23. 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
Open Handset Alliance
security sandbox
Component - screen
AttributeSet
24. Android is __________.
SearchView
BroadcastReceiver
ShareActionProvider
Linux based
25. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Standby
virtual table
Hierarchy Viewer
Explicit intent
26. Most network-connected Android apps use this to send and receive data.
SurfaceHolder.Callback
When the activity resumes
HTTP
Entire
27. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
SQLiteOpenHelper
drawText()
single-pane
AccountAuthenticatorActivity
28. Converts XML Document to XML DOM
ViewStub
Parser
onCreate();
Google Cloud Messaging for Android (GCM)
29. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Wi-Fi radio
Dalvik Virtual Machine
LocationManager
ActionProvider
30. It is a subclass of PreferenceActivity.
onCreate() - onDestroy()
SettingsActivity
Entire
visible
31. This object contains an account name - which for Google accounts is an email address.
Dalvik Virtual Machine
Account
Full power
NetworkInfo
32. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
Application footprint
Dalvik Debug Monitor Server
BackupHelper
When the activity resumes
33. Amode where the action bar is set up with tabs for navigation.
Android SDK
InputStream
SearchView
dual-
34. Callback method: The activity is about to be destroyed.
ViewStub
AndroidManifest.xml
onDestroy();
onResume();
35. For example - if your activity has a thread running in the background to download data from the network - it might create that thread in _____ and then stop the thread in _____
onCreate() - onDestroy()
ACTION_SEND
OnCurrentItemChanged
BackupHelper
36. A mode where navigation is set up with a spinner widget.
AttributeSet
Deserialize
single-pane
Emulator
37. This widget as an item in the action bar is the preferred way to provide search in your app.
Google Play
AsyncTask
searchable configuration
SearchView
38. 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.
onCreate();
Hierarchy Viewer
<declare-styleable>
OAuth2
39. Callback method: The activity is no longer visible
onStop();
OAuth2
Layouts
getInputStream()
40. This is used for the need of finer control over your view's layout parameters.
Stack - back stack
onMeasure()
Entire
LTE
41. A service in which programmers can offer their Android application to Android users.
Paint
Google Play
Activity
Layouts
42. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Wi-Fi radio
SQLiteOpenHelper
Google Cloud Messaging (GCM)
Intents
43. Conversion of XML back to an object
onMeasure()
Deserialize
OnCurrentItemChanged
BroadcastReceiver
44. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Linux based
Low power
Activity
android.hardware.touchscreen
45. It made implementing an effective and user friendly share action in your ActionBar even easier.
ActionProvider
Advanced Training
Standby
setVolumeControlStream()
46. 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.
Advanced Training
Layouts
Paint
<declare-styleable>
47. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
Explicit intent
Dalvik Virtual Machine
searchable configuration
Activity
48. On a rooted device - the credentials would be readable by anyone with this access to the device.
onCreate() - onDestroy()
adb
Open Handset Alliance
AbstractAccountAuthenticator
49. Necessary tools to develop Android applications
onDraw()
BatteryManager
Android SDK
ACTION_SEND
50. Conversion of an object to XML
visible
onStop();
Implicit intent
Serialize