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. Android provides this handy method to direct volume key presses to the audio stream the user specify.
SQLite
Component - screen
setVolumeControlStream()
View
2. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
Services
AccountAuthenticatorActivity
visible
onCreate() - onDestroy()
3. This action is used in sending text content from one activity to another.
ACTION_SEND
Destroyed - previous
Emulator
Layouts
4. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
Activity
BatteryManager
Wi-Fi radio
SecurityException
5. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
onAudioFocusChange()
Objects Activity lifecycle
BackupHelper
Stack - back stack
6. The minimal energy state during which no network connection is active or required.
visible
Explicit intent
Google Cloud Messaging for Android (GCM)
Standby
7. The back stack abides to the basic "last in - first out" stack mechanism - so - when the user is done with the current activity and presses the Back button - it is popped from the stack (and ____) and the ____ activity resumes
ACTION_DOCK_EVENT
Destroyed - previous
Dalvik Virtual Machine
Back stack
8. The helper method is used to create the final width and height values.
resolveSizeAndState()
PackageManager
Stack
InputStream
9. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
GET_ACCOUNTS
BroadcastReceiver
Linux based
Lifecycle callback methods
10. It inform the system what intents an application component is willing to accept.
Stack - back stack
AccountAuthenticatorActivity
Intent filters
Android SDK
11. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
View
Google Cloud Messaging for Android (GCM)
onCreate();
Full power
12. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
InputStream
AbstractAccountAuthenticator
ConnectivityManager
LocationManager
13. Callback method: The activity is no longer visible.
Extensible Markup Language (XML)
onStop();
onMeasure()
ValueAnimator
14. This is used to fetch the account names that the user has stored on their device.
Account Manager
HTTP
Stack - back stack
single-pane
15. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
AccountAuthenticatorActivity
OAuth2 protocol
drawText()
16. You can set the layout as the UI for your activity with passing the resource ID for the layout.
onAudioFocusChange()
setContentView
Account
BatteryManager
17. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
BroadcastReceiver
OnCurrentItemChanged
AccountAuthenticatorActivity
authenticator class
18. It doesn't currently support the <merge/> tag in the layouts to be inflated.
Implicit intent
ViewStub
NetworkInfo
AccountAuthenticatorActivity
19. It made implementing an effective and user friendly share action in your ActionBar even easier.
Stack
Service Content Provider
Google Cloud Messaging (GCM)
ActionProvider
20. Perform background tasks without providing a user interface
AsyncTask
Services
Android SDK
Implicit intent
21. In order to get a list of accounts on the device - your app needs this permission.
Extensible Markup Language (XML)
Application resources
ConnectivityManager
GET_ACCOUNTS
22. Direct component call in Android
Explicit intent
ActionProvider
Full power
SurfaceHolder.Callback
23. This broadcasts an action whenever the device is connected or disconnected from power.
onCreate() - onDestroy()
onStart() - onStop()
ETC1
BatteryManager
24. On a rooted device - the credentials would be readable by anyone with this access to the device.
Android SDK
single-pane
ETC1
adb
25. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
Scroller
onStop();
HTTP
ViewStub
26. It is used to load images in a background thread - then apply them to the UI once finished.
AsyncTask
OAuth2 protocol
ValueAnimator
Wi-Fi radio
27. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
isConnected()
Geocoder
Android SDK
OAuth2
28. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Parser
authenticator class
SQLiteOpenHelper
BroadcastReceiver
29. To define custom attributes - add this resources to your project.
drawText()
Scroller
<declare-styleable>
Services
30. This is the main class through which your application can access location services on Android.
Standby
LocationManager
Hierarchy Viewer
Dalvik Debug Monitor Server
31. A mode where navigation is set up with a spinner widget.
Advanced Training
Entire
single-pane
ViewStub
32. 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
LocationManager
searchable configuration
Destroyed - previous
Component - screen
33. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
ACTION_DOCK_EVENT
Scroller
Objects Activity lifecycle
Stack - back stack
34. When a new activity starts - it is pushed onto the ____ and takes user focus.
SurfaceHolder.Callback
View
Back stack
getInputStream()
35. This class exposes a number of methods for applications to receive location updates.
Scroller
SearchView
Canvas
LocationManager
36. It is available starting with API Level 14 and higher.
Implicit intent
ShareActionProvider
Destroyed - previous
Intents
37. This is set up to animate for the duration of the fling.
Component - screen
Explicit intent
ValueAnimator
onResume();
38. Shows the actual amount of memory the application uses
Standby
Application footprint
Linux based
Paint
39. This is an interface which is used to pass image data from the camera hardware to the application.
Emulator
setVolumeControlStream()
resolveSizeAndState()
SurfaceHolder.Callback
40. Are used in activities to create the user interface and to interact with the user.
Fragments
SurfaceView
ACTION_SEND
HTTP
41. It is a string that defines the specific type of access your app is asking for.
adb
BackupHelper
auth scope
Intents
42. Sharing of data in Android is done via________
ETC1
dual-
onCreate();
Service Content Provider
43. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
virtual table
Dalvik Debug Monitor Server
onCreate();
setVolumeControlStream()
44. Allow to combine loosely coupled components to perform certain tasks
SurfaceView
Fragments
Google Play
Intents
45. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
BatteryManager
Fragments
onPause();
inflate()
46. Conversion of XML back to an object
auth scope
Emulator
Deserialize
Objects Activity lifecycle
47. Where Android is currently primarily developed
BatteryManager
Google
Scroller
Deserialize
48. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
resolveSizeAndState()
onCreate() - onDestroy()
searchable configuration
Account
49. Callback method: The activity is being created.
setVolumeControlStream()
Ducking
onCreate();
BackupHelper
50. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
AbstractAccountAuthenticator
OAuth2 protocol
onPause();
GestureDetector