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.
Wi-Fi radio
onSearchRequested()
setContentView
security sandbox
2. These helpers are specialized classes for backing up certain kinds of data.
BackupHelper
single-pane
SurfaceView
android.hardware.touchscreen
3. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Stack - back stack
onPause();
Implicit intent
drawText()
4. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Android SDK
Layouts
resolveSizeAndState()
LocationManager
5. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
Application footprint
Objects Activity lifecycle
AsyncTask
BatteryManager
6. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
onStop();
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Lifecycle callback methods
SQLite
7. A service in which programmers can offer their Android application to Android users.
drawBitmap()
Google Play
SearchView
onResume();
8. Callback method: The activity is no longer visible
onStop();
View
ViewStub
ConnectivityManager
9. The dock-state details are included as an extra in a sticky broadcast of this action.
ACTION_DOCK_EVENT
onCreate() - onDestroy()
AttributeSet
Objects Activity lifecycle
10. Android provides this handy method to direct volume key presses to the audio stream the user specify.
GET_ACCOUNTS
HttpURLConnection
setVolumeControlStream()
onCreate() - onDestroy()
11. 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
ACTION_DOCK_EVENT
visible
Ducking
12. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
ConnectivityManager
ViewStub
EXTRA_STREAM
Stack
13. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
When the activity resumes
Geocoder
single-pane
visible
14. This class is the basis for handling flywheel-style fling gestures.
Scroller
SearchView
BroadcastReceiver
Layouts
15. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Linux based
android.hardware.touchscreen
Hierarchy Viewer
onCreate() - onDestroy()
16. This object contains an account name - which for Google accounts is an email address.
Widgets
Account
SearchView
ConnectivityManager
17. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
isConnected()
HTTP
onDraw()
onDestroy();
18. Use this to draw bitmaps.
Stack
setVolumeControlStream()
virtual table
drawBitmap()
19. A styleable entity that contains these two custom attributes: showText and labelPosition.
ACTION_DOCK_EVENT
EXTRA_STREAM
onCreate() - onDestroy()
PieChart
20. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
SearchView
Android SDK
isConnected()
LTE
21. This is used for the need of finer control over your view's layout parameters.
Services
onMeasure()
Google Cloud Messaging (GCM)
onStop();
22. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
PieChart
AccountAuthenticatorActivity
Google Cloud Messaging for Android (GCM)
onAudioFocusChange()
23. Callback method: The activity is being created.
Android SDK
AttributeSet
onCreate();
Linux based
24. To create an activity - you must create a subclass of
Parser
EXTRA_STREAM
Dalvik Virtual Machine
Activity
25. This is used to fetch the account names that the user has stored on their device.
Hierarchy Viewer
isConnected()
Account Manager
PackageManager
26. This can be used to draw previews of what the camera sensor is picking up.
setVolumeControlStream()
ETC1
SurfaceView
Scroller
27. Android request its permission using its ________
Activity
Google
HTTP
AndroidManifest.xml
28. Relative to pixels and resolution screen
touch
Explicit intent
SettingsActivity
Dots per inch
29. Sharing of data in Android is done via________
onSearchRequested()
Fragments
Service Content Provider
<declare-styleable>
30. Each activity can then start another activity in order to perform different actions. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a ___ .
adb
onDraw()
Stack
Google Cloud Messaging (GCM)
31. It inform the system what intents an application component is willing to accept.
Intent filters
SQLite
SQLiteOpenHelper
single-pane
32. 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.
Full power
OAuth2
Activity
Explicit intent
33. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
SQLiteOpenHelper
Google Cloud Messaging for Android (GCM)
Android SDK
Widgets
34. When a new activity starts - it is pushed onto the ____ and takes user focus.
EXTRA_STREAM
BatteryManager
drawText()
Back stack
35. Whenever the device is docked or undocked - this action is broadcast.
ACTION_DOCK_EVENT
Layouts
Android SDK
Activity
36. is run when running Android on the pc
Emulator
Parser
ViewStub
single-pane
37. It is an efficient and maintainable way to parse XML on Android.
authenticator class
GET_ACCOUNTS
XmlPullParser
dual-
38. 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
Destroyed - previous
Full power
SecurityException
drawBitmap()
39. To define custom attributes - add this resources to your project.
SettingsActivity
AccountAuthenticatorActivity
<declare-styleable>
SearchView
40. Android is __________.
ViewStub
Intent filters
Linux based
Scroller
41. This is the most common input event in the Android system.
onAudioFocusChange()
AsyncTask
View
touch
42. Direct component call in Android
Explicit intent
Extensible Markup Language (XML)
Deserialize
resolveSizeAndState()
43. Conversion of an object to XML
AsyncTask
GestureDetector
Serialize
Geocoder
44. Where Android is currently primarily developed
Google
visible
Widgets
Component - screen
45. Evaluation of registered components
SearchView
OnCurrentItemChanged
setVolumeControlStream()
Implicit intent
46. The entire lifetime of an activity happens between the call to _____ and the call to _____
Services
onCreate() - onDestroy()
Parser
Serialize
47. This class provides one of the simplest ways to fire off a new task from the UI thread.
AsyncTask
virtual table
Activity
onAudioFocusChange()
48. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
ETC1
getInputStream()
OnCurrentItemChanged
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
49. It is a free service for sending messages to Android devices.
GestureDetector
HTTP
Google Cloud Messaging (GCM)
ETC1
50. Use this to draw text.
drawText()
OAuth2 protocol
Application footprint
Layouts