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 most cases this will offer greater bandwidth at a significantly lower battery cost.
Account Manager
setVolumeControlStream()
Wi-Fi radio
OAuth2 protocol
2. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
ACTION_SEND
Lifecycle callback methods
ConnectivityManager
onAudioFocusChange()
3. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
View
SearchView
ACTION_SEND
Ducking
4. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
AudioManager
Dots per inch
ACTION_DOCK_EVENT
Geocoder
5. Are used in activities to create the user interface and to interact with the user.
security sandbox
Activity
HttpURLConnection
Fragments
6. If permissions are missing - the application will get this at runtime.
SecurityException
BackupHelper
AsyncTask
Wi-Fi radio
7. This is used to fetch the account names that the user has stored on their device.
BatteryManager
Widgets
Account Manager
drawBitmap()
8. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
SQLiteOpenHelper
drawBitmap()
ConnectivityManager
Dalvik Debug Monitor Server
9. Whenever the device is docked or undocked - this action is broadcast.
SurfaceView
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
auth scope
ACTION_DOCK_EVENT
10. Allow to combine loosely coupled components to perform certain tasks
Intents
ViewStub
drawBitmap()
onStart() - onStop()
11. Represents the visual representation of an Android application
Activity
Objects Activity lifecycle
Fragments
isConnected()
12. This can be used to draw previews of what the camera sensor is picking up.
BatteryManager
SurfaceView
BackupHelper
SettingsActivity
13. An _______ is an application component that provides a screen 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.
Activity
onMeasure()
Objects Activity lifecycle
LTE
14. Callback method: The activity is being created.
AudioManager
onCreate();
Linux based
Layouts
15. The dock-state details are included as an extra in a sticky broadcast of this action.
ACTION_DOCK_EVENT
Activity
Layouts
Back stack
16. Android request its permission using its ________
Account Manager
AndroidManifest.xml
drawText()
SearchView
17. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Layouts
Activity
Intents
touch
18. This is used for the need of finer control over your view's layout parameters.
GestureDetector
Standby
Stack - back stack
onMeasure()
19. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Service Content Provider
Google Cloud Messaging for Android (GCM)
SearchView
drawBitmap()
20. Shows the actual amount of memory the application uses
Application footprint
Serialize
SurfaceView
InputStream
21. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
onCreate() - onDestroy()
ConnectivityManager
Dalvik Virtual Machine
Stack - back stack
22. This is used to check that you're actually connected to the Internet and what type of connection is in place.
SQLiteOpenHelper
When the activity resumes
onCreate();
ConnectivityManager
23. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
visible
BroadcastReceiver
Google Cloud Messaging for Android (GCM)
AttributeSet
24. On a rooted device - the credentials would be readable by anyone with this access to the device.
ValueAnimator
SQLite
SurfaceView
adb
25. This class is the basis for handling flywheel-style fling gestures.
Widgets
Scroller
SearchView
onSearchRequested()
26. Callback method: Another activity is taking focus
Full power
Fragments
onPause();
onCreate() - onDestroy()
27. It provides a single value - called an auth token that represents both the user's identity and the application's authorization to act on the user's behalf.
ACTION_DOCK_EVENT
OAuth2
ACTION_SEND
HTTP
28. Most network-connected Android apps use this to send and receive data.
LTE
onStop();
drawText()
HTTP
29. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
resolveSizeAndState()
Wi-Fi radio
Service Content Provider
Objects Activity lifecycle
30. The entire lifetime of an activity happens between the call to _____ and the call to _____
onCreate() - onDestroy()
searchable configuration
onStop();
OAuth2
31. Use this to draw bitmaps.
XmlPullParser
LocationManager
Scroller
drawBitmap()
32. The minimal energy state during which no network connection is active or required.
visible
Standby
Paint
onMeasure()
33. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
PackageManager
authenticator class
HTTP
Standby
34. Converts XML Document to XML DOM
Parser
dual-
Component - screen
Entire
35. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
auth scope
AccountAuthenticatorActivity
android.hardware.touchscreen
Scroller
36. 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
AsyncTask
Component - screen
InputStream
setVolumeControlStream()
37. These helpers are specialized classes for backing up certain kinds of data.
BackupHelper
resolveSizeAndState()
virtual table
ViewStub
38. Binary data is shared using the ACTION_SEND action combined with setting the appropriate MIME type and placing the URI to the data in an extra named called?
Scroller
Hierarchy Viewer
EXTRA_STREAM
onDestroy();
39. This action is used in sending text content from one activity to another.
inflate()
ACTION_SEND
onAudioFocusChange()
authenticator class
40. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
Implicit intent
Application footprint
PackageManager
HttpURLConnection
41. It is an efficient and maintainable way to parse XML on Android.
ShareActionProvider
SurfaceHolder.Callback
XmlPullParser
HttpURLConnection
42. The most common way to define a layout using views is with an XML layout file saved in your ______
Application resources
InputStream
onCreate() - onDestroy()
SQLiteOpenHelper
43. It provides a simple way to perform your work outside the main thread.
AsyncTask
Extensible Markup Language (XML)
Explicit intent
onResume();
44. Use this to draw text.
android.hardware.touchscreen
drawText()
onStart() - onStop()
SQLiteOpenHelper
45. Android provides this handy method to direct volume key presses to the audio stream the user specify.
touch
Layouts
SurfaceHolder.Callback
setVolumeControlStream()
46. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
LocationManager
onDraw()
Serialize
SearchView
47. Callback method: The activity is about to be destroyed.
setVolumeControlStream()
auth scope
ValueAnimator
onDestroy();
48. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
touch
isConnected()
auth scope
NetworkInfo
49. This is an interface which is used to pass image data from the camera hardware to the application.
Ducking
SurfaceHolder.Callback
Geocoder
ViewStub
50. 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.
Entire
Ducking
Account Manager
ConnectivityManager