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. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
LTE
AccountAuthenticatorActivity
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
View
2. Android is __________.
Linux based
ValueAnimator
Standby
adb
3. Callback method: The activity is no longer visible.
AsyncTask
Wi-Fi radio
setVolumeControlStream()
onStop();
4. Callback method: Another activity is taking focus
Activity
Activity
ACTION_DOCK_EVENT
onPause();
5. Callback method: The activity has become visible.
SQLite
Fragments
onResume();
resolveSizeAndState()
6. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
getInputStream()
SQLite
Stack
Paint
7. It inform the system what intents an application component is willing to accept.
Intent filters
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
BroadcastReceiver
onStop();
8. Shows the actual amount of memory the application uses
onDestroy();
Account
Application footprint
searchable configuration
9. This class exposes a number of methods for applications to receive location updates.
LocationManager
onDestroy();
ACTION_DOCK_EVENT
ShareActionProvider
10. To create an activity - you must create a subclass of
Activity
Back stack
visible
onAudioFocusChange()
11. Represents the visual representation of an Android application
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Activity
BroadcastReceiver
searchable configuration
12. This is used for the need of finer control over your view's layout parameters.
onMeasure()
Paint
SurfaceView
SearchView
13. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
onStop();
Stack
Account Manager
ConnectivityManager
14. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
onResume();
setVolumeControlStream()
AsyncTask
Advanced Training
15. This provides methods to define line's color - whether to fill a rectangle with a color or leave it empty - and defines the color - style - font - and so forth of each shape you draw.
Application resources
Paint
OnCurrentItemChanged
Stack
16. It is available starting with API Level 14 and higher.
Scroller
BroadcastReceiver
ShareActionProvider
drawBitmap()
17. Most network-connected Android apps use this to send and receive data.
Ducking
BackupHelper
Intent filters
HTTP
18. In order to get a list of accounts on the device - your app needs this permission.
LocationManager
android.hardware.touchscreen
GET_ACCOUNTS
LocationManager
19. Relative to pixels and resolution screen
Dots per inch
View
ValueAnimator
Google Cloud Messaging for Android (GCM)
20. 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
Android SDK
Advanced Training
onStop();
21. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
onAudioFocusChange()
SQLite
PieChart
Activity
22. The most common way to define a layout using views is with an XML layout file saved in your ______
OAuth2
Service Content Provider
Deserialize
Application resources
23. This is used to check that you're actually connected to the Internet and what type of connection is in place.
HttpURLConnection
Paint
ConnectivityManager
AsyncTask
24. Android request its permission using its ________
AndroidManifest.xml
Layouts
EXTRA_STREAM
authenticator class
25. Direct component call in Android
Objects Activity lifecycle
Explicit intent
Geocoder
Intents
26. Evaluation of registered components
dual-
Implicit intent
isConnected()
ActionProvider
27. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
XmlPullParser
AbstractAccountAuthenticator
onCreate();
AsyncTask
28. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
Dalvik Debug Monitor Server
onCreate() - onDestroy()
Geocoder
ViewStub
29. Conversion of an object to XML
EXTRA_STREAM
Serialize
Destroyed - previous
Intent filters
30. Android provides this handy method to direct volume key presses to the audio stream the user specify.
View
When the activity resumes
setVolumeControlStream()
ViewStub
31. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
AttributeSet
OnCurrentItemChanged
Component - screen
ViewStub
32. Amode where the action bar is set up with tabs for navigation.
AndroidManifest.xml
SecurityException
dual-
Ducking
33. It provides a simple way to perform your work outside the main thread.
Google Cloud Messaging (GCM)
Intents
AbstractAccountAuthenticator
AsyncTask
34. An intermediate state that uses around 50% of the battery power at the full state.
Dalvik Debug Monitor Server
View
Low power
Google Cloud Messaging (GCM)
35. This is the simplest way to monitor device state changes.
BroadcastReceiver
authenticator class
AudioManager
Deserialize
36. On a rooted device - the credentials would be readable by anyone with this access to the device.
Wi-Fi radio
Activity
adb
LTE
37. This is used to convert raw touch events into gestures.
ConnectivityManager
GestureDetector
onAudioFocusChange()
Canvas
38. This can be used to draw previews of what the camera sensor is picking up.
dual-
SurfaceView
Google Cloud Messaging (GCM)
Scroller
39. 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
Component - screen
ETC1
ACTION_DOCK_EVENT
Google
40. Sharing of data in Android is done via________
Service Content Provider
resolveSizeAndState()
ACTION_SEND
AndroidManifest.xml
41. This widget as an item in the action bar is the preferred way to provide search in your app.
SearchView
OnCurrentItemChanged
AndroidManifest.xml
authenticator class
42. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
HttpURLConnection
ConnectivityManager
touch
Google Cloud Messaging (GCM)
43. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
AndroidManifest.xml
Destroyed - previous
isConnected()
onCreate();
44. This is a readable source of bytes.
SecurityException
Explicit intent
InputStream
onDestroy();
45. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
drawText()
Scroller
getInputStream()
Google Cloud Messaging for Android (GCM)
46. It is an efficient and maintainable way to parse XML on Android.
ActionProvider
XmlPullParser
onCreate() - onDestroy()
GET_ACCOUNTS
47. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
onCreate() - onDestroy()
Entire
onCreate() - onDestroy()
NetworkInfo
48. It is called to invoke the search dialog on older devices.
onSearchRequested()
security sandbox
auth scope
onCreate() - onDestroy()
49. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Service Content Provider
ShareActionProvider
Application resources
Layouts
50. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
AbstractAccountAuthenticator
AsyncTask
When the activity resumes
setContentView