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. Are used in activities to create the user interface and to interact with the user.
Fragments
AudioManager
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Layouts
2. 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.
drawBitmap()
SQLiteOpenHelper
Paint
dual-
3. Sharing of data in Android is done via________
onStop();
SearchView
Activity
Service Content Provider
4. To create an activity - you must create a subclass of
BackupHelper
onCreate() - onDestroy()
Activity
Open Handset Alliance
5. Most network-connected Android apps use this to send and receive data.
InputStream
HTTP
resolveSizeAndState()
onCreate() - onDestroy()
6. Whenever the device is docked or undocked - this action is broadcast.
ETC1
View
onPause();
ACTION_DOCK_EVENT
7. This class is the basis for handling flywheel-style fling gestures.
GET_ACCOUNTS
Wi-Fi radio
AccountAuthenticatorActivity
Scroller
8. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
inflate()
GET_ACCOUNTS
security sandbox
LTE
9. The helper method is used to create the final width and height values.
Wi-Fi radio
resolveSizeAndState()
Geocoder
Activity
10. This is used for the need of finer control over your view's layout parameters.
SQLite
BackupHelper
Ducking
onMeasure()
11. ______ are views derived from ViewGroup that provide a unique layout model for its child views
virtual table
Layouts
Google Cloud Messaging (GCM)
onCreate();
12. These helpers are specialized classes for backing up certain kinds of data.
Destroyed - previous
Intents
onPause();
BackupHelper
13. Perform background tasks without providing a user interface
Services
ACTION_DOCK_EVENT
onDestroy();
Entire
14. Evaluation of registered components
Dots per inch
Wi-Fi radio
Implicit intent
BroadcastReceiver
15. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Geocoder
ACTION_SEND
Stack - back stack
Back stack
16. When a view is created from an XML layout - all of the attributes in the XML tag are read from the resource bundle and passed into the view's constructor as a what?
onCreate();
<declare-styleable>
EXTRA_STREAM
AttributeSet
17. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
ShareActionProvider
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
onCreate() - onDestroy()
SettingsActivity
18. This is used to convert raw touch events into gestures.
AsyncTask
GestureDetector
onStop();
inflate()
19. Use this to draw text.
Widgets
LTE
Scroller
drawText()
20. Callback method: Another activity is taking focus
onPause();
visible
GestureDetector
onMeasure()
21. An open source group led by Google
Open Handset Alliance
Layouts
Stack
Google
22. Necessary tools to develop Android applications
Android SDK
SearchView
Intent filters
EXTRA_STREAM
23. To define custom attributes - add this resources to your project.
ViewStub
<declare-styleable>
onCreate();
Deserialize
24. 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 protocol
OAuth2
Android SDK
AsyncTask
25. Callback method: The activity is no longer visible
Emulator
Lifecycle callback methods
AttributeSet
onStop();
26. Represents the visual representation of an Android application
Lifecycle callback methods
OnCurrentItemChanged
ACTION_DOCK_EVENT
Activity
27. This is the simplest way to monitor device state changes.
BroadcastReceiver
drawText()
onCreate();
Scroller
28. For example - a ____ might be a button that initiates an action when the user touches it.
View
ETC1
android.hardware.touchscreen
Back stack
29. A service in which programmers can offer their Android application to Android users.
Google Play
getInputStream()
Implicit intent
android.hardware.touchscreen
30. This is the most common input event in the Android system.
touch
ConnectivityManager
When the activity resumes
Scroller
31. This class exposes a number of methods for applications to receive location updates.
SQLiteOpenHelper
LocationManager
Deserialize
SettingsActivity
32. 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.
Ducking
AsyncTask
Paint
security sandbox
33. The minimal energy state during which no network connection is active or required.
Intent filters
Standby
onStart() - onStop()
PackageManager
34. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
setContentView
ETC1
Canvas
View
35. The most common way to define a layout using views is with an XML layout file saved in your ______
security sandbox
ETC1
Application resources
OAuth2 protocol
36. Android request its permission using its ________
AndroidManifest.xml
BackupHelper
ViewStub
Advanced Training
37. It is a free service for sending messages to Android devices.
Explicit intent
SearchView
Google Cloud Messaging (GCM)
dual-
38. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Hierarchy Viewer
onStop();
Entire
Application footprint
39. It is a subclass of PreferenceActivity.
Services
Canvas
SQLite
SettingsActivity
40. Converts XML Document to XML DOM
SurfaceView
onStop();
Parser
SettingsActivity
41. Amode where the action bar is set up with tabs for navigation.
dual-
BatteryManager
onAudioFocusChange()
Explicit intent
42. Where Android is currently primarily developed
OnCurrentItemChanged
resolveSizeAndState()
Google
Android SDK
43. is run when running Android on the pc
Dalvik Debug Monitor Server
ACTION_SEND
Emulator
touch
44. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Geocoder
AndroidManifest.xml
setContentView
Dots per inch
45. 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
Stack - back stack
Services
Objects Activity lifecycle
46. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Google Play
Google Cloud Messaging for Android (GCM)
AsyncTask
PieChart
47. This is used to fetch the account names that the user has stored on their device.
Deserialize
Google Play
Account Manager
InputStream
48. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
resolveSizeAndState()
AndroidManifest.xml
AbstractAccountAuthenticator
Low power
49. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
Ducking
AsyncTask
AccountAuthenticatorActivity
security sandbox
50. It is used to load images in a background thread - then apply them to the UI once finished.
AsyncTask
ValueAnimator
Activity
onCreate() - onDestroy()