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. This is an interface which is used to pass image data from the camera hardware to the application.
AndroidManifest.xml
When the activity resumes
LTE
SurfaceHolder.Callback
2. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
LTE
AndroidManifest.xml
Dalvik Virtual Machine
EXTRA_STREAM
3. The visible lifetime of an activity happens between the call to ____ and the call to ______
drawText()
onStart() - onStop()
Services
Paint
4. Callback method: The activity is about to be destroyed.
onDestroy();
OnCurrentItemChanged
Lifecycle callback methods
Layouts
5. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Intents
onCreate();
Dots per inch
Stack - back stack
6. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Account
XmlPullParser
SQLiteOpenHelper
Hierarchy Viewer
7. This widget as an item in the action bar is the preferred way to provide search in your app.
Back stack
SearchView
Service Content Provider
AsyncTask
8. This is used to convert raw touch events into gestures.
View
PackageManager
GestureDetector
OAuth2 protocol
9. This is used to register and de-register your media button event receiver.
Advanced Training
Dalvik Virtual Machine
AudioManager
android.hardware.touchscreen
10. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Objects Activity lifecycle
dual-
android.hardware.touchscreen
BatteryManager
11. You can set the layout as the UI for your activity with passing the resource ID for the layout.
setContentView
onCreate() - onDestroy()
auth scope
isConnected()
12. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
visible
HttpURLConnection
SurfaceHolder.Callback
Destroyed - previous
13. Theseare a key part of Android applications that directly affect the user experience.
security sandbox
Implicit intent
Android SDK
Layouts
14. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Canvas
Open Handset Alliance
Lifecycle callback methods
adb
15. When a new activity starts - it is pushed onto the ____ and takes user focus.
Back stack
Lifecycle callback methods
OAuth2
Emulator
16. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
Activity
HttpURLConnection
Application footprint
authenticator class
17. 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 ___ .
security sandbox
Stack
Google Cloud Messaging (GCM)
Intent filters
18. The dock-state details are included as an extra in a sticky broadcast of this action.
ShareActionProvider
ACTION_DOCK_EVENT
Widgets
AsyncTask
19. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
BroadcastReceiver
setVolumeControlStream()
Layouts
Widgets
20. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
onDestroy();
onSearchRequested()
HttpURLConnection
onDraw()
21. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Ducking
ViewStub
Full power
AudioManager
22. This can be used to draw previews of what the camera sensor is picking up.
EXTRA_STREAM
BatteryManager
SurfaceView
BroadcastReceiver
23. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
onStart() - onStop()
ViewStub
ACTION_SEND
drawText()
24. These helpers are specialized classes for backing up certain kinds of data.
onCreate() - onDestroy()
Intent filters
single-pane
BackupHelper
25. It is a set of rules for encoding documents in machine-readable form.
onCreate() - onDestroy()
Extensible Markup Language (XML)
Account Manager
BroadcastReceiver
26. An open source stand alone database
SQLite
Scroller
resolveSizeAndState()
setContentView
27. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Service Content Provider
LTE
Standby
Hierarchy Viewer
28. This class provides one of the simplest ways to fire off a new task from the UI thread.
AccountAuthenticatorActivity
onResume();
Open Handset Alliance
AsyncTask
29. Perform background tasks without providing a user interface
Dalvik Virtual Machine
Deserialize
Services
Geocoder
30. 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.
SearchView
Component - screen
onPause();
Entire
31. This is used to check that you're actually connected to the Internet and what type of connection is in place.
security sandbox
XmlPullParser
ConnectivityManager
Emulator
32. Are used in activities to create the user interface and to interact with the user.
SurfaceView
Fragments
Paint
inflate()
33. The minimal energy state during which no network connection is active or required.
ActionProvider
security sandbox
SurfaceHolder.Callback
Standby
34. For example - a ____ might be a button that initiates an action when the user touches it.
visible
View
Scroller
Application resources
35. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Dalvik Debug Monitor Server
Advanced Training
ACTION_DOCK_EVENT
SecurityException
36. Use this to draw text.
isConnected()
inflate()
LocationManager
drawText()
37. Where Android is currently primarily developed
Google
Google Play
SearchView
InputStream
38. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
When the activity resumes
adb
ETC1
Lifecycle callback methods
39. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Dots per inch
Back stack
Lifecycle callback methods
BatteryManager
40. It inform the system what intents an application component is willing to accept.
SQLite
Activity
onDraw()
Intent filters
41. Android is __________.
SQLite
Linux based
BatteryManager
Destroyed - previous
42. Allow to combine loosely coupled components to perform certain tasks
Intents
SecurityException
onCreate() - onDestroy()
Paint
43. It is available starting with API Level 14 and higher.
LocationManager
PieChart
ShareActionProvider
Activity
44. The entire lifetime of an activity happens between the call to _____ and the call to _____
Activity
OAuth2
onCreate() - onDestroy()
Fragments
45. It is a free service for sending messages to Android devices.
onCreate() - onDestroy()
OnCurrentItemChanged
AsyncTask
Google Cloud Messaging (GCM)
46. It is an efficient and maintainable way to parse XML on Android.
XmlPullParser
ViewStub
onDraw()
setVolumeControlStream()
47. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
ConnectivityManager
adb
BatteryManager
NetworkInfo
48. It is a string that defines the specific type of access your app is asking for.
authenticator class
Destroyed - previous
auth scope
Intents
49. This is used for the need of finer control over your view's layout parameters.
SearchView
onMeasure()
Android SDK
ACTION_DOCK_EVENT
50. This is the most common input event in the Android system.
AsyncTask
touch
Scroller
Full power