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 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
GET_ACCOUNTS
Layouts
Scroller
2. Use this to draw bitmaps.
drawBitmap()
Destroyed - previous
ActionProvider
onSearchRequested()
3. Represents the visual representation of an Android application
drawText()
onResume();
Activity
BroadcastReceiver
4. The visible lifetime of an activity happens between the call to ____ and the call to ______
<declare-styleable>
GET_ACCOUNTS
View
onStart() - onStop()
5. Once installed on a device - each Android application lives in its own ______
Emulator
security sandbox
visible
AsyncTask
6. Evaluation of registered components
Implicit intent
ETC1
adb
Dalvik Virtual Machine
7. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
Ducking
onAudioFocusChange()
Linux based
Scroller
8. Whenever the device is docked or undocked - this action is broadcast.
AsyncTask
ACTION_DOCK_EVENT
Hierarchy Viewer
Parser
9. This is a readable source of bytes.
InputStream
Parser
Android SDK
isConnected()
10. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
SecurityException
ACTION_DOCK_EVENT
Open Handset Alliance
onCreate() - onDestroy()
11. It is a free service for sending messages to Android devices.
<declare-styleable>
Parser
Google Cloud Messaging (GCM)
OnCurrentItemChanged
12. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
GestureDetector
NetworkInfo
Entire
searchable configuration
13. 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
onAudioFocusChange()
AsyncTask
Android SDK
14. This is used to convert raw touch events into gestures.
ActionProvider
View
onSearchRequested()
GestureDetector
15. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Scroller
Intent filters
Canvas
Stack - back stack
16. It is called to invoke the search dialog on older devices.
<declare-styleable>
onSearchRequested()
When the activity resumes
Entire
17. Relative to pixels and resolution screen
Dots per inch
ValueAnimator
BroadcastReceiver
BroadcastReceiver
18. This is an interface which is used to pass image data from the camera hardware to the application.
When the activity resumes
ACTION_DOCK_EVENT
SurfaceHolder.Callback
Android SDK
19. Callback method: Another activity is taking focus
onPause();
ViewStub
Back stack
drawBitmap()
20. For example - a ____ might be a button that initiates an action when the user touches it.
onDestroy();
View
SurfaceView
Google
21. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Entire
adb
Google Play
AsyncTask
22. It is available starting with API Level 14 and higher.
onMeasure()
ConnectivityManager
Open Handset Alliance
ShareActionProvider
23. Android system uses a special virtual machine to run java based applicatons
SearchView
Standby
Dalvik Virtual Machine
PieChart
24. This is used to register and de-register your media button event receiver.
Component - screen
ValueAnimator
AudioManager
Stack
25. This widget as an item in the action bar is the preferred way to provide search in your app.
SearchView
Layouts
BatteryManager
Explicit intent
26. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
OnCurrentItemChanged
SearchView
SQLite
drawBitmap()
27. If permissions are missing - the application will get this at runtime.
inflate()
visible
XmlPullParser
SecurityException
28. 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()
android.hardware.touchscreen
Deserialize
Google Cloud Messaging for Android (GCM)
29. Use this to draw text.
drawText()
BatteryManager
virtual table
ConnectivityManager
30. This is used for the need of finer control over your view's layout parameters.
Implicit intent
drawBitmap()
BackupHelper
onMeasure()
31. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
Parser
Activity
View
OAuth2 protocol
32. This is used to fetch the account names that the user has stored on their device.
Account Manager
onSearchRequested()
View
HTTP
33. This can be used to draw previews of what the camera sensor is picking up.
ConnectivityManager
SurfaceView
LTE
onAudioFocusChange()
34. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
onCreate() - onDestroy()
ConnectivityManager
LTE
Implicit intent
35. This includes tools to help you identify problems in your layout performance.
single-pane
Parser
SurfaceView
Android SDK
36. To create an activity - you must create a subclass of
onAudioFocusChange()
EXTRA_STREAM
Activity
Android SDK
37. It is a string that defines the specific type of access your app is asking for.
Serialize
auth scope
Activity
drawText()
38. Callback method: The activity is no longer visible
onCreate() - onDestroy()
Implicit intent
auth scope
onStop();
39. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Widgets
AndroidManifest.xml
Google Cloud Messaging for Android (GCM)
isConnected()
40. Android is __________.
android.hardware.touchscreen
Linux based
Account Manager
GestureDetector
41. On a rooted device - the credentials would be readable by anyone with this access to the device.
HTTP
onCreate();
BroadcastReceiver
adb
42. is run when running Android on the pc
drawText()
onStop();
Emulator
AndroidManifest.xml
43. The minimal energy state during which no network connection is active or required.
Paint
onDraw()
Standby
authenticator class
44. Theseare a key part of Android applications that directly affect the user experience.
Layouts
Back stack
Explicit intent
onStart() - onStop()
45. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
ViewStub
Full power
Fragments
46. This is the main class through which your application can access location services on Android.
single-pane
HttpURLConnection
LocationManager
AttributeSet
47. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Layouts
inflate()
Intents
onStop();
48. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Canvas
AttributeSet
searchable configuration
Open Handset Alliance
49. Sharing of data in Android is done via________
Fragments
Emulator
AsyncTask
Service Content Provider
50. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
Parser
AccountAuthenticatorActivity
Layouts
Component - screen