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 is a free service for sending messages to Android devices.
onStart() - onStop()
Back stack
Google Cloud Messaging (GCM)
ViewStub
2. Callback method: The activity is being created.
onCreate();
Layouts
Objects Activity lifecycle
BatteryManager
3. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
getInputStream()
PieChart
visible
searchable configuration
4. This can be used to draw previews of what the camera sensor is picking up.
SurfaceView
NetworkInfo
Stack - back stack
touch
5. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
SurfaceHolder.Callback
AccountAuthenticatorActivity
ConnectivityManager
HttpURLConnection
6. It is called to invoke the search dialog on older devices.
SurfaceHolder.Callback
LocationManager
SearchView
onSearchRequested()
7. Conversion of XML back to an object
Standby
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Deserialize
onDraw()
8. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
View
adb
android.hardware.touchscreen
onStop();
9. Callback method: Another activity is taking focus
SettingsActivity
onPause();
authenticator class
SearchView
10. On a rooted device - the credentials would be readable by anyone with this access to the device.
ActionProvider
SecurityException
adb
Parser
11. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
onAudioFocusChange()
searchable configuration
Fragments
single-pane
12. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Canvas
Component - screen
onCreate() - onDestroy()
visible
13. The dock-state details are included as an extra in a sticky broadcast of this action.
ACTION_DOCK_EVENT
SettingsActivity
Parser
resolveSizeAndState()
14. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
SearchView
BroadcastReceiver
Standby
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
15. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
BatteryManager
SQLite
Scroller
inflate()
16. 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?
EXTRA_STREAM
Component - screen
ActionProvider
Hierarchy Viewer
17. This is used to convert raw touch events into gestures.
OnCurrentItemChanged
GestureDetector
Component - screen
onStop();
18. Where Android is currently primarily developed
onResume();
getInputStream()
onStart() - onStop()
Google
19. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
onStop();
SQLiteOpenHelper
SQLite
AccountAuthenticatorActivity
20. For example - a ____ might be a button that initiates an action when the user touches it.
Stack - back stack
NetworkInfo
LocationManager
View
21. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
isConnected()
Intents
AbstractAccountAuthenticator
ConnectivityManager
22. Most network-connected Android apps use this to send and receive data.
Hierarchy Viewer
drawBitmap()
HTTP
OAuth2
23. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
authenticator class
onAudioFocusChange()
Hierarchy Viewer
Intent filters
24. When a new activity starts - it is pushed onto the ____ and takes user focus.
Stack - back stack
AsyncTask
Back stack
EXTRA_STREAM
25. 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
Google
ShareActionProvider
26. This object contains an account name - which for Google accounts is an email address.
Account
Scroller
ConnectivityManager
Services
27. Android request its permission using its ________
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
ETC1
AndroidManifest.xml
Full power
28. This is an interface which is used to pass image data from the camera hardware to the application.
resolveSizeAndState()
SurfaceHolder.Callback
AbstractAccountAuthenticator
PackageManager
29. Callback method: The activity has become visible.
Activity
AsyncTask
onResume();
OAuth2 protocol
30. is run when running Android on the pc
onStop();
SQLiteOpenHelper
Emulator
Lifecycle callback methods
31. An open source group led by Google
setContentView
PieChart
Open Handset Alliance
adb
32. Shows the actual amount of memory the application uses
Application footprint
Back stack
Open Handset Alliance
drawText()
33. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
Dalvik Virtual Machine
onCreate();
LTE
ViewStub
34. Relative to pixels and resolution screen
Intent filters
Dots per inch
InputStream
OAuth2
35. ______ are views derived from ViewGroup that provide a unique layout model for its child views
ACTION_DOCK_EVENT
Dalvik Debug Monitor Server
Layouts
AccountAuthenticatorActivity
36. Android system uses a special virtual machine to run java based applicatons
android.hardware.touchscreen
Widgets
ConnectivityManager
Dalvik Virtual Machine
37. The entire lifetime of an activity happens between the call to _____ and the call to _____
onCreate() - onDestroy()
AsyncTask
Deserialize
Paint
38. This is a readable source of bytes.
InputStream
Dalvik Virtual Machine
Deserialize
ShareActionProvider
39. 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.
GestureDetector
Back stack
OAuth2
drawBitmap()
40. This is used for the need of finer control over your view's layout parameters.
Ducking
onMeasure()
ConnectivityManager
AsyncTask
41. These helpers are specialized classes for backing up certain kinds of data.
Widgets
security sandbox
BackupHelper
Android SDK
42. This class is the basis for handling flywheel-style fling gestures.
InputStream
Scroller
Stack - back stack
ActionProvider
43. A service in which programmers can offer their Android application to Android users.
Google Play
Google
HttpURLConnection
AttributeSet
44. The helper method is used to create the final width and height values.
ACTION_DOCK_EVENT
resolveSizeAndState()
onStop();
Paint
45. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
ETC1
Parser
LTE
android.hardware.touchscreen
46. This broadcasts an action whenever the device is connected or disconnected from power.
BatteryManager
ViewStub
EXTRA_STREAM
ActionProvider
47. Use this to draw bitmaps.
single-pane
drawBitmap()
Open Handset Alliance
Advanced Training
48. This search feature was introduced in Android 3.0 and can maintain backward compatibility with older versions of Android by using the default search dialog provided by the system.
Google Cloud Messaging for Android (GCM)
visible
auth scope
SearchView
49. The visible lifetime of an activity happens between the call to ____ and the call to ______
onStart() - onStop()
onMeasure()
SQLite
Full power
50. If permissions are missing - the application will get this at runtime.
SQLiteOpenHelper
Parser
SecurityException
OnCurrentItemChanged