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 used to toggle the enabled state on any component defined in the manifest - including whichever broadcast receivers you wish to enable or disable
HTTP
SurfaceView
PackageManager
Entire
2. It is a set of rules for encoding documents in machine-readable form.
AsyncTask
android.hardware.touchscreen
Extensible Markup Language (XML)
Deserialize
3. This is an interface which is used to pass image data from the camera hardware to the application.
AsyncTask
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
SurfaceHolder.Callback
Full power
4. Necessary tools to develop Android applications
onResume();
resolveSizeAndState()
onCreate() - onDestroy()
Android SDK
5. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
Account Manager
EXTRA_STREAM
isConnected()
onResume();
6. Callback method: The activity is no longer visible.
security sandbox
onStop();
AsyncTask
onCreate();
7. A mode where navigation is set up with a spinner widget.
Emulator
Scroller
Google Play
single-pane
8. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
AsyncTask
ViewStub
Deserialize
Android SDK
9. It is available starting with API Level 14 and higher.
ShareActionProvider
AsyncTask
When the activity resumes
ActionProvider
10. Callback method: The activity is about to be destroyed.
onDestroy();
Extensible Markup Language (XML)
Low power
authenticator class
11. Android request its permission using its ________
AndroidManifest.xml
AbstractAccountAuthenticator
Ducking
Android SDK
12. When a new activity starts - it is pushed onto the ____ and takes user focus.
onCreate() - onDestroy()
Extensible Markup Language (XML)
Back stack
ViewStub
13. The entire lifetime of an activity happens between the call to _____ and the call to _____
onCreate() - onDestroy()
ValueAnimator
HTTP
ConnectivityManager
14. It provides a simple way to perform your work outside the main thread.
InputStream
AsyncTask
ConnectivityManager
Google Cloud Messaging (GCM)
15. An intermediate state that uses around 50% of the battery power at the full state.
View
Android SDK
SecurityException
Low power
16. In order to get a list of accounts on the device - your app needs this permission.
Stack
GET_ACCOUNTS
HttpURLConnection
single-pane
17. This is used to check that you're actually connected to the Internet and what type of connection is in place.
SearchView
ConnectivityManager
Open Handset Alliance
onStop();
18. In most cases this will offer greater bandwidth at a significantly lower battery cost.
searchable configuration
BroadcastReceiver
Application resources
Wi-Fi radio
19. Are used in activities to create the user interface and to interact with the user.
Fragments
Objects Activity lifecycle
LocationManager
Application footprint
20. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
ACTION_DOCK_EVENT
EXTRA_STREAM
Advanced Training
SQLite
21. Evaluation of registered components
authenticator class
Application resources
OAuth2 protocol
Implicit intent
22. This includes tools to help you identify problems in your layout performance.
Android SDK
Open Handset Alliance
PackageManager
onCreate() - onDestroy()
23. The industry standard way to deal with authentication to third-party services.
OAuth2 protocol
onDraw()
HTTP
AudioManager
24. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
security sandbox
getInputStream()
Scroller
onAudioFocusChange()
25. This is the simplest way to monitor device state changes.
BroadcastReceiver
onCreate() - onDestroy()
Services
LTE
26. Conversion of XML back to an object
Deserialize
SearchView
ActionProvider
touch
27. The dock-state details are included as an extra in a sticky broadcast of this action.
ACTION_DOCK_EVENT
Scroller
XmlPullParser
GestureDetector
28. To create an activity - you must create a subclass of
ACTION_DOCK_EVENT
Application footprint
Activity
Geocoder
29. An open source group led by Google
Open Handset Alliance
HTTP
visible
Dalvik Virtual Machine
30. For example - a ____ might be a button that initiates an action when the user touches it.
Implicit intent
adb
security sandbox
View
31. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
authenticator class
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
single-pane
ConnectivityManager
32. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Fragments
Hierarchy Viewer
OnCurrentItemChanged
Canvas
33. This is used to register and de-register your media button event receiver.
Wi-Fi radio
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
AudioManager
AsyncTask
34. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
Canvas
View
Activity
Low power
35. Theseare a key part of Android applications that directly affect the user experience.
Activity
Layouts
Canvas
Component - screen
36. Callback method: The activity is no longer visible
onCreate() - onDestroy()
onStop();
SecurityException
Extensible Markup Language (XML)
37. 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
Component - screen
Serialize
Dalvik Debug Monitor Server
ShareActionProvider
38. Converts XML Document to XML DOM
NetworkInfo
Google Cloud Messaging (GCM)
Paint
Parser
39. This class is the basis for handling flywheel-style fling gestures.
drawText()
Scroller
Google Cloud Messaging for Android (GCM)
onCreate() - onDestroy()
40. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Lifecycle callback methods
Component - screen
authenticator class
Paint
41. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
Back stack
Serialize
onDraw()
Stack
42. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
drawBitmap()
onStop();
Full power
Objects Activity lifecycle
43. Sharing of data in Android is done via________
Dalvik Debug Monitor Server
onResume();
Service Content Provider
onCreate();
44. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
Intents
AccountAuthenticatorActivity
View
single-pane
45. Direct component call in Android
BatteryManager
PackageManager
Explicit intent
PieChart
46. The minimal energy state during which no network connection is active or required.
Standby
ACTION_DOCK_EVENT
GET_ACCOUNTS
Layouts
47. When a view is created from an XML layout - all of the attributes in the XML tag are read from the resource bundle and passed into the view's constructor as a what?
Stack
When the activity resumes
SurfaceHolder.Callback
AttributeSet
48. This widget as an item in the action bar is the preferred way to provide search in your app.
SearchView
Dots per inch
AccountAuthenticatorActivity
ViewStub
49. Android provides this handy method to direct volume key presses to the audio stream the user specify.
GET_ACCOUNTS
Implicit intent
setVolumeControlStream()
Dots per inch
50. 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 ___ .
virtual table
Google Cloud Messaging (GCM)
Stack
Low power