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 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.
HTTP
ValueAnimator
Ducking
Wi-Fi radio
2. The minimal energy state during which no network connection is active or required.
BroadcastReceiver
AbstractAccountAuthenticator
security sandbox
Standby
3. When a new activity starts - it is pushed onto the ____ and takes user focus.
setContentView
Back stack
Android SDK
onMeasure()
4. This is the main class through which your application can access location services on Android.
ShareActionProvider
LocationManager
Account
searchable configuration
5. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
AsyncTask
resolveSizeAndState()
visible
Widgets
6. This is the most common input event in the Android system.
AsyncTask
Objects Activity lifecycle
EXTRA_STREAM
touch
7. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Advanced Training
PackageManager
onStop();
setContentView
8. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
setContentView
onAudioFocusChange()
Dots per inch
Objects Activity lifecycle
9. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
onSearchRequested()
getInputStream()
View
Lifecycle callback methods
10. This is used to register and de-register your media button event receiver.
onSearchRequested()
Standby
Layouts
AudioManager
11. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
Canvas
onPause();
onCreate();
12. This is the simplest way to monitor device state changes.
Advanced Training
BroadcastReceiver
resolveSizeAndState()
Account
13. Where Android is currently primarily developed
Google
Intent filters
XmlPullParser
Intents
14. The most common way to define a layout using views is with an XML layout file saved in your ______
Dalvik Debug Monitor Server
Layouts
Application resources
When the activity resumes
15. An intermediate state that uses around 50% of the battery power at the full state.
Low power
AbstractAccountAuthenticator
inflate()
XmlPullParser
16. This is used for the need of finer control over your view's layout parameters.
onSearchRequested()
onMeasure()
Destroyed - previous
onCreate() - onDestroy()
17. It is called to invoke the search dialog on older devices.
onSearchRequested()
Serialize
Parser
Emulator
18. Once installed on a device - each Android application lives in its own ______
AttributeSet
Scroller
security sandbox
Parser
19. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
Intent filters
virtual table
<declare-styleable>
AccountAuthenticatorActivity
20. It inform the system what intents an application component is willing to accept.
Layouts
SearchView
Intent filters
ConnectivityManager
21. Are used in activities to create the user interface and to interact with the user.
Fragments
OAuth2
SettingsActivity
Parser
22. In most cases this will offer greater bandwidth at a significantly lower battery cost.
isConnected()
PackageManager
searchable configuration
Wi-Fi radio
23. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
HttpURLConnection
onCreate() - onDestroy()
searchable configuration
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
24. This is used to fetch the account names that the user has stored on their device.
Application footprint
inflate()
Account Manager
searchable configuration
25. A mode where navigation is set up with a spinner widget.
single-pane
Hierarchy Viewer
setContentView
onDraw()
26. This is an interface which is used to pass image data from the camera hardware to the application.
onSearchRequested()
SurfaceHolder.Callback
Services
Intent filters
27. This includes tools to help you identify problems in your layout performance.
Geocoder
Android SDK
Dalvik Virtual Machine
dual-
28. It is an efficient and maintainable way to parse XML on Android.
onCreate() - onDestroy()
XmlPullParser
Activity
Google
29. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
ACTION_DOCK_EVENT
Emulator
InputStream
30. Relative to pixels and resolution screen
Component - screen
Destroyed - previous
AttributeSet
Dots per inch
31. 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 _____
HttpURLConnection
SearchView
onCreate() - onDestroy()
GET_ACCOUNTS
32. The helper method is used to create the final width and height values.
android.hardware.touchscreen
Google Cloud Messaging for Android (GCM)
resolveSizeAndState()
Intent filters
33. This class provides one of the simplest ways to fire off a new task from the UI thread.
AsyncTask
EXTRA_STREAM
onResume();
SearchView
34. To define custom attributes - add this resources to your project.
PieChart
<declare-styleable>
Standby
Dalvik Debug Monitor Server
35. This is used to convert raw touch events into gestures.
Account Manager
onDestroy();
onStart() - onStop()
GestureDetector
36. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
OAuth2
Open Handset Alliance
Hierarchy Viewer
Lifecycle callback methods
37. It provides a simple way to perform your work outside the main thread.
BroadcastReceiver
AsyncTask
Activity
SecurityException
38. This provides methods to define line's color - whether to fill a rectangle with a color or leave it empty - and defines the color - style - font - and so forth of each shape you draw.
inflate()
Deserialize
Paint
Open Handset Alliance
39. 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 ___ .
Service Content Provider
setContentView
Stack
BroadcastReceiver
40. This class is the basis for handling flywheel-style fling gestures.
Stack - back stack
Scroller
auth scope
Hierarchy Viewer
41. It made implementing an effective and user friendly share action in your ActionBar even easier.
ActionProvider
onDraw()
onCreate() - onDestroy()
Standby
42. Evaluation of registered components
onStart() - onStop()
InputStream
Scroller
Implicit intent
43. It is a set of rules for encoding documents in machine-readable form.
OAuth2
Extensible Markup Language (XML)
Scroller
adb
44. These helpers are specialized classes for backing up certain kinds of data.
onSearchRequested()
Scroller
ValueAnimator
BackupHelper
45. For example - a ____ might be a button that initiates an action when the user touches it.
setVolumeControlStream()
View
AsyncTask
onSearchRequested()
46. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
Advanced Training
Android SDK
HTTP
When the activity resumes
47. Perform background tasks without providing a user interface
Deserialize
onMeasure()
Activity
Services
48. 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.
SettingsActivity
OAuth2
AttributeSet
isConnected()
49. The dock-state details are included as an extra in a sticky broadcast of this action.
View
ViewStub
ACTION_DOCK_EVENT
SecurityException
50. This is a readable source of bytes.
Advanced Training
Services
InputStream
ACTION_DOCK_EVENT