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. Android provides this handy method to direct volume key presses to the audio stream the user specify.
Linux based
setVolumeControlStream()
Implicit intent
HttpURLConnection
2. The minimal energy state during which no network connection is active or required.
setContentView
ConnectivityManager
Standby
ViewStub
3. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
Intent filters
onMeasure()
onStart() - onStop()
getInputStream()
4. You can set the layout as the UI for your activity with passing the resource ID for the layout.
onStop();
setContentView
LocationManager
OnCurrentItemChanged
5. It is a subclass of PreferenceActivity.
Service Content Provider
SettingsActivity
setVolumeControlStream()
Low power
6. This is set up to animate for the duration of the fling.
onCreate() - onDestroy()
onMeasure()
Account
ValueAnimator
7. This class is the basis for handling flywheel-style fling gestures.
AudioManager
Fragments
onAudioFocusChange()
Scroller
8. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
BroadcastReceiver
When the activity resumes
Component - screen
Android SDK
9. To define custom attributes - add this resources to your project.
BroadcastReceiver
onDestroy();
<declare-styleable>
Scroller
10. Use this to draw text.
drawText()
isConnected()
Hierarchy Viewer
XmlPullParser
11. Perform background tasks without providing a user interface
getInputStream()
Dalvik Debug Monitor Server
Google
Services
12. Callback method: The activity is no longer visible.
SurfaceView
Component - screen
onStop();
Activity
13. An open source group led by Google
onCreate() - onDestroy()
XmlPullParser
Emulator
Open Handset Alliance
14. This is the most common input event in the Android system.
AsyncTask
Fragments
touch
ConnectivityManager
15. The most common way to define a layout using views is with an XML layout file saved in your ______
onCreate() - onDestroy()
Application resources
Parser
onSearchRequested()
16. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
View
onStart() - onStop()
touch
adb
17. This is an interface which is used to pass image data from the camera hardware to the application.
SurfaceHolder.Callback
Dalvik Debug Monitor Server
Geocoder
Linux based
18. 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
PieChart
AsyncTask
isConnected()
19. It doesn't currently support the <merge/> tag in the layouts to be inflated.
ConnectivityManager
inflate()
ViewStub
Low power
20. This widget as an item in the action bar is the preferred way to provide search in your app.
PieChart
SearchView
LocationManager
drawText()
21. It is used to load images in a background thread - then apply them to the UI once finished.
single-pane
Android SDK
AsyncTask
Scroller
22. On a rooted device - the credentials would be readable by anyone with this access to the device.
dual-
Scroller
onPause();
adb
23. This is a readable source of bytes.
<declare-styleable>
dual-
InputStream
onStart() - onStop()
24. This includes tools to help you identify problems in your layout performance.
Entire
Android SDK
Parser
Explicit intent
25. Necessary tools to develop Android applications
Parser
View
security sandbox
Android SDK
26. is run when running Android on the pc
AccountAuthenticatorActivity
HttpURLConnection
InputStream
Emulator
27. Whenever the device is docked or undocked - this action is broadcast.
ACTION_DOCK_EVENT
Wi-Fi radio
Account Manager
<declare-styleable>
28. Once installed on a device - each Android application lives in its own ______
onCreate() - onDestroy()
security sandbox
Activity
Parser
29. This broadcasts an action whenever the device is connected or disconnected from power.
authenticator class
LTE
Intents
BatteryManager
30. Are used in activities to create the user interface and to interact with the user.
setContentView
Fragments
auth scope
Activity
31. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
HttpURLConnection
Widgets
onMeasure()
ValueAnimator
32. 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 ___ .
Widgets
android.hardware.touchscreen
Emulator
Stack
33. Direct component call in Android
inflate()
Wi-Fi radio
Explicit intent
Ducking
34. 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
virtual table
ACTION_SEND
GestureDetector
35. An _______ is an application component that provides a screen with which users can interact in order to do something - such as dial the phone - take a photo - send an email - or view a map.
Activity
onResume();
SQLiteOpenHelper
Explicit intent
36. This class provides one of the simplest ways to fire off a new task from the UI thread.
AsyncTask
onStop();
ViewStub
Service Content Provider
37. Shows the actual amount of memory the application uses
Fragments
AndroidManifest.xml
Emulator
Application footprint
38. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
onStart() - onStop()
ACTION_DOCK_EVENT
AccountAuthenticatorActivity
onAudioFocusChange()
39. It provides a simple way to perform your work outside the main thread.
Google Cloud Messaging (GCM)
View
Open Handset Alliance
AsyncTask
40. It is available starting with API Level 14 and higher.
inflate()
ShareActionProvider
Intent filters
Android SDK
41. 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
InputStream
Android SDK
onDestroy();
42. An Activity is an application ______ that provides a _______ with which users can interact in order to do something - such as dial the phone - take a photo - send an email - or view a map
LocationManager
AsyncTask
SQLite
Component - screen
43. It is called to invoke the search dialog on older devices.
ACTION_DOCK_EVENT
AudioManager
AsyncTask
onSearchRequested()
44. It is an efficient and maintainable way to parse XML on Android.
Android SDK
ETC1
touch
XmlPullParser
45. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
AccountAuthenticatorActivity
Standby
Layouts
Stack
46. 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.
inflate()
Hierarchy Viewer
ETC1
Parser
47. Android system uses a special virtual machine to run java based applicatons
Services
Dalvik Virtual Machine
Emulator
Back stack
48. The dock-state details are included as an extra in a sticky broadcast of this action.
Scroller
OnCurrentItemChanged
ACTION_DOCK_EVENT
onCreate() - onDestroy()
49. The visible lifetime of an activity happens between the call to ____ and the call to ______
ViewStub
onStart() - onStop()
GET_ACCOUNTS
ViewStub
50. The entire lifetime of an activity happens between the call to _____ and the call to _____
onCreate() - onDestroy()
Android SDK
onStart() - onStop()
Google Play