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. An intermediate state that uses around 50% of the battery power at the full state.
Explicit intent
Low power
Dots per inch
ConnectivityManager
2. This is used to convert raw touch events into gestures.
LTE
Activity
SurfaceView
GestureDetector
3. Conversion of XML back to an object
onCreate() - onDestroy()
Deserialize
Full power
AttributeSet
4. Callback method: The activity is no longer visible
When the activity resumes
AbstractAccountAuthenticator
onStop();
touch
5. 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
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Destroyed - previous
GestureDetector
EXTRA_STREAM
6. This is the most common input event in the Android system.
Wi-Fi radio
android.hardware.touchscreen
touch
LTE
7. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
Android SDK
virtual table
OAuth2
ACTION_DOCK_EVENT
8. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
LTE
onStop();
Entire
Objects Activity lifecycle
9. Once installed on a device - each Android application lives in its own ______
OnCurrentItemChanged
isConnected()
security sandbox
LocationManager
10. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
onStart() - onStop()
ShareActionProvider
android.hardware.touchscreen
GET_ACCOUNTS
11. An _______ is an application component that provides a screen 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.
OAuth2
onStop();
Activity
Service Content Provider
12. Use this to draw bitmaps.
drawBitmap()
Entire
SecurityException
ActionProvider
13. Perform background tasks without providing a user interface
Services
SurfaceView
Serialize
Destroyed - previous
14. It is available starting with API Level 14 and higher.
single-pane
ShareActionProvider
View
AttributeSet
15. The minimal energy state during which no network connection is active or required.
NetworkInfo
Standby
Scroller
Parser
16. It doesn't currently support the <merge/> tag in the layouts to be inflated.
Android SDK
InputStream
ViewStub
Stack - back stack
17. To define custom attributes - add this resources to your project.
ShareActionProvider
ViewStub
<declare-styleable>
Hierarchy Viewer
18. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
OAuth2 protocol
Component - screen
onCreate() - onDestroy()
searchable configuration
19. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
BatteryManager
isConnected()
View
SurfaceView
20. Callback method: Another activity is taking focus
ETC1
onPause();
ViewStub
SurfaceHolder.Callback
21. Whenever the device is docked or undocked - this action is broadcast.
Application footprint
PieChart
onDraw()
ACTION_DOCK_EVENT
22. Relative to pixels and resolution screen
Wi-Fi radio
Dots per inch
ValueAnimator
onDraw()
23. You can set the layout as the UI for your activity with passing the resource ID for the layout.
ViewStub
onStart() - onStop()
setContentView
Low power
24. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
android.hardware.touchscreen
Service Content Provider
visible
onCreate() - onDestroy()
25. This object contains an account name - which for Google accounts is an email address.
Account
Parser
ViewStub
Linux based
26. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
Dots per inch
LTE
ConnectivityManager
ViewStub
27. A mode where navigation is set up with a spinner widget.
Account Manager
searchable configuration
single-pane
Application footprint
28. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
drawText()
AsyncTask
ViewStub
OAuth2 protocol
29. For example - a ____ might be a button that initiates an action when the user touches it.
Serialize
onStop();
Emulator
View
30. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
onCreate();
ACTION_DOCK_EVENT
onCreate() - onDestroy()
AttributeSet
31. Callback method: The activity is being created.
setVolumeControlStream()
Scroller
onCreate();
Intent filters
32. This is used to fetch the account names that the user has stored on their device.
LTE
Account Manager
Application footprint
ViewStub
33. Converts XML Document to XML DOM
drawBitmap()
Stack - back stack
NetworkInfo
Parser
34. It's generally a good idea for one of your APKs to support this texture format as it is supported by all Android-powered devices that support the OpenGL ES 2.0 spec.
AndroidManifest.xml
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
ACTION_DOCK_EVENT
ETC1
35. This broadcasts an action whenever the device is connected or disconnected from power.
Google Cloud Messaging (GCM)
Serialize
setVolumeControlStream()
BatteryManager
36. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
PackageManager
SQLite
dual-
onAudioFocusChange()
37. It is called to invoke the search dialog on older devices.
visible
Fragments
android.hardware.touchscreen
onSearchRequested()
38. The visible lifetime of an activity happens between the call to ____ and the call to ______
onStart() - onStop()
View
Scroller
ConnectivityManager
39. 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?
AttributeSet
AsyncTask
onPause();
drawBitmap()
40. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
SearchView
InputStream
isConnected()
HttpURLConnection
41. It is a subclass of PreferenceActivity.
Extensible Markup Language (XML)
setContentView
SearchView
SettingsActivity
42. This is set up to animate for the duration of the fling.
ValueAnimator
AndroidManifest.xml
SurfaceView
Scroller
43. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Services
Wi-Fi radio
Geocoder
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
44. The industry standard way to deal with authentication to third-party services.
Entire
BatteryManager
Stack
OAuth2 protocol
45. In order to get a list of accounts on the device - your app needs this permission.
Component - screen
GET_ACCOUNTS
Wi-Fi radio
Deserialize
46. Android is __________.
Layouts
onDestroy();
SearchView
Linux based
47. This class exposes a number of methods for applications to receive location updates.
InputStream
AccountAuthenticatorActivity
LocationManager
Objects Activity lifecycle
48. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Advanced Training
onMeasure()
isConnected()
SurfaceHolder.Callback
49. 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.
Ducking
ACTION_DOCK_EVENT
Parser
Geocoder
50. This is a readable source of bytes.
Paint
InputStream
Service Content Provider
onMeasure()