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 minimal energy state during which no network connection is active or required.
Dalvik Virtual Machine
AttributeSet
Lifecycle callback methods
Standby
2. It is called to invoke the search dialog on older devices.
Activity
onSearchRequested()
Activity
android.hardware.touchscreen
3. This is the most common input event in the Android system.
resolveSizeAndState()
onDraw()
touch
onMeasure()
4. Android system uses a special virtual machine to run java based applicatons
Dalvik Virtual Machine
Standby
Paint
onSearchRequested()
5. It is an efficient and maintainable way to parse XML on Android.
AudioManager
XmlPullParser
ShareActionProvider
When the activity resumes
6. Android is __________.
searchable configuration
Linux based
virtual table
SurfaceView
7. This is the simplest way to monitor device state changes.
ViewStub
BroadcastReceiver
SearchView
GestureDetector
8. 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
View
touch
Destroyed - previous
Deserialize
9. This is used for the need of finer control over your view's layout parameters.
Serialize
onMeasure()
Ducking
Canvas
10. A service in which programmers can offer their Android application to Android users.
Dalvik Debug Monitor Server
Google Play
Intents
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
11. This class provides one of the simplest ways to fire off a new task from the UI thread.
Google Cloud Messaging for Android (GCM)
AsyncTask
onStart() - onStop()
onCreate() - onDestroy()
12. Represents the visual representation of an Android application
SurfaceView
InputStream
Activity
SearchView
13. You can set the layout as the UI for your activity with passing the resource ID for the layout.
setContentView
adb
touch
onDestroy();
14. 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
NetworkInfo
BroadcastReceiver
Component - screen
SQLiteOpenHelper
15. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Layouts
Dalvik Debug Monitor Server
AttributeSet
Hierarchy Viewer
16. This object contains an account name - which for Google accounts is an email address.
Geocoder
ConnectivityManager
onStart() - onStop()
Account
17. Necessary tools to develop Android applications
Activity
View
Extensible Markup Language (XML)
Android SDK
18. Android request its permission using its ________
AndroidManifest.xml
Intents
authenticator class
touch
19. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
Dalvik Debug Monitor Server
onMeasure()
onAudioFocusChange()
View
20. If permissions are missing - the application will get this at runtime.
SecurityException
Android SDK
SurfaceHolder.Callback
Dalvik Debug Monitor Server
21. This class is the basis for handling flywheel-style fling gestures.
single-pane
Serialize
Scroller
OAuth2 protocol
22. Conversion of an object to XML
Linux based
Serialize
touch
PieChart
23. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
ACTION_DOCK_EVENT
Scroller
SearchView
PackageManager
24. Direct component call in Android
drawText()
Layouts
ConnectivityManager
Explicit intent
25. Callback method: The activity is being created.
onCreate() - onDestroy()
Intent filters
auth scope
onCreate();
26. 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.
Low power
Activity
Ducking
inflate()
27. Converts XML Document to XML DOM
onStart() - onStop()
OAuth2
onDraw()
Parser
28. This is used to convert raw touch events into gestures.
SQLite
GestureDetector
Geocoder
security sandbox
29. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
ConnectivityManager
XmlPullParser
Geocoder
Standby
30. This is an interface which is used to pass image data from the camera hardware to the application.
ViewStub
SurfaceHolder.Callback
Objects Activity lifecycle
setContentView
31. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
SearchView
SecurityException
Service Content Provider
Entire
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.
Entire
OAuth2
ConnectivityManager
Serialize
33. When a new activity starts - it is pushed onto the ____ and takes user focus.
SecurityException
ACTION_DOCK_EVENT
Back stack
AndroidManifest.xml
34. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
onResume();
OnCurrentItemChanged
Advanced Training
Deserialize
35. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
Serialize
OAuth2
AndroidManifest.xml
onCreate() - onDestroy()
36. Sharing of data in Android is done via________
setVolumeControlStream()
Service Content Provider
Stack
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
37. Android provides this handy method to direct volume key presses to the audio stream the user specify.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
setVolumeControlStream()
Ducking
PieChart
38. It is used to toggle the enabled state on any component defined in the manifest - including whichever broadcast receivers you wish to enable or disable
PackageManager
auth scope
View
OAuth2 protocol
39. Callback method: The activity is about to be destroyed.
onDestroy();
SearchView
Extensible Markup Language (XML)
ActionProvider
40. Perform background tasks without providing a user interface
Paint
Services
SurfaceHolder.Callback
Standby
41. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
android.hardware.touchscreen
Layouts
GET_ACCOUNTS
Google Cloud Messaging for Android (GCM)
42. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
BatteryManager
ActionProvider
LocationManager
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
43. This is the main class through which your application can access location services on Android.
AsyncTask
LocationManager
onCreate();
Dots per inch
44. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Layouts
SQLiteOpenHelper
Dots per inch
Full power
45. It made implementing an effective and user friendly share action in your ActionBar even easier.
SettingsActivity
SurfaceHolder.Callback
ActionProvider
AbstractAccountAuthenticator
46. Once installed on a device - each Android application lives in its own ______
SQLite
security sandbox
Linux based
OAuth2 protocol
47. This is a readable source of bytes.
ConnectivityManager
onCreate();
InputStream
authenticator class
48. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Canvas
Back stack
dual-
SecurityException
49. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
LocationManager
AccountAuthenticatorActivity
Full power
Scroller
50. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
Paint
onCreate() - onDestroy()
isConnected()
getInputStream()