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 a set of rules for encoding documents in machine-readable form.
Extensible Markup Language (XML)
drawBitmap()
Hierarchy Viewer
onResume();
2. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
ETC1
InputStream
Lifecycle callback methods
onStop();
3. Once installed on a device - each Android application lives in its own ______
BackupHelper
Dalvik Debug Monitor Server
security sandbox
BatteryManager
4. Conversion of XML back to an object
GestureDetector
Deserialize
SurfaceView
Scroller
5. An intermediate state that uses around 50% of the battery power at the full state.
SearchView
Google Cloud Messaging (GCM)
Parser
Low power
6. This can be used to draw previews of what the camera sensor is picking up.
SurfaceView
onPause();
Paint
Dots per inch
7. Callback method: The activity is no longer visible.
Low power
setVolumeControlStream()
onStop();
Paint
8. 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.
setVolumeControlStream()
Activity
Parser
AsyncTask
9. 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.
Geocoder
AsyncTask
HttpURLConnection
Paint
10. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
searchable configuration
ETC1
ACTION_DOCK_EVENT
Intents
11. To define custom attributes - add this resources to your project.
<declare-styleable>
Lifecycle callback methods
SQLiteOpenHelper
Widgets
12. Evaluation of registered components
Android SDK
Scroller
Implicit intent
BroadcastReceiver
13. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Layouts
onPause();
Service Content Provider
Google
14. This is a readable source of bytes.
InputStream
Account Manager
Activity
Parser
15. Amode where the action bar is set up with tabs for navigation.
Intents
onSearchRequested()
Linux based
dual-
16. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
Ducking
Activity
AccountAuthenticatorActivity
LocationManager
17. 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.
Wi-Fi radio
auth scope
Component - screen
Ducking
18. It is a free service for sending messages to Android devices.
Layouts
Google Cloud Messaging (GCM)
Back stack
Hierarchy Viewer
19. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
SecurityException
onCreate() - onDestroy()
Activity
Low power
20. Whenever the device is docked or undocked - this action is broadcast.
HTTP
ACTION_DOCK_EVENT
Google Cloud Messaging (GCM)
InputStream
21. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
AsyncTask
single-pane
BroadcastReceiver
SQLiteOpenHelper
22. Represents the visual representation of an Android application
Activity
onCreate() - onDestroy()
Paint
Emulator
23. Where Android is currently primarily developed
Google
Implicit intent
AsyncTask
Stack - back stack
24. It is an efficient and maintainable way to parse XML on Android.
<declare-styleable>
onCreate();
Open Handset Alliance
XmlPullParser
25. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
Dots per inch
AsyncTask
ACTION_SEND
AbstractAccountAuthenticator
26. Callback method: Another activity is taking focus
Emulator
onCreate() - onDestroy()
onPause();
ACTION_DOCK_EVENT
27. Most network-connected Android apps use this to send and receive data.
Scroller
View
HTTP
AsyncTask
28. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Standby
setVolumeControlStream()
android.hardware.touchscreen
SearchView
29. Shows the actual amount of memory the application uses
Scroller
SettingsActivity
Scroller
Application footprint
30. The entire lifetime of an activity happens between the call to _____ and the call to _____
BatteryManager
OAuth2 protocol
onCreate() - onDestroy()
GET_ACCOUNTS
31. The dock-state details are included as an extra in a sticky broadcast of this action.
Hierarchy Viewer
SettingsActivity
ACTION_DOCK_EVENT
BroadcastReceiver
32. This widget as an item in the action bar is the preferred way to provide search in your app.
Stack
SearchView
Service Content Provider
When the activity resumes
33. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Geocoder
Hierarchy Viewer
Stack
security sandbox
34. You can set the layout as the UI for your activity with passing the resource ID for the layout.
resolveSizeAndState()
Implicit intent
setContentView
Account
35. It provides a simple way to perform your work outside the main thread.
AsyncTask
Extensible Markup Language (XML)
onCreate() - onDestroy()
Ducking
36. Callback method: The activity is being created.
onResume();
onAudioFocusChange()
Intent filters
onCreate();
37. Android provides this handy method to direct volume key presses to the audio stream the user specify.
setVolumeControlStream()
Deserialize
HTTP
Activity
38. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
GET_ACCOUNTS
onStop();
SurfaceHolder.Callback
NetworkInfo
39. It made implementing an effective and user friendly share action in your ActionBar even easier.
ActionProvider
Parser
ViewStub
ETC1
40. In order to get a list of accounts on the device - your app needs this permission.
GET_ACCOUNTS
BroadcastReceiver
Dalvik Debug Monitor Server
drawBitmap()
41. This is used to register and de-register your media button event receiver.
Wi-Fi radio
AndroidManifest.xml
AudioManager
SurfaceHolder.Callback
42. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
Lifecycle callback methods
ConnectivityManager
Parser
BackupHelper
43. This broadcasts an action whenever the device is connected or disconnected from power.
OAuth2 protocol
Scroller
ACTION_SEND
BatteryManager
44. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
Standby
OAuth2
Layouts
45. The industry standard way to deal with authentication to third-party services.
Advanced Training
OAuth2 protocol
ShareActionProvider
Implicit intent
46. An open source stand alone database
SQLite
Linux based
setVolumeControlStream()
onStop();
47. Binary data is shared using the ACTION_SEND action combined with setting the appropriate MIME type and placing the URI to the data in an extra named called?
HttpURLConnection
SQLiteOpenHelper
setContentView
EXTRA_STREAM
48. It is called to invoke the search dialog on older devices.
SecurityException
Wi-Fi radio
onSearchRequested()
SearchView
49. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
ActionProvider
SearchView
onAudioFocusChange()
Google Play
50. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
Google Play
Geocoder
LTE
Low power