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. This is the main class through which your application can access location services on Android.
Services
SurfaceHolder.Callback
Paint
LocationManager
2. is run when running Android on the pc
Emulator
LocationManager
EXTRA_STREAM
onResume();
3. This is the most common input event in the Android system.
touch
onCreate() - onDestroy()
BroadcastReceiver
ViewStub
4. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
Full power
HTTP
onStop();
NetworkInfo
5. Shows the actual amount of memory the application uses
Application footprint
Widgets
android.hardware.touchscreen
ValueAnimator
6. Where Android is currently primarily developed
EXTRA_STREAM
OnCurrentItemChanged
Google
Extensible Markup Language (XML)
7. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Google Play
AbstractAccountAuthenticator
Objects Activity lifecycle
View
8. Android provides this handy method to direct volume key presses to the audio stream the user specify.
Fragments
Open Handset Alliance
setVolumeControlStream()
Emulator
9. This is used to check that you're actually connected to the Internet and what type of connection is in place.
Paint
Deserialize
HttpURLConnection
ConnectivityManager
10. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
When the activity resumes
Standby
HTTP
11. Represents the visual representation of an Android application
SettingsActivity
Activity
Serialize
Google
12. A mode where navigation is set up with a spinner widget.
onCreate();
Services
visible
single-pane
13. This includes tools to help you identify problems in your layout performance.
Android SDK
When the activity resumes
onStart() - onStop()
Activity
14. 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.
Layouts
<declare-styleable>
Stack - back stack
Paint
15. An intermediate state that uses around 50% of the battery power at the full state.
inflate()
Destroyed - previous
Low power
onStop();
16. Callback method: Another activity is taking focus
ETC1
onPause();
single-pane
Scroller
17. Direct component call in Android
SQLite
BatteryManager
visible
Explicit intent
18. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
ACTION_DOCK_EVENT
Geocoder
SurfaceView
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
19. Once installed on a device - each Android application lives in its own ______
Android SDK
security sandbox
Google Play
AccountAuthenticatorActivity
20. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
visible
Open Handset Alliance
Serialize
HttpURLConnection
21. Callback method: The activity is being created.
Stack
onCreate();
Explicit intent
SearchView
22. You can set the layout as the UI for your activity with passing the resource ID for the layout.
setContentView
ACTION_SEND
Application footprint
onStop();
23. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
AccountAuthenticatorActivity
Hierarchy Viewer
OAuth2 protocol
ShareActionProvider
24. This is used to convert raw touch events into gestures.
onPause();
ValueAnimator
ActionProvider
GestureDetector
25. To create an activity - you must create a subclass of
Activity
XmlPullParser
EXTRA_STREAM
<declare-styleable>
26. 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
ViewStub
SurfaceView
Lifecycle callback methods
27. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
onCreate();
AbstractAccountAuthenticator
Dalvik Debug Monitor Server
Google
28. This widget as an item in the action bar is the preferred way to provide search in your app.
Parser
Services
SearchView
GestureDetector
29. The helper method is used to create the final width and height values.
ViewStub
Application resources
Destroyed - previous
resolveSizeAndState()
30. Necessary tools to develop Android applications
Android SDK
Google Cloud Messaging (GCM)
Entire
AttributeSet
31. Use this to draw bitmaps.
security sandbox
drawBitmap()
onSearchRequested()
touch
32. These helpers are specialized classes for backing up certain kinds of data.
View
Dalvik Debug Monitor Server
BackupHelper
Dots per inch
33. This is a readable source of bytes.
Open Handset Alliance
AccountAuthenticatorActivity
ShareActionProvider
InputStream
34. When a new activity starts - it is pushed onto the ____ and takes user focus.
BatteryManager
Objects Activity lifecycle
Extensible Markup Language (XML)
Back stack
35. A service in which programmers can offer their Android application to Android users.
Emulator
Google Play
authenticator class
drawText()
36. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
BroadcastReceiver
LocationManager
android.hardware.touchscreen
Google Cloud Messaging for Android (GCM)
37. It is a set of rules for encoding documents in machine-readable form.
LocationManager
Extensible Markup Language (XML)
android.hardware.touchscreen
onStop();
38. It is a free service for sending messages to Android devices.
ShareActionProvider
Lifecycle callback methods
Google Cloud Messaging (GCM)
LocationManager
39. This broadcasts an action whenever the device is connected or disconnected from power.
Ducking
BatteryManager
LTE
Scroller
40. Android request its permission using its ________
ViewStub
Parser
AndroidManifest.xml
Canvas
41. 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.
Activity
Ducking
SettingsActivity
ActionProvider
42. Callback method: The activity has become visible.
Lifecycle callback methods
Activity
BroadcastReceiver
onResume();
43. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
authenticator class
Scroller
Wi-Fi radio
Google Cloud Messaging (GCM)
44. Callback method: The activity is about to be destroyed.
touch
getInputStream()
onDestroy();
Activity
45. Evaluation of registered components
InputStream
Implicit intent
SearchView
android.hardware.touchscreen
46. Use this to draw text.
AsyncTask
Stack
AccountAuthenticatorActivity
drawText()
47. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
ViewStub
Lifecycle callback methods
single-pane
XmlPullParser
48. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
<declare-styleable>
Canvas
ACTION_DOCK_EVENT
onPause();
49. Allow to combine loosely coupled components to perform certain tasks
Activity
ViewStub
Intents
ConnectivityManager
50. In order to get a list of accounts on the device - your app needs this permission.
Services
Parser
GET_ACCOUNTS
PackageManager