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 class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Explicit intent
SQLiteOpenHelper
Geocoder
Paint
2. Perform background tasks without providing a user interface
Services
AttributeSet
AsyncTask
Activity
3. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
HttpURLConnection
Services
onStop();
GET_ACCOUNTS
4. In order to get a list of accounts on the device - your app needs this permission.
Fragments
Application footprint
single-pane
GET_ACCOUNTS
5. It is a free service for sending messages to Android devices.
PieChart
inflate()
Google Cloud Messaging (GCM)
Extensible Markup Language (XML)
6. 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.
Paint
SearchView
AsyncTask
OAuth2
7. Direct component call in Android
Layouts
InputStream
Explicit intent
onSearchRequested()
8. It is available starting with API Level 14 and higher.
onCreate();
AsyncTask
onStop();
ShareActionProvider
9. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
android.hardware.touchscreen
Entire
ACTION_DOCK_EVENT
isConnected()
10. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Wi-Fi radio
Implicit intent
ETC1
Linux based
11. When a new activity starts - it is pushed onto the ____ and takes user focus.
Back stack
onPause();
Google Play
AccountAuthenticatorActivity
12. It is a set of rules for encoding documents in machine-readable form.
ACTION_SEND
Extensible Markup Language (XML)
ValueAnimator
OnCurrentItemChanged
13. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
View
inflate()
adb
OAuth2 protocol
14. It inform the system what intents an application component is willing to accept.
Serialize
Intent filters
Application resources
setVolumeControlStream()
15. The visible lifetime of an activity happens between the call to ____ and the call to ______
onStart() - onStop()
PackageManager
setVolumeControlStream()
Ducking
16. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
SQLiteOpenHelper
When the activity resumes
LTE
Services
17. This is used to check that you're actually connected to the Internet and what type of connection is in place.
Lifecycle callback methods
onCreate() - onDestroy()
SettingsActivity
ConnectivityManager
18. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
OAuth2 protocol
ConnectivityManager
GestureDetector
PieChart
19. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
searchable configuration
onCreate() - onDestroy()
Stack - back stack
AndroidManifest.xml
20. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
Widgets
SurfaceHolder.Callback
onCreate() - onDestroy()
GestureDetector
21. An intermediate state that uses around 50% of the battery power at the full state.
Low power
Geocoder
Deserialize
Extensible Markup Language (XML)
22. The most common way to define a layout using views is with an XML layout file saved in your ______
Geocoder
BackupHelper
Scroller
Application resources
23. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Android SDK
Full power
Lifecycle callback methods
Android SDK
24. This is a readable source of bytes.
InputStream
Canvas
Parser
ShareActionProvider
25. If permissions are missing - the application will get this at runtime.
AudioManager
SecurityException
Linux based
onSearchRequested()
26. Callback method: The activity is being created.
AsyncTask
Ducking
SQLite
onCreate();
27. A service in which programmers can offer their Android application to Android users.
security sandbox
Google Play
PackageManager
ValueAnimator
28. Are used in activities to create the user interface and to interact with the user.
Fragments
Wi-Fi radio
Implicit intent
BackupHelper
29. It is a string that defines the specific type of access your app is asking for.
drawText()
auth scope
ViewStub
Lifecycle callback methods
30. Theseare a key part of Android applications that directly affect the user experience.
Layouts
Low power
getInputStream()
Emulator
31. An _______ is an application component that provides a screen 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.
Activity
Serialize
setVolumeControlStream()
onStart() - onStop()
32. This widget as an item in the action bar is the preferred way to provide search in your app.
ValueAnimator
SearchView
onAudioFocusChange()
HttpURLConnection
33. This class exposes a number of methods for applications to receive location updates.
<declare-styleable>
LocationManager
InputStream
onStart() - onStop()
34. This includes tools to help you identify problems in your layout performance.
Android SDK
Dalvik Virtual Machine
Serialize
Activity
35. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
single-pane
ConnectivityManager
onAudioFocusChange()
onMeasure()
36. It is a subclass of PreferenceActivity.
Application resources
onMeasure()
SettingsActivity
AndroidManifest.xml
37. 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
Dalvik Debug Monitor Server
PackageManager
onStop();
ValueAnimator
38. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
LTE
Fragments
onResume();
onDraw()
39. The minimal energy state during which no network connection is active or required.
Serialize
BroadcastReceiver
Standby
Back stack
40. An open source stand alone database
SQLite
Linux based
onMeasure()
BatteryManager
41. This can be used to draw previews of what the camera sensor is picking up.
auth scope
AsyncTask
SurfaceView
When the activity resumes
42. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
OAuth2
Activity
LocationManager
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
43. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Widgets
ACTION_DOCK_EVENT
setVolumeControlStream()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
44. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
dual-
Objects Activity lifecycle
AsyncTask
Scroller
45. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
Activity
BatteryManager
Google Cloud Messaging for Android (GCM)
Parser
46. Use this to draw bitmaps.
Entire
Google Cloud Messaging (GCM)
onDraw()
drawBitmap()
47. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
BroadcastReceiver
SearchView
Linux based
Ducking
48. A styleable entity that contains these two custom attributes: showText and labelPosition.
PieChart
BatteryManager
Google Cloud Messaging for Android (GCM)
android.hardware.touchscreen
49. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Back stack
onStart() - onStop()
SecurityException
Objects Activity lifecycle
50. The entire lifetime of an activity happens between the call to _____ and the call to _____
onCreate() - onDestroy()
ACTION_DOCK_EVENT
Paint
searchable configuration