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. 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
dual-
ETC1
InputStream
2. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Wi-Fi radio
Android SDK
Widgets
LocationManager
3. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
onCreate() - onDestroy()
BackupHelper
onResume();
Dalvik Debug Monitor Server
4. Callback method: The activity has become visible.
onResume();
OAuth2
LTE
AndroidManifest.xml
5. On a rooted device - the credentials would be readable by anyone with this access to the device.
GET_ACCOUNTS
onStart() - onStop()
onCreate() - onDestroy()
adb
6. This is a readable source of bytes.
Serialize
Dots per inch
InputStream
SurfaceHolder.Callback
7. Where Android is currently primarily developed
onResume();
Google
Services
Canvas
8. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
OnCurrentItemChanged
onCreate() - onDestroy()
adb
AsyncTask
9. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
AccountAuthenticatorActivity
View
<declare-styleable>
ViewStub
10. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Linux based
Google Play
OnCurrentItemChanged
Scroller
11. This is used to convert raw touch events into gestures.
GestureDetector
setVolumeControlStream()
BatteryManager
BatteryManager
12. If permissions are missing - the application will get this at runtime.
Widgets
AccountAuthenticatorActivity
SecurityException
Destroyed - previous
13. Use this to draw bitmaps.
drawBitmap()
SurfaceHolder.Callback
Stack
Widgets
14. This is used to register and de-register your media button event receiver.
AudioManager
Hierarchy Viewer
setVolumeControlStream()
onPause();
15. Direct component call in Android
Explicit intent
Android SDK
BatteryManager
ShareActionProvider
16. Converts XML Document to XML DOM
View
EXTRA_STREAM
Parser
touch
17. This action is used in sending text content from one activity to another.
View
ACTION_SEND
auth scope
onMeasure()
18. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Objects Activity lifecycle
onMeasure()
AsyncTask
onPause();
19. This widget as an item in the action bar is the preferred way to provide search in your app.
HTTP
SecurityException
SearchView
Advanced Training
20. Allow to combine loosely coupled components to perform certain tasks
When the activity resumes
AbstractAccountAuthenticator
Intents
Low power
21. To create an activity - you must create a subclass of
Activity
ViewStub
AccountAuthenticatorActivity
Advanced Training
22. It is called to invoke the search dialog on older devices.
ViewStub
onSearchRequested()
Implicit intent
SQLite
23. It made implementing an effective and user friendly share action in your ActionBar even easier.
BackupHelper
LTE
ActionProvider
visible
24. The visible lifetime of an activity happens between the call to ____ and the call to ______
onStart() - onStop()
BroadcastReceiver
Scroller
setVolumeControlStream()
25. 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()
EXTRA_STREAM
Account
Wi-Fi radio
26. In order to get a list of accounts on the device - your app needs this permission.
GET_ACCOUNTS
Activity
Service Content Provider
AndroidManifest.xml
27. The most common way to define a layout using views is with an XML layout file saved in your ______
Application resources
Full power
Google Play
Paint
28. 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
BatteryManager
GET_ACCOUNTS
setVolumeControlStream()
29. For example - a ____ might be a button that initiates an action when the user touches it.
ViewStub
Back stack
View
BackupHelper
30. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
AsyncTask
ConnectivityManager
Geocoder
ACTION_SEND
31. Represents the visual representation of an Android application
Dalvik Virtual Machine
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Activity
onStop();
32. Android system uses a special virtual machine to run java based applicatons
Dalvik Virtual Machine
Deserialize
ConnectivityManager
isConnected()
33. An open source stand alone database
onDraw()
onCreate();
XmlPullParser
SQLite
34. The dock-state details are included as an extra in a sticky broadcast of this action.
Dalvik Debug Monitor Server
resolveSizeAndState()
ACTION_DOCK_EVENT
HttpURLConnection
35. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Android SDK
Dalvik Virtual Machine
ConnectivityManager
Scroller
36. Whenever the device is docked or undocked - this action is broadcast.
ActionProvider
Dalvik Virtual Machine
ACTION_DOCK_EVENT
authenticator class
37. Sharing of data in Android is done via________
Ducking
Stack
AttributeSet
Service Content Provider
38. Theseare a key part of Android applications that directly affect the user experience.
inflate()
PieChart
Layouts
SearchView
39. This is used to fetch the account names that the user has stored on their device.
Stack - back stack
onStop();
visible
Account Manager
40. This class provides one of the simplest ways to fire off a new task from the UI thread.
Services
Stack - back stack
AudioManager
AsyncTask
41. A styleable entity that contains these two custom attributes: showText and labelPosition.
Destroyed - previous
PieChart
Open Handset Alliance
OAuth2
42. It is a string that defines the specific type of access your app is asking for.
View
auth scope
ConnectivityManager
Destroyed - previous
43. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
ViewStub
Account
HttpURLConnection
onCreate();
44. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Layouts
android.hardware.touchscreen
onAudioFocusChange()
Linux based
45. Amode where the action bar is set up with tabs for navigation.
dual-
Back stack
Entire
security sandbox
46. This can be used to draw previews of what the camera sensor is picking up.
View
Deserialize
SurfaceView
EXTRA_STREAM
47. For example - if your activity has a thread running in the background to download data from the network - it might create that thread in _____ and then stop the thread in _____
single-pane
Lifecycle callback methods
onCreate() - onDestroy()
Emulator
48. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Destroyed - previous
Advanced Training
AttributeSet
Entire
49. You can set the layout as the UI for your activity with passing the resource ID for the layout.
setContentView
Google Cloud Messaging for Android (GCM)
Paint
AttributeSet
50. This is used for the need of finer control over your view's layout parameters.
drawText()
resolveSizeAndState()
onMeasure()
BatteryManager