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. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
inflate()
ActionProvider
SQLiteOpenHelper
Advanced Training
2. It inform the system what intents an application component is willing to accept.
BatteryManager
Intent filters
dual-
GET_ACCOUNTS
3. It is used to load images in a background thread - then apply them to the UI once finished.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
AsyncTask
Google Play
setVolumeControlStream()
4. These helpers are specialized classes for backing up certain kinds of data.
OnCurrentItemChanged
visible
BackupHelper
Fragments
5. 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
Component - screen
Google
Google Cloud Messaging (GCM)
Low power
6. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
Account
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Back stack
Lifecycle callback methods
7. Amode where the action bar is set up with tabs for navigation.
AsyncTask
dual-
Hierarchy Viewer
Serialize
8. To define custom attributes - add this resources to your project.
ETC1
setVolumeControlStream()
<declare-styleable>
Activity
9. 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.
OAuth2
BroadcastReceiver
BatteryManager
ACTION_SEND
10. Evaluation of registered components
LTE
Implicit intent
Android SDK
Entire
11. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
Activity
ConnectivityManager
Standby
ETC1
12. Callback method: Another activity is taking focus
SQLiteOpenHelper
Explicit intent
onSearchRequested()
onPause();
13. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
Account Manager
Google Play
AbstractAccountAuthenticator
BatteryManager
14. Conversion of XML back to an object
Parser
AudioManager
onMeasure()
Deserialize
15. The most common way to define a layout using views is with an XML layout file saved in your ______
Application resources
Layouts
Back stack
onStop();
16. If permissions are missing - the application will get this at runtime.
AsyncTask
ConnectivityManager
SecurityException
Advanced Training
17. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
Service Content Provider
ACTION_DOCK_EVENT
getInputStream()
Layouts
18. This is used to fetch the account names that the user has stored on their device.
SettingsActivity
ACTION_DOCK_EVENT
LocationManager
Account Manager
19. This is the most common input event in the Android system.
ConnectivityManager
Extensible Markup Language (XML)
touch
OnCurrentItemChanged
20. Represents the visual representation of an Android application
ConnectivityManager
ShareActionProvider
Activity
onStop();
21. To create an activity - you must create a subclass of
<declare-styleable>
Geocoder
Activity
Wi-Fi radio
22. Are used in activities to create the user interface and to interact with the user.
Fragments
Dalvik Virtual Machine
adb
Activity
23. 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
dual-
PackageManager
HttpURLConnection
onSearchRequested()
24. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
virtual table
onCreate() - onDestroy()
searchable configuration
ValueAnimator
25. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
Stack - back stack
Android SDK
AbstractAccountAuthenticator
Geocoder
26. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Hierarchy Viewer
SearchView
Android SDK
BroadcastReceiver
27. 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.
adb
Paint
android.hardware.touchscreen
InputStream
28. This is used for the need of finer control over your view's layout parameters.
BroadcastReceiver
onMeasure()
isConnected()
ConnectivityManager
29. 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?
ConnectivityManager
Stack
EXTRA_STREAM
Deserialize
30. Shows the actual amount of memory the application uses
SearchView
Application footprint
View
Google Play
31. This class is the basis for handling flywheel-style fling gestures.
visible
dual-
Scroller
View
32. Converts XML Document to XML DOM
ConnectivityManager
Advanced Training
SQLiteOpenHelper
Parser
33. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Entire
authenticator class
Activity
BatteryManager
34. The industry standard way to deal with authentication to third-party services.
OAuth2 protocol
Full power
AsyncTask
Layouts
35. For example - a ____ might be a button that initiates an action when the user touches it.
View
PackageManager
Canvas
virtual table
36. This object contains an account name - which for Google accounts is an email address.
SearchView
InputStream
HttpURLConnection
Account
37. It is called to invoke the search dialog on older devices.
ConnectivityManager
AsyncTask
onSearchRequested()
onStop();
38. It is a free service for sending messages to Android devices.
OnCurrentItemChanged
AudioManager
<declare-styleable>
Google Cloud Messaging (GCM)
39. It's generally a good idea for one of your APKs to support this texture format as it is supported by all Android-powered devices that support the OpenGL ES 2.0 spec.
single-pane
onCreate() - onDestroy()
ETC1
Geocoder
40. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
OnCurrentItemChanged
visible
View
Activity
41. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Lifecycle callback methods
BroadcastReceiver
Low power
Scroller
42. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
onCreate();
Services
authenticator class
SurfaceView
43. This broadcasts an action whenever the device is connected or disconnected from power.
InputStream
SQLite
BatteryManager
LocationManager
44. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
SearchView
onCreate() - onDestroy()
onStop();
visible
45. An open source stand alone database
SQLite
onPause();
Explicit intent
Extensible Markup Language (XML)
46. It provides a simple way to perform your work outside the main thread.
ACTION_DOCK_EVENT
Paint
AsyncTask
security sandbox
47. 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.
ViewStub
Ducking
onCreate();
onDestroy();
48. Necessary tools to develop Android applications
Activity
Android SDK
Explicit intent
Fragments
49. In most cases this will offer greater bandwidth at a significantly lower battery cost.
BatteryManager
Application resources
Wi-Fi radio
ConnectivityManager
50. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
SecurityException
isConnected()
setContentView
Dalvik Virtual Machine