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. A mode where navigation is set up with a spinner widget.
single-pane
<declare-styleable>
Full power
SurfaceHolder.Callback
2. Conversion of an object to XML
BroadcastReceiver
security sandbox
Serialize
Scroller
3. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
Parser
AccountAuthenticatorActivity
drawText()
Entire
4. An open source group led by Google
EXTRA_STREAM
virtual table
Dalvik Virtual Machine
Open Handset Alliance
5. Use this to draw bitmaps.
LocationManager
drawBitmap()
SearchView
OAuth2 protocol
6. Use this to draw text.
drawText()
BroadcastReceiver
Geocoder
ViewStub
7. Callback method: The activity is no longer visible
ConnectivityManager
Layouts
onStop();
Activity
8. This is used to convert raw touch events into gestures.
PackageManager
GestureDetector
SearchView
Stack
9. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Parser
Layouts
Full power
ActionProvider
10. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
AsyncTask
onResume();
android.hardware.touchscreen
11. This is set up to animate for the duration of the fling.
ValueAnimator
ViewStub
onAudioFocusChange()
onMeasure()
12. Callback method: Another activity is taking focus
searchable configuration
<declare-styleable>
onPause();
Layouts
13. Evaluation of registered components
Implicit intent
Destroyed - previous
ConnectivityManager
onCreate() - onDestroy()
14. 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
ShareActionProvider
Implicit intent
PackageManager
ViewStub
15. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
BroadcastReceiver
Entire
ValueAnimator
onStart() - onStop()
16. 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.
Component - screen
AsyncTask
SearchView
ACTION_SEND
17. It is a subclass of PreferenceActivity.
ACTION_DOCK_EVENT
SettingsActivity
Dalvik Debug Monitor Server
ActionProvider
18. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
HttpURLConnection
Geocoder
onStart() - onStop()
getInputStream()
19. Sharing of data in Android is done via________
Ducking
SettingsActivity
Service Content Provider
AudioManager
20. In order to get a list of accounts on the device - your app needs this permission.
Intent filters
GET_ACCOUNTS
Wi-Fi radio
Account Manager
21. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
AttributeSet
When the activity resumes
Wi-Fi radio
Ducking
22. The dock-state details are included as an extra in a sticky broadcast of this action.
ACTION_DOCK_EVENT
SecurityException
searchable configuration
inflate()
23. These helpers are specialized classes for backing up certain kinds of data.
ValueAnimator
touch
BackupHelper
BroadcastReceiver
24. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
ViewStub
Implicit intent
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Open Handset Alliance
25. 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 ___ .
SearchView
Layouts
EXTRA_STREAM
Stack
26. For example - if your activity has a thread running in the background to download data from the network - it might create that thread in _____ and then stop the thread in _____
Extensible Markup Language (XML)
BroadcastReceiver
onCreate() - onDestroy()
PieChart
27. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
Destroyed - previous
ViewStub
single-pane
onMeasure()
28. This broadcasts an action whenever the device is connected or disconnected from power.
Component - screen
Application footprint
BatteryManager
Geocoder
29. The entire lifetime of an activity happens between the call to _____ and the call to _____
Application footprint
onCreate() - onDestroy()
onAudioFocusChange()
Full power
30. This includes tools to help you identify problems in your layout performance.
SurfaceHolder.Callback
onMeasure()
Android SDK
GET_ACCOUNTS
31. Callback method: The activity has become visible.
onResume();
onCreate() - onDestroy()
AsyncTask
BatteryManager
32. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
getInputStream()
onCreate() - onDestroy()
Application resources
Canvas
33. It made implementing an effective and user friendly share action in your ActionBar even easier.
ACTION_DOCK_EVENT
NetworkInfo
ActionProvider
PieChart
34. This is the simplest way to monitor device state changes.
SecurityException
setVolumeControlStream()
BroadcastReceiver
SurfaceView
35. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
Standby
ACTION_DOCK_EVENT
LTE
AccountAuthenticatorActivity
36. Android provides this handy method to direct volume key presses to the audio stream the user specify.
View
Explicit intent
setVolumeControlStream()
AsyncTask
37. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
Implicit intent
AsyncTask
BroadcastReceiver
GestureDetector
38. This is used for the need of finer control over your view's layout parameters.
GestureDetector
SQLiteOpenHelper
AttributeSet
onMeasure()
39. An intermediate state that uses around 50% of the battery power at the full state.
onCreate();
Intent filters
visible
Low power
40. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
onStop();
NetworkInfo
touch
Android SDK
41. An open source stand alone database
Deserialize
SearchView
SQLite
Google
42. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
inflate()
onPause();
AndroidManifest.xml
visible
43. On a rooted device - the credentials would be readable by anyone with this access to the device.
ValueAnimator
Application footprint
adb
setContentView
44. The minimal energy state during which no network connection is active or required.
SQLite
inflate()
XmlPullParser
Standby
45. This class exposes a number of methods for applications to receive location updates.
onMeasure()
Linux based
Objects Activity lifecycle
LocationManager
46. 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
SurfaceView
OAuth2 protocol
drawText()
Destroyed - previous
47. Most network-connected Android apps use this to send and receive data.
setContentView
drawBitmap()
onStop();
HTTP
48. This widget as an item in the action bar is the preferred way to provide search in your app.
ACTION_DOCK_EVENT
SearchView
Google Play
Layouts
49. Where Android is currently primarily developed
Intents
Google
Advanced Training
Google Cloud Messaging (GCM)
50. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
Objects Activity lifecycle
View
Google Cloud Messaging (GCM)
Scroller