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 action is used in sending text content from one activity to another.
ACTION_SEND
Stack - back stack
Serialize
OnCurrentItemChanged
2. Where Android is currently primarily developed
onSearchRequested()
inflate()
Google
setVolumeControlStream()
3. Are used in activities to create the user interface and to interact with the user.
onStart() - onStop()
Fragments
View
single-pane
4. This class is the basis for handling flywheel-style fling gestures.
Services
Scroller
Google Cloud Messaging (GCM)
SurfaceView
5. To create an activity - you must create a subclass of
Activity
Scroller
Full power
isConnected()
6. Android provides this handy method to direct volume key presses to the audio stream the user specify.
setVolumeControlStream()
onDestroy();
onAudioFocusChange()
Application resources
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.
authenticator class
ActionProvider
virtual table
setContentView
8. Callback method: The activity is being created.
SQLite
setContentView
onCreate();
onMeasure()
9. This widget as an item in the action bar is the preferred way to provide search in your app.
Activity
SearchView
onDestroy();
dual-
10. Necessary tools to develop Android applications
Android SDK
onSearchRequested()
Layouts
Activity
11. Theseare a key part of Android applications that directly affect the user experience.
Layouts
Entire
SearchView
Explicit intent
12. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
XmlPullParser
Layouts
Dalvik Debug Monitor Server
Wi-Fi radio
13. It is used to load images in a background thread - then apply them to the UI once finished.
SearchView
Google
AsyncTask
OAuth2
14. An open source group led by Google
onCreate() - onDestroy()
Open Handset Alliance
Google
Application footprint
15. It is available starting with API Level 14 and higher.
getInputStream()
onMeasure()
ShareActionProvider
OAuth2 protocol
16. 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
AbstractAccountAuthenticator
Destroyed - previous
Application resources
Scroller
17. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
adb
Paint
OnCurrentItemChanged
ConnectivityManager
18. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
ConnectivityManager
OnCurrentItemChanged
LocationManager
single-pane
19. Most network-connected Android apps use this to send and receive data.
HTTP
dual-
Parser
visible
20. 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.
onDraw()
auth scope
SQLite
Ducking
21. 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()
onPause();
LTE
SecurityException
22. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
NetworkInfo
Stack
View
Geocoder
23. Converts XML Document to XML DOM
Full power
resolveSizeAndState()
Parser
OnCurrentItemChanged
24. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
single-pane
AccountAuthenticatorActivity
AsyncTask
Objects Activity lifecycle
25. 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
ETC1
PackageManager
Linux based
Google Cloud Messaging for Android (GCM)
26. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
NetworkInfo
searchable configuration
ViewStub
Fragments
27. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
Deserialize
BroadcastReceiver
BatteryManager
SettingsActivity
28. Evaluation of registered components
onStop();
GestureDetector
LocationManager
Implicit intent
29. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
SecurityException
ViewStub
Hierarchy Viewer
onStop();
30. Use this to draw bitmaps.
Hierarchy Viewer
drawBitmap()
<declare-styleable>
SurfaceHolder.Callback
31. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
inflate()
Activity
Entire
ViewStub
32. Shows the actual amount of memory the application uses
authenticator class
onCreate() - onDestroy()
Application footprint
InputStream
33. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
onCreate() - onDestroy()
ViewStub
BatteryManager
NetworkInfo
34. Once installed on a device - each Android application lives in its own ______
Scroller
Ducking
android.hardware.touchscreen
security sandbox
35. An open source stand alone database
AsyncTask
onAudioFocusChange()
SQLite
dual-
36. The dock-state details are included as an extra in a sticky broadcast of this action.
drawText()
ACTION_DOCK_EVENT
NetworkInfo
SurfaceHolder.Callback
37. This is used to convert raw touch events into gestures.
onStop();
ACTION_DOCK_EVENT
adb
GestureDetector
38. This is used for the need of finer control over your view's layout parameters.
Implicit intent
onMeasure()
ConnectivityManager
Layouts
39. Binary data is shared using the ACTION_SEND action combined with setting the appropriate MIME type and placing the URI to the data in an extra named called?
AttributeSet
onPause();
GestureDetector
EXTRA_STREAM
40. An intermediate state that uses around 50% of the battery power at the full state.
Low power
LocationManager
Geocoder
SurfaceView
41. To define custom attributes - add this resources to your project.
HTTP
SearchView
<declare-styleable>
HttpURLConnection
42. Represents the visual representation of an Android application
dual-
Activity
GET_ACCOUNTS
HTTP
43. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
ViewStub
visible
View
GestureDetector
44. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
inflate()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Implicit intent
PackageManager
45. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
SettingsActivity
touch
searchable configuration
ViewStub
46. It is a free service for sending messages to Android devices.
AudioManager
Google Cloud Messaging (GCM)
SQLiteOpenHelper
Google Play
47. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
android.hardware.touchscreen
ViewStub
ACTION_DOCK_EVENT
BatteryManager
48. This object contains an account name - which for Google accounts is an email address.
Ducking
Implicit intent
HttpURLConnection
Account
49. For example - a ____ might be a button that initiates an action when the user touches it.
onAudioFocusChange()
View
Android SDK
dual-
50. A styleable entity that contains these two custom attributes: showText and labelPosition.
ACTION_DOCK_EVENT
Application resources
PieChart
BatteryManager