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. A service in which programmers can offer their Android application to Android users.
android.hardware.touchscreen
Scroller
Google Play
Dalvik Virtual Machine
2. Shows the actual amount of memory the application uses
Implicit intent
Application footprint
drawText()
Account Manager
3. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
ACTION_DOCK_EVENT
AbstractAccountAuthenticator
Google Cloud Messaging (GCM)
getInputStream()
4. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
searchable configuration
getInputStream()
drawBitmap()
onCreate();
5. 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.
Intents
Paint
AsyncTask
searchable configuration
6. This is the most common input event in the Android system.
onCreate() - onDestroy()
ViewStub
Low power
touch
7. This widget as an item in the action bar is the preferred way to provide search in your app.
SearchView
drawBitmap()
security sandbox
BatteryManager
8. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Extensible Markup Language (XML)
Fragments
ShareActionProvider
android.hardware.touchscreen
9. An open source stand alone database
Dalvik Debug Monitor Server
onDraw()
SQLite
android.hardware.touchscreen
10. This object contains an account name - which for Google accounts is an email address.
searchable configuration
Account
GET_ACCOUNTS
Scroller
11. This class is the basis for handling flywheel-style fling gestures.
Stack - back stack
Scroller
Explicit intent
EXTRA_STREAM
12. Use this to draw text.
onCreate() - onDestroy()
Canvas
ACTION_DOCK_EVENT
drawText()
13. It inform the system what intents an application component is willing to accept.
Canvas
Services
Component - screen
Intent filters
14. Conversion of an object to XML
SurfaceView
onStart() - onStop()
Serialize
ConnectivityManager
15. It is an efficient and maintainable way to parse XML on Android.
Parser
XmlPullParser
<declare-styleable>
ActionProvider
16. A mode where navigation is set up with a spinner widget.
PieChart
single-pane
Google Cloud Messaging for Android (GCM)
getInputStream()
17. Perform background tasks without providing a user interface
Intent filters
GET_ACCOUNTS
AsyncTask
Services
18. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
virtual table
onMeasure()
inflate()
Service Content Provider
19. It is a set of rules for encoding documents in machine-readable form.
Scroller
setVolumeControlStream()
Extensible Markup Language (XML)
SQLiteOpenHelper
20. It is called to invoke the search dialog on older devices.
onPause();
Wi-Fi radio
onSearchRequested()
AttributeSet
21. 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.
onStart() - onStop()
Intent filters
AsyncTask
SearchView
22. It is a free service for sending messages to Android devices.
Account Manager
AsyncTask
Google Cloud Messaging (GCM)
ViewStub
23. The minimal energy state during which no network connection is active or required.
Standby
isConnected()
drawBitmap()
PieChart
24. On a rooted device - the credentials would be readable by anyone with this access to the device.
adb
SearchView
PieChart
AsyncTask
25. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
LocationManager
Hierarchy Viewer
BroadcastReceiver
SearchView
26. 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 ___ .
ActionProvider
GestureDetector
Stack
GET_ACCOUNTS
27. This is an interface which is used to pass image data from the camera hardware to the application.
Deserialize
SurfaceHolder.Callback
Entire
Explicit intent
28. Most network-connected Android apps use this to send and receive data.
getInputStream()
HTTP
When the activity resumes
searchable configuration
29. Direct component call in Android
Full power
Explicit intent
GET_ACCOUNTS
Wi-Fi radio
30. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
single-pane
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
dual-
Explicit intent
31. Represents the visual representation of an Android application
Serialize
Activity
onSearchRequested()
setContentView
32. The visible lifetime of an activity happens between the call to ____ and the call to ______
ACTION_SEND
AudioManager
LocationManager
onStart() - onStop()
33. This is the main class through which your application can access location services on Android.
visible
LocationManager
AttributeSet
Layouts
34. This is the simplest way to monitor device state changes.
android.hardware.touchscreen
Implicit intent
BroadcastReceiver
NetworkInfo
35. ______ are views derived from ViewGroup that provide a unique layout model for its child views
LTE
BatteryManager
Layouts
dual-
36. Whenever the device is docked or undocked - this action is broadcast.
Extensible Markup Language (XML)
ValueAnimator
ACTION_DOCK_EVENT
SurfaceView
37. These helpers are specialized classes for backing up certain kinds of data.
BackupHelper
Account Manager
OnCurrentItemChanged
onCreate() - onDestroy()
38. Callback method: Another activity is taking focus
onPause();
Explicit intent
onDraw()
Hierarchy Viewer
39. The industry standard way to deal with authentication to third-party services.
onDestroy();
<declare-styleable>
auth scope
OAuth2 protocol
40. Callback method: The activity is about to be destroyed.
PackageManager
Extensible Markup Language (XML)
inflate()
onDestroy();
41. This class provides one of the simplest ways to fire off a new task from the UI thread.
AsyncTask
Standby
BatteryManager
AndroidManifest.xml
42. An intermediate state that uses around 50% of the battery power at the full state.
onSearchRequested()
Low power
Geocoder
Implicit intent
43. To create an activity - you must create a subclass of
Hierarchy Viewer
Activity
Component - screen
ViewStub
44. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
isConnected()
setContentView
SQLiteOpenHelper
SurfaceView
45. This is a readable source of bytes.
Services
Open Handset Alliance
InputStream
Application resources
46. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
When the activity resumes
Stack - back stack
Serialize
Ducking
47. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
Scroller
onAudioFocusChange()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Intents
48. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
OnCurrentItemChanged
Account
Wi-Fi radio
onAudioFocusChange()
49. 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 _____
onCreate() - onDestroy()
OnCurrentItemChanged
AsyncTask
authenticator class
50. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
NetworkInfo
Google Play
AsyncTask
Intents