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. An open source group led by Google
View
XmlPullParser
Open Handset Alliance
Scroller
2. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
Application footprint
ViewStub
Canvas
Full power
3. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
auth scope
Back stack
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
drawText()
4. This class is the basis for handling flywheel-style fling gestures.
visible
Scroller
drawText()
ValueAnimator
5. To define custom attributes - add this resources to your project.
SearchView
<declare-styleable>
Application footprint
ACTION_DOCK_EVENT
6. 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
BatteryManager
onCreate() - onDestroy()
PackageManager
SurfaceHolder.Callback
7. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Ducking
LocationManager
Widgets
PackageManager
8. You can set the layout as the UI for your activity with passing the resource ID for the layout.
auth scope
onResume();
setContentView
Android SDK
9. Where Android is currently primarily developed
Google
Parser
ACTION_DOCK_EVENT
LocationManager
10. To create an activity - you must create a subclass of
ConnectivityManager
Activity
Linux based
Google Cloud Messaging (GCM)
11. This class provides one of the simplest ways to fire off a new task from the UI thread.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
OnCurrentItemChanged
AsyncTask
Dalvik Debug Monitor Server
12. Are used in activities to create the user interface and to interact with the user.
Fragments
Service Content Provider
Application footprint
Linux based
13. This is the simplest way to monitor device state changes.
onMeasure()
LocationManager
BroadcastReceiver
auth scope
14. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
SearchView
Widgets
isConnected()
ACTION_SEND
15. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
ConnectivityManager
HttpURLConnection
XmlPullParser
Google Cloud Messaging (GCM)
16. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
SurfaceHolder.Callback
onAudioFocusChange()
PieChart
ConnectivityManager
17. When a new activity starts - it is pushed onto the ____ and takes user focus.
inflate()
LocationManager
Back stack
onDraw()
18. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
onMeasure()
Canvas
Activity
getInputStream()
19. This includes tools to help you identify problems in your layout performance.
HttpURLConnection
SQLite
ActionProvider
Android SDK
20. This widget as an item in the action bar is the preferred way to provide search in your app.
touch
SearchView
OAuth2 protocol
Google Play
21. Converts XML Document to XML DOM
Parser
Layouts
Open Handset Alliance
Linux based
22. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
adb
SQLiteOpenHelper
authenticator class
Application resources
23. On a rooted device - the credentials would be readable by anyone with this access to the device.
Intents
XmlPullParser
adb
AccountAuthenticatorActivity
24. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Objects Activity lifecycle
ActionProvider
Scroller
Dalvik Virtual Machine
25. Callback method: The activity has become visible.
onResume();
View
onCreate() - onDestroy()
Component - screen
26. 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
Explicit intent
ActionProvider
Component - screen
ValueAnimator
27. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
onDraw()
InputStream
Entire
Explicit intent
28. The helper method is used to create the final width and height values.
resolveSizeAndState()
LTE
LocationManager
Layouts
29. In order to get a list of accounts on the device - your app needs this permission.
PackageManager
Scroller
GET_ACCOUNTS
Widgets
30. It inform the system what intents an application component is willing to accept.
visible
Intent filters
ActionProvider
Stack
31. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
ConnectivityManager
ConnectivityManager
BatteryManager
OnCurrentItemChanged
32. This is used to convert raw touch events into gestures.
Serialize
GestureDetector
SearchView
<declare-styleable>
33. This action is used in sending text content from one activity to another.
virtual table
SurfaceView
Dalvik Virtual Machine
ACTION_SEND
34. Shows the actual amount of memory the application uses
BatteryManager
onSearchRequested()
Application footprint
AccountAuthenticatorActivity
35. It is a set of rules for encoding documents in machine-readable form.
Extensible Markup Language (XML)
Dots per inch
Standby
LocationManager
36. An intermediate state that uses around 50% of the battery power at the full state.
Stack - back stack
Low power
BroadcastReceiver
LocationManager
37. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
ACTION_DOCK_EVENT
ACTION_SEND
visible
Google Cloud Messaging (GCM)
38. It is a free service for sending messages to Android devices.
Google Cloud Messaging (GCM)
Application footprint
Fragments
AsyncTask
39. These helpers are specialized classes for backing up certain kinds of data.
Google Play
AccountAuthenticatorActivity
Services
BackupHelper
40. Callback method: The activity is being created.
onCreate();
Linux based
Intents
Fragments
41. It is called to invoke the search dialog on older devices.
Hierarchy Viewer
Geocoder
onSearchRequested()
View
42. 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.
onStop();
Ducking
Google Cloud Messaging (GCM)
BroadcastReceiver
43. Whenever the device is docked or undocked - this action is broadcast.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
BatteryManager
ACTION_DOCK_EVENT
Intent filters
44. Allow to combine loosely coupled components to perform certain tasks
resolveSizeAndState()
Extensible Markup Language (XML)
onSearchRequested()
Intents
45. Use this to draw text.
When the activity resumes
onCreate() - onDestroy()
Application footprint
drawText()
46. Android request its permission using its ________
AndroidManifest.xml
Scroller
onMeasure()
onDraw()
47. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
Widgets
When the activity resumes
ACTION_DOCK_EVENT
LTE
48. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
onCreate() - onDestroy()
AccountAuthenticatorActivity
SQLiteOpenHelper
Services
49. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
PackageManager
onCreate() - onDestroy()
Dalvik Debug Monitor Server
Android SDK
50. The entire lifetime of an activity happens between the call to _____ and the call to _____
Activity
SurfaceView
onCreate() - onDestroy()
OAuth2