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. In most cases this will offer greater bandwidth at a significantly lower battery cost.
SearchView
Wi-Fi radio
Full power
Back stack
2. It doesn't currently support the <merge/> tag in the layouts to be inflated.
ViewStub
SQLiteOpenHelper
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
touch
3. Android provides this handy method to direct volume key presses to the audio stream the user specify.
virtual table
ACTION_DOCK_EVENT
setVolumeControlStream()
Account Manager
4. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
NetworkInfo
getInputStream()
Activity
resolveSizeAndState()
5. Callback method: The activity has become visible.
onResume();
Activity
Implicit intent
PackageManager
6. In order to get a list of accounts on the device - your app needs this permission.
GET_ACCOUNTS
Linux based
ViewStub
XmlPullParser
7. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
Layouts
Lifecycle callback methods
inflate()
onCreate() - onDestroy()
8. It is a set of rules for encoding documents in machine-readable form.
Canvas
SurfaceHolder.Callback
Extensible Markup Language (XML)
onMeasure()
9. Most network-connected Android apps use this to send and receive data.
HTTP
ConnectivityManager
searchable configuration
Google Cloud Messaging (GCM)
10. This action is used in sending text content from one activity to another.
onPause();
onDestroy();
ACTION_SEND
drawBitmap()
11. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
Open Handset Alliance
AndroidManifest.xml
isConnected()
ValueAnimator
12. Callback method: The activity is being created.
SearchView
ShareActionProvider
onCreate();
ActionProvider
13. Android request its permission using its ________
AudioManager
Google Cloud Messaging (GCM)
AndroidManifest.xml
resolveSizeAndState()
14. Allow to combine loosely coupled components to perform certain tasks
Intents
PieChart
BatteryManager
Full power
15. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
Objects Activity lifecycle
onAudioFocusChange()
ConnectivityManager
inflate()
16. Relative to pixels and resolution screen
Lifecycle callback methods
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Dots per inch
Stack
17. 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.
Layouts
Activity
Ducking
AudioManager
18. The visible lifetime of an activity happens between the call to ____ and the call to ______
Android SDK
onStart() - onStop()
onStop();
ViewStub
19. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
android.hardware.touchscreen
XmlPullParser
BatteryManager
searchable configuration
20. An open source stand alone database
SQLite
Services
Intents
AttributeSet
21. Are used in activities to create the user interface and to interact with the user.
AttributeSet
searchable configuration
SQLiteOpenHelper
Fragments
22. This is used to convert raw touch events into gestures.
GestureDetector
onSearchRequested()
SearchView
SurfaceView
23. This is an interface which is used to pass image data from the camera hardware to the application.
OAuth2 protocol
Widgets
SurfaceHolder.Callback
Stack
24. This class is the basis for handling flywheel-style fling gestures.
Account Manager
visible
Scroller
Wi-Fi radio
25. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
searchable configuration
authenticator class
GET_ACCOUNTS
SQLite
26. The dock-state details are included as an extra in a sticky broadcast of this action.
PieChart
ACTION_DOCK_EVENT
onStop();
Dalvik Debug Monitor Server
27. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
NetworkInfo
SurfaceHolder.Callback
SurfaceView
Serialize
28. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
OnCurrentItemChanged
SearchView
onDraw()
AccountAuthenticatorActivity
29. Direct component call in Android
PieChart
Explicit intent
Scroller
onAudioFocusChange()
30. Callback method: The activity is no longer visible.
Explicit intent
HTTP
Activity
onStop();
31. Shows the actual amount of memory the application uses
Canvas
Application footprint
Google Play
AttributeSet
32. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Layouts
SurfaceView
Hierarchy Viewer
Application resources
33. The entire lifetime of an activity happens between the call to _____ and the call to _____
onCreate() - onDestroy()
AbstractAccountAuthenticator
Hierarchy Viewer
Serialize
34. This class exposes a number of methods for applications to receive location updates.
Objects Activity lifecycle
LocationManager
security sandbox
Scroller
35. To define custom attributes - add this resources to your project.
<declare-styleable>
ConnectivityManager
PieChart
onCreate() - onDestroy()
36. For example - a ____ might be a button that initiates an action when the user touches it.
Intents
View
isConnected()
Application footprint
37. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
onDraw()
Google
GET_ACCOUNTS
LTE
38. The most common way to define a layout using views is with an XML layout file saved in your ______
Application resources
visible
android.hardware.touchscreen
Layouts
39. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
onCreate() - onDestroy()
onAudioFocusChange()
resolveSizeAndState()
AsyncTask
40. It is used to load images in a background thread - then apply them to the UI once finished.
security sandbox
Objects Activity lifecycle
AsyncTask
AudioManager
41. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
isConnected()
Android SDK
ConnectivityManager
Activity
42. It is called to invoke the search dialog on older devices.
View
onStart() - onStop()
onSearchRequested()
drawBitmap()
43. This is a readable source of bytes.
GET_ACCOUNTS
SearchView
InputStream
ACTION_SEND
44. This is the main class through which your application can access location services on Android.
searchable configuration
Dalvik Virtual Machine
LocationManager
Open Handset Alliance
45. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
BatteryManager
Layouts
Stack - back stack
HttpURLConnection
46. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
visible
Layouts
Services
resolveSizeAndState()
47. When a new activity starts - it is pushed onto the ____ and takes user focus.
virtual table
ACTION_SEND
Emulator
Back stack
48. The minimal energy state during which no network connection is active or required.
SearchView
Standby
Layouts
LTE
49. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Scroller
Destroyed - previous
Lifecycle callback methods
Activity
50. 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
OAuth2
onResume();
dual-