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. Once installed on a device - each Android application lives in its own ______
ETC1
AttributeSet
Canvas
security sandbox
2. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
ConnectivityManager
AccountAuthenticatorActivity
Android SDK
Wi-Fi radio
3. To create an activity - you must create a subclass of
Activity
Google Cloud Messaging for Android (GCM)
Google Cloud Messaging (GCM)
auth scope
4. Necessary tools to develop Android applications
searchable configuration
Android SDK
Activity
AudioManager
5. This class exposes a number of methods for applications to receive location updates.
onCreate() - onDestroy()
setVolumeControlStream()
LocationManager
onStop();
6. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
SearchView
Paint
Objects Activity lifecycle
android.hardware.touchscreen
7. The helper method is used to create the final width and height values.
resolveSizeAndState()
Dots per inch
SettingsActivity
ViewStub
8. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Scroller
setContentView
ACTION_DOCK_EVENT
dual-
9. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
onAudioFocusChange()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
<declare-styleable>
onSearchRequested()
10. Sharing of data in Android is done via________
adb
isConnected()
onMeasure()
Service Content Provider
11. This action is used in sending text content from one activity to another.
ACTION_SEND
Google Cloud Messaging (GCM)
AsyncTask
SurfaceView
12. This includes tools to help you identify problems in your layout performance.
ETC1
Android SDK
onDestroy();
ActionProvider
13. This is used to convert raw touch events into gestures.
ACTION_DOCK_EVENT
Google
HTTP
GestureDetector
14. This is an interface which is used to pass image data from the camera hardware to the application.
SurfaceHolder.Callback
Google Cloud Messaging for Android (GCM)
AudioManager
Dalvik Debug Monitor Server
15. 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.
Google Play
View
Linux based
ETC1
16. Allow to combine loosely coupled components to perform certain tasks
Intents
GestureDetector
BroadcastReceiver
BackupHelper
17. 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
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
BatteryManager
Lifecycle callback methods
18. Android is __________.
Application footprint
Linux based
Extensible Markup Language (XML)
BatteryManager
19. The minimal energy state during which no network connection is active or required.
Explicit intent
BroadcastReceiver
Standby
AudioManager
20. To define custom attributes - add this resources to your project.
ConnectivityManager
<declare-styleable>
EXTRA_STREAM
touch
21. Callback method: The activity is no longer visible.
onStop();
getInputStream()
Entire
Account
22. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Explicit intent
Lifecycle callback methods
ViewStub
Deserialize
23. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
searchable configuration
ACTION_DOCK_EVENT
Canvas
24. Callback method: The activity is about to be destroyed.
onDestroy();
setVolumeControlStream()
Stack
dual-
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
PackageManager
onResume();
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Scroller
26. It provides a simple way to perform your work outside the main thread.
Android SDK
Google Cloud Messaging (GCM)
AsyncTask
Component - screen
27. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
ViewStub
Emulator
getInputStream()
onStop();
28. An intermediate state that uses around 50% of the battery power at the full state.
Low power
HttpURLConnection
SecurityException
OnCurrentItemChanged
29. It provides a single value - called an auth token that represents both the user's identity and the application's authorization to act on the user's behalf.
OAuth2
LocationManager
drawText()
Destroyed - previous
30. 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.
BackupHelper
SearchView
inflate()
Standby
31. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
SearchView
isConnected()
setVolumeControlStream()
onCreate();
32. Use this to draw bitmaps.
Application footprint
Application resources
drawBitmap()
HTTP
33. This class is the basis for handling flywheel-style fling gestures.
onResume();
Google Play
OAuth2
Scroller
34. It is available starting with API Level 14 and higher.
HTTP
GestureDetector
ShareActionProvider
Parser
35. A mode where navigation is set up with a spinner widget.
SearchView
single-pane
onDraw()
onStop();
36. Use this to draw text.
security sandbox
drawText()
onCreate() - onDestroy()
ActionProvider
37. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
Scroller
getInputStream()
LocationManager
SurfaceHolder.Callback
38. An open source stand alone database
Open Handset Alliance
SQLite
ACTION_DOCK_EVENT
AudioManager
39. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
BatteryManager
dual-
Widgets
onSearchRequested()
40. 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.
Linux based
onCreate();
Paint
Intent filters
41. It is a free service for sending messages to Android devices.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
drawBitmap()
Google Cloud Messaging (GCM)
PackageManager
42. This is used for the need of finer control over your view's layout parameters.
SQLite
Deserialize
onMeasure()
security sandbox
43. 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
EXTRA_STREAM
onDraw()
onDestroy();
44. It is a subclass of PreferenceActivity.
SettingsActivity
ACTION_SEND
onMeasure()
SQLite
45. On a rooted device - the credentials would be readable by anyone with this access to the device.
AsyncTask
adb
Destroyed - previous
single-pane
46. Amode where the action bar is set up with tabs for navigation.
Dots per inch
Account Manager
dual-
searchable configuration
47. Android system uses a special virtual machine to run java based applicatons
onCreate() - onDestroy()
Dalvik Virtual Machine
Open Handset Alliance
OAuth2
48. 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
Layouts
AsyncTask
single-pane
Destroyed - previous
49. A service in which programmers can offer their Android application to Android users.
touch
Google Play
AsyncTask
ACTION_DOCK_EVENT
50. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
OnCurrentItemChanged
onResume();
onDestroy();
Lifecycle callback methods