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. A service in which programmers can offer their Android application to Android users.
PackageManager
ShareActionProvider
Google Play
authenticator class
2. This is used to register and de-register your media button event receiver.
onResume();
ACTION_DOCK_EVENT
Google Play
AudioManager
3. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
ACTION_SEND
Activity
isConnected()
Layouts
4. 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()
Widgets
Android SDK
Hierarchy Viewer
5. It inform the system what intents an application component is willing to accept.
auth scope
Deserialize
Intent filters
Destroyed - previous
6. Each activity can then start another activity in order to perform different actions. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a ___ .
visible
Back stack
Stack
Layouts
7. On a rooted device - the credentials would be readable by anyone with this access to the device.
onCreate() - onDestroy()
Google Play
Google Cloud Messaging (GCM)
adb
8. Most network-connected Android apps use this to send and receive data.
HTTP
SearchView
Activity
setContentView
9. Sharing of data in Android is done via________
GET_ACCOUNTS
ACTION_DOCK_EVENT
Service Content Provider
setContentView
10. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
Emulator
authenticator class
Open Handset Alliance
Entire
11. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
Back stack
Google Play
GestureDetector
ViewStub
12. An intermediate state that uses around 50% of the battery power at the full state.
Deserialize
GestureDetector
dual-
Low power
13. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
authenticator class
Hierarchy Viewer
GET_ACCOUNTS
Paint
14. Use this to draw bitmaps.
Wi-Fi radio
drawBitmap()
Android SDK
AbstractAccountAuthenticator
15. A mode where navigation is set up with a spinner widget.
resolveSizeAndState()
Scroller
single-pane
AbstractAccountAuthenticator
16. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
setContentView
NetworkInfo
getInputStream()
OnCurrentItemChanged
17. Android is __________.
LocationManager
onStart() - onStop()
Layouts
Linux based
18. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Google Cloud Messaging (GCM)
LocationManager
SearchView
Objects Activity lifecycle
19. Shows the actual amount of memory the application uses
Stack
Application footprint
authenticator class
Deserialize
20. Relative to pixels and resolution screen
Dots per inch
visible
BroadcastReceiver
ACTION_SEND
21. Android system uses a special virtual machine to run java based applicatons
PackageManager
authenticator class
ACTION_SEND
Dalvik Virtual Machine
22. The visible lifetime of an activity happens between the call to ____ and the call to ______
ViewStub
onStart() - onStop()
AsyncTask
Linux based
23. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Extensible Markup Language (XML)
Services
Scroller
SQLiteOpenHelper
24. Evaluation of registered components
SearchView
AttributeSet
Android SDK
Implicit intent
25. The most common way to define a layout using views is with an XML layout file saved in your ______
OAuth2
dual-
Application resources
BroadcastReceiver
26. An open source stand alone database
SQLite
OAuth2 protocol
drawText()
single-pane
27. This is set up to animate for the duration of the fling.
ACTION_SEND
OnCurrentItemChanged
Account Manager
ValueAnimator
28. Theseare a key part of Android applications that directly affect the user experience.
Layouts
onCreate() - onDestroy()
SecurityException
Hierarchy Viewer
29. 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.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Deserialize
Ducking
BroadcastReceiver
30. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
AbstractAccountAuthenticator
Ducking
Google Play
Objects Activity lifecycle
31. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
BroadcastReceiver
BatteryManager
Open Handset Alliance
PackageManager
32. This is used for the need of finer control over your view's layout parameters.
AccountAuthenticatorActivity
onPause();
Objects Activity lifecycle
onMeasure()
33. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
Activity
Geocoder
onAudioFocusChange()
NetworkInfo
34. Callback method: The activity has become visible.
Dots per inch
onResume();
Application resources
Google Cloud Messaging for Android (GCM)
35. It is available starting with API Level 14 and higher.
ShareActionProvider
Android SDK
Canvas
SettingsActivity
36. You can set the layout as the UI for your activity with passing the resource ID for the layout.
Google Play
setContentView
Account
onStart() - onStop()
37. This is the main class through which your application can access location services on Android.
Account Manager
AttributeSet
getInputStream()
LocationManager
38. Callback method: The activity is no longer visible
onStop();
Activity
adb
Parser
39. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
LTE
Google Play
Low power
<declare-styleable>
40. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
setVolumeControlStream()
single-pane
Google Cloud Messaging for Android (GCM)
ACTION_DOCK_EVENT
41. Direct component call in Android
Explicit intent
onDraw()
Activity
View
42. 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.
OnCurrentItemChanged
Dalvik Virtual Machine
Paint
onStop();
43. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
HttpURLConnection
setVolumeControlStream()
onResume();
Intent filters
44. This is the most common input event in the Android system.
BatteryManager
touch
When the activity resumes
Deserialize
45. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Google
Lifecycle callback methods
searchable configuration
SearchView
46. It is a string that defines the specific type of access your app is asking for.
Paint
auth scope
authenticator class
Stack - back stack
47. Android provides this handy method to direct volume key presses to the audio stream the user specify.
Canvas
setVolumeControlStream()
Intent filters
Open Handset Alliance
48. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
PackageManager
Account
ConnectivityManager
onStop();
49. Conversion of XML back to an object
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Deserialize
Widgets
Low power
50. This class is the basis for handling flywheel-style fling gestures.
BatteryManager
Scroller
SurfaceHolder.Callback
SecurityException