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 provides a simple way to perform your work outside the main thread.
adb
BatteryManager
AsyncTask
BatteryManager
2. Use this to draw text.
PieChart
Emulator
XmlPullParser
drawText()
3. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
OAuth2 protocol
AccountAuthenticatorActivity
Application footprint
inflate()
4. Callback method: Another activity is taking focus
AndroidManifest.xml
onPause();
Google Play
getInputStream()
5. 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
Open Handset Alliance
Wi-Fi radio
AccountAuthenticatorActivity
PackageManager
6. Allow to combine loosely coupled components to perform certain tasks
SQLiteOpenHelper
Intents
Activity
Canvas
7. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Linux based
Google Cloud Messaging (GCM)
Activity
SQLiteOpenHelper
8. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Activity
Android SDK
Explicit intent
Canvas
9. Once installed on a device - each Android application lives in its own ______
Activity
ViewStub
auth scope
security sandbox
10. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
searchable configuration
HttpURLConnection
Objects Activity lifecycle
getInputStream()
11. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
ValueAnimator
Scroller
Objects Activity lifecycle
Intent filters
12. This is used to register and de-register your media button event receiver.
Entire
ViewStub
AudioManager
LocationManager
13. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
EXTRA_STREAM
Open Handset Alliance
getInputStream()
Advanced Training
14. Sharing of data in Android is done via________
ACTION_SEND
BroadcastReceiver
View
Service Content Provider
15. Android request its permission using its ________
AsyncTask
Back stack
onCreate();
AndroidManifest.xml
16. Whenever the device is docked or undocked - this action is broadcast.
Hierarchy Viewer
setContentView
SearchView
ACTION_DOCK_EVENT
17. Evaluation of registered components
Implicit intent
HTTP
ETC1
onAudioFocusChange()
18. Where Android is currently primarily developed
Service Content Provider
PackageManager
Google
BatteryManager
19. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
onStop();
Services
<declare-styleable>
BroadcastReceiver
20. This is the simplest way to monitor device state changes.
BroadcastReceiver
ACTION_DOCK_EVENT
GestureDetector
ETC1
21. Necessary tools to develop Android applications
visible
onCreate() - onDestroy()
security sandbox
Android SDK
22. Theseare a key part of Android applications that directly affect the user experience.
Layouts
Open Handset Alliance
AndroidManifest.xml
resolveSizeAndState()
23. The helper method is used to create the final width and height values.
Extensible Markup Language (XML)
resolveSizeAndState()
Stack - back stack
Android SDK
24. Android provides this handy method to direct volume key presses to the audio stream the user specify.
inflate()
setVolumeControlStream()
InputStream
onResume();
25. It is an efficient and maintainable way to parse XML on Android.
SurfaceView
XmlPullParser
Google Play
AttributeSet
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
BroadcastReceiver
View
AudioManager
Component - screen
27. It is called to invoke the search dialog on older devices.
onSearchRequested()
onPause();
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
touch
28. The industry standard way to deal with authentication to third-party services.
Fragments
SurfaceHolder.Callback
onCreate() - onDestroy()
OAuth2 protocol
29. It is a subclass of PreferenceActivity.
Layouts
OAuth2
onAudioFocusChange()
SettingsActivity
30. Represents the visual representation of an Android application
Activity
XmlPullParser
BatteryManager
Standby
31. This broadcasts an action whenever the device is connected or disconnected from power.
Deserialize
InputStream
BatteryManager
onMeasure()
32. Perform background tasks without providing a user interface
Hierarchy Viewer
Open Handset Alliance
LTE
Services
33. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
SearchView
Android SDK
getInputStream()
auth scope
34. This is an interface which is used to pass image data from the camera hardware to the application.
Service Content Provider
Application resources
SurfaceHolder.Callback
Geocoder
35. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
HTTP
GestureDetector
ViewStub
Emulator
36. It made implementing an effective and user friendly share action in your ActionBar even easier.
resolveSizeAndState()
ActionProvider
Canvas
AsyncTask
37. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
Android SDK
GET_ACCOUNTS
onPause();
authenticator class
38. It is used to load images in a background thread - then apply them to the UI once finished.
Paint
AsyncTask
PieChart
Stack
39. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
onCreate();
OnCurrentItemChanged
touch
Stack
40. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Lifecycle callback methods
GestureDetector
ShareActionProvider
InputStream
41. If permissions are missing - the application will get this at runtime.
Extensible Markup Language (XML)
LocationManager
security sandbox
SecurityException
42. The dock-state details are included as an extra in a sticky broadcast of this action.
BroadcastReceiver
GET_ACCOUNTS
ACTION_DOCK_EVENT
Application resources
43. 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
Low power
authenticator class
Google Cloud Messaging for Android (GCM)
44. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
HttpURLConnection
Intents
Layouts
dual-
45. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
drawBitmap()
Linux based
onCreate() - onDestroy()
GestureDetector
46. A styleable entity that contains these two custom attributes: showText and labelPosition.
onCreate() - onDestroy()
ETC1
drawText()
PieChart
47. When a new activity starts - it is pushed onto the ____ and takes user focus.
Hierarchy Viewer
isConnected()
Android SDK
Back stack
48. This can be used to draw previews of what the camera sensor is picking up.
SurfaceView
SQLite
onResume();
LocationManager
49. It inform the system what intents an application component is willing to accept.
setVolumeControlStream()
Intent filters
ConnectivityManager
ETC1
50. Conversion of XML back to an object
BatteryManager
Scroller
AudioManager
Deserialize