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. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Account Manager
SQLite
Google
2. It is available starting with API Level 14 and higher.
Open Handset Alliance
Google
ActionProvider
ShareActionProvider
3. These helpers are specialized classes for backing up certain kinds of data.
BackupHelper
Application footprint
onCreate();
onCreate() - onDestroy()
4. 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.
Destroyed - previous
onStop();
When the activity resumes
Paint
5. Callback method: The activity is being created.
onCreate();
authenticator class
onStop();
security sandbox
6. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
virtual table
BroadcastReceiver
PackageManager
NetworkInfo
7. If permissions are missing - the application will get this at runtime.
onStop();
EXTRA_STREAM
AccountAuthenticatorActivity
SecurityException
8. 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.
Fragments
Lifecycle callback methods
Ducking
HttpURLConnection
9. It made implementing an effective and user friendly share action in your ActionBar even easier.
Account Manager
SurfaceView
ActionProvider
GestureDetector
10. 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 ___ .
Stack
Full power
onCreate() - onDestroy()
Service Content Provider
11. The industry standard way to deal with authentication to third-party services.
BroadcastReceiver
OAuth2 protocol
onAudioFocusChange()
onStart() - onStop()
12. It is called to invoke the search dialog on older devices.
GestureDetector
Full power
onSearchRequested()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
13. Once installed on a device - each Android application lives in its own ______
drawText()
BackupHelper
security sandbox
dual-
14. Perform background tasks without providing a user interface
EXTRA_STREAM
onCreate() - onDestroy()
Services
isConnected()
15. Evaluation of registered components
Activity
Implicit intent
XmlPullParser
Google
16. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
authenticator class
Full power
Account Manager
Explicit intent
17. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
BatteryManager
drawBitmap()
InputStream
LocationManager
18. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
Google
Google Play
Deserialize
getInputStream()
19. This is used to check that you're actually connected to the Internet and what type of connection is in place.
Widgets
AsyncTask
authenticator class
ConnectivityManager
20. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
LTE
Application footprint
virtual table
android.hardware.touchscreen
21. It is used to toggle the enabled state on any component defined in the manifest - including whichever broadcast receivers you wish to enable or disable
AccountAuthenticatorActivity
android.hardware.touchscreen
PackageManager
Geocoder
22. This is the most common input event in the Android system.
AttributeSet
inflate()
setContentView
touch
23. The dock-state details are included as an extra in a sticky broadcast of this action.
Activity
ACTION_DOCK_EVENT
Intent filters
SettingsActivity
24. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Implicit intent
Android SDK
Geocoder
isConnected()
25. This is used to convert raw touch events into gestures.
SecurityException
onMeasure()
GestureDetector
drawBitmap()
26. This is the simplest way to monitor device state changes.
BatteryManager
BroadcastReceiver
onDraw()
SettingsActivity
27. A service in which programmers can offer their Android application to Android users.
Google Play
Layouts
OnCurrentItemChanged
Entire
28. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
ConnectivityManager
LocationManager
PieChart
View
29. It is a free service for sending messages to Android devices.
Google Cloud Messaging (GCM)
ShareActionProvider
AbstractAccountAuthenticator
Account
30. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
authenticator class
Implicit intent
SecurityException
SurfaceView
31. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Wi-Fi radio
onDestroy();
Paint
Google Cloud Messaging for Android (GCM)
32. This is the main class through which your application can access location services on Android.
LocationManager
Back stack
Parser
AsyncTask
33. Represents the visual representation of an Android application
getInputStream()
Activity
NetworkInfo
Emulator
34. The entire lifetime of an activity happens between the call to _____ and the call to _____
drawText()
onCreate() - onDestroy()
onCreate();
InputStream
35. Converts XML Document to XML DOM
InputStream
SurfaceHolder.Callback
Parser
onCreate() - onDestroy()
36. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
onResume();
Hierarchy Viewer
auth scope
Back stack
37. 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.
SQLite
Stack - back stack
Activity
Entire
38. This action is used in sending text content from one activity to another.
Stack
LocationManager
ACTION_SEND
Scroller
39. It is used to load images in a background thread - then apply them to the UI once finished.
Android SDK
inflate()
AsyncTask
Low power
40. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
onSearchRequested()
resolveSizeAndState()
Implicit intent
ConnectivityManager
41. Callback method: Another activity is taking focus
AsyncTask
LocationManager
onAudioFocusChange()
onPause();
42. Necessary tools to develop Android applications
HTTP
Objects Activity lifecycle
Android SDK
Serialize
43. The minimal energy state during which no network connection is active or required.
security sandbox
Standby
Activity
Explicit intent
44. Callback method: The activity has become visible.
PieChart
onStop();
Open Handset Alliance
onResume();
45. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
single-pane
inflate()
When the activity resumes
searchable configuration
46. This can be used to draw previews of what the camera sensor is picking up.
SurfaceView
setContentView
ActionProvider
XmlPullParser
47. The helper method is used to create the final width and height values.
HTTP
Service Content Provider
resolveSizeAndState()
Android SDK
48. Whenever the device is docked or undocked - this action is broadcast.
Activity
HTTP
ACTION_DOCK_EVENT
Activity
49. You can set the layout as the UI for your activity with passing the resource ID for the layout.
GET_ACCOUNTS
setContentView
Widgets
BackupHelper
50. An intermediate state that uses around 50% of the battery power at the full state.
Low power
Hierarchy Viewer
HTTP
onCreate();