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. It is called to invoke the search dialog on older devices.
ActionProvider
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
GET_ACCOUNTS
onSearchRequested()
2. Callback method: The activity is no longer visible
Objects Activity lifecycle
onStop();
Open Handset Alliance
Serialize
3. Relative to pixels and resolution screen
Activity
ACTION_SEND
Dots per inch
ShareActionProvider
4. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Entire
<declare-styleable>
SQLiteOpenHelper
ACTION_DOCK_EVENT
5. Use this to draw bitmaps.
Service Content Provider
drawBitmap()
Destroyed - previous
ViewStub
6. This is a readable source of bytes.
InputStream
Scroller
AndroidManifest.xml
AsyncTask
7. This broadcasts an action whenever the device is connected or disconnected from power.
touch
BatteryManager
SQLiteOpenHelper
SurfaceView
8. This includes tools to help you identify problems in your layout performance.
Android SDK
android.hardware.touchscreen
Low power
Extensible Markup Language (XML)
9. This is the simplest way to monitor device state changes.
adb
ACTION_DOCK_EVENT
BroadcastReceiver
Stack
10. The helper method is used to create the final width and height values.
resolveSizeAndState()
AttributeSet
Linux based
onCreate() - onDestroy()
11. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
LocationManager
onAudioFocusChange()
Entire
SQLite
12. This class exposes a number of methods for applications to receive location updates.
LocationManager
inflate()
SettingsActivity
onCreate();
13. In most cases this will offer greater bandwidth at a significantly lower battery cost.
onDraw()
setVolumeControlStream()
Wi-Fi radio
Low power
14. 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
getInputStream()
SearchView
SurfaceView
15. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
BroadcastReceiver
GestureDetector
Objects Activity lifecycle
Google Cloud Messaging for Android (GCM)
16. Conversion of XML back to an object
Deserialize
auth scope
Stack - back stack
onCreate() - onDestroy()
17. The dock-state details are included as an extra in a sticky broadcast of this action.
AsyncTask
ACTION_DOCK_EVENT
Geocoder
View
18. This is used to fetch the account names that the user has stored on their device.
onDestroy();
Android SDK
Account Manager
PackageManager
19. 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
Account Manager
Account
When the activity resumes
PackageManager
20. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
BatteryManager
onCreate() - onDestroy()
SQLite
ShareActionProvider
21. Allow to combine loosely coupled components to perform certain tasks
onCreate();
ConnectivityManager
Ducking
Intents
22. 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?
Fragments
AttributeSet
View
LTE
23. Most network-connected Android apps use this to send and receive data.
HTTP
Back stack
AttributeSet
Lifecycle callback methods
24. Sharing of data in Android is done via________
onStop();
resolveSizeAndState()
SQLiteOpenHelper
Service Content Provider
25. The entire lifetime of an activity happens between the call to _____ and the call to _____
OAuth2
onCreate() - onDestroy()
View
Deserialize
26. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
getInputStream()
AsyncTask
ACTION_DOCK_EVENT
onMeasure()
27. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
Parser
When the activity resumes
EXTRA_STREAM
authenticator class
28. Evaluation of registered components
onStop();
android.hardware.touchscreen
GET_ACCOUNTS
Implicit intent
29. 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
onStart() - onStop()
ACTION_SEND
Low power
Component - screen
30. Android is __________.
Linux based
SQLiteOpenHelper
SQLite
AsyncTask
31. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
ActionProvider
InputStream
android.hardware.touchscreen
AudioManager
32. Android system uses a special virtual machine to run java based applicatons
Application resources
authenticator class
Dalvik Virtual Machine
AudioManager
33. Theseare a key part of Android applications that directly affect the user experience.
Advanced Training
Activity
Ducking
Layouts
34. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
Google Cloud Messaging for Android (GCM)
auth scope
AbstractAccountAuthenticator
SQLite
35. Callback method: The activity is no longer visible.
GET_ACCOUNTS
LocationManager
Scroller
onStop();
36. It doesn't currently support the <merge/> tag in the layouts to be inflated.
drawText()
ViewStub
Account
onSearchRequested()
37. An open source stand alone database
SQLite
ACTION_SEND
Low power
SurfaceView
38. On a rooted device - the credentials would be readable by anyone with this access to the device.
adb
Activity
ShareActionProvider
AbstractAccountAuthenticator
39. This class provides one of the simplest ways to fire off a new task from the UI thread.
Lifecycle callback methods
AsyncTask
Paint
Google
40. Direct component call in Android
SQLiteOpenHelper
Explicit intent
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
AsyncTask
41. Use this to draw text.
drawText()
PieChart
OAuth2 protocol
onDestroy();
42. Whenever the device is docked or undocked - this action is broadcast.
ACTION_SEND
auth scope
ACTION_DOCK_EVENT
BatteryManager
43. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
GestureDetector
auth scope
inflate()
Application resources
44. It provides a simple way to perform your work outside the main thread.
onStart() - onStop()
AsyncTask
OAuth2 protocol
security sandbox
45. Callback method: The activity is being created.
auth scope
AttributeSet
onCreate();
XmlPullParser
46. It inform the system what intents an application component is willing to accept.
Intent filters
SQLiteOpenHelper
XmlPullParser
onSearchRequested()
47. It is a set of rules for encoding documents in machine-readable form.
Extensible Markup Language (XML)
Serialize
AccountAuthenticatorActivity
onMeasure()
48. Callback method: The activity is about to be destroyed.
onDestroy();
XmlPullParser
LTE
Dalvik Debug Monitor Server
49. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
Stack - back stack
HttpURLConnection
Open Handset Alliance
Paint
50. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Advanced Training
authenticator class
Wi-Fi radio
Serialize