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 method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
inflate()
Full power
<declare-styleable>
Canvas
2. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
HttpURLConnection
LTE
When the activity resumes
Google Play
3. You can set the layout as the UI for your activity with passing the resource ID for the layout.
setContentView
Layouts
NetworkInfo
Services
4. The visible lifetime of an activity happens between the call to ____ and the call to ______
onStart() - onStop()
Parser
Open Handset Alliance
GET_ACCOUNTS
5. It is a string that defines the specific type of access your app is asking for.
Entire
Open Handset Alliance
auth scope
getInputStream()
6. Conversion of an object to XML
SQLiteOpenHelper
Serialize
OnCurrentItemChanged
AsyncTask
7. For example - a ____ might be a button that initiates an action when the user touches it.
View
ACTION_DOCK_EVENT
Service Content Provider
GET_ACCOUNTS
8. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
OAuth2 protocol
resolveSizeAndState()
Dalvik Debug Monitor Server
SurfaceView
9. 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?
SettingsActivity
AttributeSet
Hierarchy Viewer
onResume();
10. Callback method: The activity is no longer visible.
SQLiteOpenHelper
setVolumeControlStream()
onStop();
SQLite
11. A mode where navigation is set up with a spinner widget.
ShareActionProvider
single-pane
dual-
Lifecycle callback methods
12. When a new activity starts - it is pushed onto the ____ and takes user focus.
Back stack
AsyncTask
ValueAnimator
Activity
13. The minimal energy state during which no network connection is active or required.
Wi-Fi radio
Standby
touch
onDestroy();
14. An open source group led by Google
Hierarchy Viewer
EXTRA_STREAM
auth scope
Open Handset Alliance
15. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
Low power
onSearchRequested()
ConnectivityManager
AbstractAccountAuthenticator
16. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Deserialize
OnCurrentItemChanged
onCreate();
Stack - back stack
17. This is the main class through which your application can access location services on Android.
onMeasure()
LocationManager
ValueAnimator
ViewStub
18. Direct component call in Android
Application footprint
Full power
Deserialize
Explicit intent
19. An intermediate state that uses around 50% of the battery power at the full state.
View
HttpURLConnection
Low power
Service Content Provider
20. This is used to register and de-register your media button event receiver.
AudioManager
Activity
ValueAnimator
authenticator class
21. This class is the basis for handling flywheel-style fling gestures.
android.hardware.touchscreen
ACTION_DOCK_EVENT
BroadcastReceiver
Scroller
22. This is an interface which is used to pass image data from the camera hardware to the application.
setVolumeControlStream()
Objects Activity lifecycle
Paint
SurfaceHolder.Callback
23. This class exposes a number of methods for applications to receive location updates.
dual-
LocationManager
Component - screen
Advanced Training
24. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
setContentView
AbstractAccountAuthenticator
<declare-styleable>
Stack - back stack
25. Evaluation of registered components
Google
Stack
Implicit intent
XmlPullParser
26. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
onCreate() - onDestroy()
Intents
SettingsActivity
GestureDetector
27. In order to get a list of accounts on the device - your app needs this permission.
Destroyed - previous
GET_ACCOUNTS
ViewStub
SQLite
28. This is used for the need of finer control over your view's layout parameters.
SettingsActivity
Emulator
getInputStream()
onMeasure()
29. This is the most common input event in the Android system.
touch
SearchView
onDestroy();
ACTION_DOCK_EVENT
30. Android request its permission using its ________
Google Cloud Messaging for Android (GCM)
Explicit intent
SurfaceHolder.Callback
AndroidManifest.xml
31. This is used to fetch the account names that the user has stored on their device.
Account Manager
visible
onMeasure()
SearchView
32. 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
Application resources
Explicit intent
AccountAuthenticatorActivity
Component - screen
33. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
Ducking
Parser
Account Manager
34. This object contains an account name - which for Google accounts is an email address.
onCreate() - onDestroy()
Scroller
onStart() - onStop()
Account
35. Conversion of XML back to an object
NetworkInfo
AttributeSet
Deserialize
Low power
36. To create an activity - you must create a subclass of
ACTION_SEND
Fragments
Activity
Service Content Provider
37. 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.
Serialize
Ducking
OAuth2
ACTION_DOCK_EVENT
38. It is an efficient and maintainable way to parse XML on Android.
getInputStream()
Intent filters
XmlPullParser
<declare-styleable>
39. Use this to draw text.
onCreate() - onDestroy()
drawText()
<declare-styleable>
onStop();
40. It provides a simple way to perform your work outside the main thread.
Hierarchy Viewer
AsyncTask
PackageManager
Account Manager
41. It inform the system what intents an application component is willing to accept.
Intents
Intent filters
Fragments
ACTION_SEND
42. It doesn't currently support the <merge/> tag in the layouts to be inflated.
Google
Android SDK
single-pane
ViewStub
43. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
Lifecycle callback methods
visible
Fragments
Entire
44. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
HttpURLConnection
View
onStop();
AsyncTask
45. Represents the visual representation of an Android application
Google Cloud Messaging for Android (GCM)
inflate()
Activity
onCreate() - onDestroy()
46. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Emulator
onPause();
Layouts
Wi-Fi radio
47. Once installed on a device - each Android application lives in its own ______
Widgets
Account
security sandbox
ACTION_DOCK_EVENT
48. Shows the actual amount of memory the application uses
onStart() - onStop()
Service Content Provider
ETC1
Application footprint
49. This class provides one of the simplest ways to fire off a new task from the UI thread.
Implicit intent
AsyncTask
SQLite
LTE
50. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
HttpURLConnection
onStop();
Google Cloud Messaging for Android (GCM)
virtual table