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 behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
virtual table
Deserialize
onPause();
AndroidManifest.xml
2. Callback method: The activity has become visible.
Wi-Fi radio
Application resources
searchable configuration
onResume();
3. Where Android is currently primarily developed
adb
Google
Android SDK
Google Cloud Messaging for Android (GCM)
4. This is used for the need of finer control over your view's layout parameters.
Scroller
ACTION_DOCK_EVENT
SurfaceHolder.Callback
onMeasure()
5. For example - a ____ might be a button that initiates an action when the user touches it.
View
Component - screen
OAuth2 protocol
Paint
6. The visible lifetime of an activity happens between the call to ____ and the call to ______
Google Play
InputStream
onCreate() - onDestroy()
onStart() - onStop()
7. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
View
onResume();
setVolumeControlStream()
SQLiteOpenHelper
8. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
Destroyed - previous
getInputStream()
Activity
Android SDK
9. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
ValueAnimator
View
Dalvik Virtual Machine
AccountAuthenticatorActivity
10. Perform background tasks without providing a user interface
onDraw()
Application resources
Services
HttpURLConnection
11. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
onMeasure()
Paint
Scroller
12. Most network-connected Android apps use this to send and receive data.
HTTP
drawBitmap()
Extensible Markup Language (XML)
SearchView
13. A mode where navigation is set up with a spinner widget.
HTTP
isConnected()
Google
single-pane
14. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
Geocoder
SearchView
LocationManager
BroadcastReceiver
15. The most common way to define a layout using views is with an XML layout file saved in your ______
single-pane
Application resources
Dalvik Virtual Machine
Stack - back stack
16. Android is __________.
ETC1
NetworkInfo
Linux based
Full power
17. It is used to load images in a background thread - then apply them to the UI once finished.
AsyncTask
searchable configuration
Emulator
Dalvik Virtual Machine
18. In most cases this will offer greater bandwidth at a significantly lower battery cost.
AccountAuthenticatorActivity
LocationManager
Wi-Fi radio
auth scope
19. The helper method is used to create the final width and height values.
Component - screen
SQLite
onDraw()
resolveSizeAndState()
20. Conversion of XML back to an object
Android SDK
Deserialize
BroadcastReceiver
onStart() - onStop()
21. Converts XML Document to XML DOM
Parser
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Hierarchy Viewer
Back stack
22. A service in which programmers can offer their Android application to Android users.
Google Play
ActionProvider
BroadcastReceiver
Services
23. The minimal energy state during which no network connection is active or required.
XmlPullParser
ETC1
Standby
onResume();
24. These helpers are specialized classes for backing up certain kinds of data.
Widgets
BackupHelper
GestureDetector
<declare-styleable>
25. The industry standard way to deal with authentication to third-party services.
Full power
OAuth2 protocol
virtual table
SearchView
26. This search feature was introduced in Android 3.0 and can maintain backward compatibility with older versions of Android by using the default search dialog provided by the system.
SearchView
SettingsActivity
BatteryManager
touch
27. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Dalvik Debug Monitor Server
onCreate();
ConnectivityManager
onDestroy();
28. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
Component - screen
SQLiteOpenHelper
onAudioFocusChange()
Entire
29. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
Geocoder
PieChart
When the activity resumes
drawBitmap()
30. Relative to pixels and resolution screen
AsyncTask
Services
Dots per inch
BackupHelper
31. It is a subclass of PreferenceActivity.
Ducking
OAuth2
Account Manager
SettingsActivity
32. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
SearchView
EXTRA_STREAM
authenticator class
Explicit intent
33. This class exposes a number of methods for applications to receive location updates.
ShareActionProvider
LocationManager
dual-
android.hardware.touchscreen
34. 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()
ValueAnimator
ACTION_DOCK_EVENT
Activity
35. Whenever the device is docked or undocked - this action is broadcast.
inflate()
Deserialize
drawText()
ACTION_DOCK_EVENT
36. This is the simplest way to monitor device state changes.
BroadcastReceiver
ShareActionProvider
SecurityException
adb
37. It doesn't currently support the <merge/> tag in the layouts to be inflated.
SettingsActivity
ViewStub
Hierarchy Viewer
Account Manager
38. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
GET_ACCOUNTS
ACTION_DOCK_EVENT
isConnected()
AccountAuthenticatorActivity
39. A styleable entity that contains these two custom attributes: showText and labelPosition.
HTTP
Android SDK
PieChart
Full power
40. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
LTE
onDestroy();
Intents
ConnectivityManager
41. The dock-state details are included as an extra in a sticky broadcast of this action.
ACTION_DOCK_EVENT
Activity
isConnected()
Scroller
42. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
onStart() - onStop()
SecurityException
Lifecycle callback methods
Linux based
43. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
inflate()
ACTION_DOCK_EVENT
NetworkInfo
Dalvik Virtual Machine
44. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
onCreate() - onDestroy()
ActionProvider
ViewStub
Fragments
45. 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.
ViewStub
onCreate();
resolveSizeAndState()
Paint
46. Callback method: Another activity is taking focus
touch
onCreate() - onDestroy()
onPause();
ValueAnimator
47. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
onCreate() - onDestroy()
drawBitmap()
SurfaceView
Geocoder
48. Once installed on a device - each Android application lives in its own ______
authenticator class
XmlPullParser
SearchView
security sandbox
49. 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?
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
EXTRA_STREAM
AttributeSet
LTE
50. Evaluation of registered components
Stack - back stack
Wi-Fi radio
Implicit intent
Serialize