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 includes tools to help you identify problems in your layout performance.
android.hardware.touchscreen
<declare-styleable>
Android SDK
onCreate() - onDestroy()
2. This broadcasts an action whenever the device is connected or disconnected from power.
setContentView
BatteryManager
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Layouts
3. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Stack
Activity
android.hardware.touchscreen
Android SDK
4. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
AudioManager
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Serialize
AbstractAccountAuthenticator
5. Android provides this handy method to direct volume key presses to the audio stream the user specify.
authenticator class
onStop();
BroadcastReceiver
setVolumeControlStream()
6. Callback method: The activity is no longer visible.
Deserialize
Lifecycle callback methods
SearchView
onStop();
7. Amode where the action bar is set up with tabs for navigation.
LocationManager
dual-
onMeasure()
Activity
8. To create an activity - you must create a subclass of
Activity
Destroyed - previous
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
EXTRA_STREAM
9. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Full power
onAudioFocusChange()
setContentView
Serialize
10. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
When the activity resumes
Lifecycle callback methods
ActionProvider
Google Cloud Messaging (GCM)
11. Whenever the device is docked or undocked - this action is broadcast.
onCreate() - onDestroy()
searchable configuration
drawBitmap()
ACTION_DOCK_EVENT
12. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
BatteryManager
SettingsActivity
OAuth2 protocol
getInputStream()
13. is run when running Android on the pc
Emulator
ViewStub
BatteryManager
adb
14. It is used to load images in a background thread - then apply them to the UI once finished.
Activity
Linux based
Layouts
AsyncTask
15. This is used to register and de-register your media button event receiver.
Advanced Training
LocationManager
AudioManager
EXTRA_STREAM
16. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
onCreate() - onDestroy()
ValueAnimator
Stack - back stack
BatteryManager
17. This is used to convert raw touch events into gestures.
Full power
Activity
PackageManager
GestureDetector
18. A service in which programmers can offer their Android application to Android users.
Dalvik Virtual Machine
Scroller
Google Play
ActionProvider
19. In order to get a list of accounts on the device - your app needs this permission.
onCreate();
Linux based
GET_ACCOUNTS
SurfaceView
20. Evaluation of registered components
onStop();
View
AsyncTask
Implicit intent
21. It is an efficient and maintainable way to parse XML on Android.
When the activity resumes
XmlPullParser
SearchView
AccountAuthenticatorActivity
22. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
searchable configuration
virtual table
Full power
AttributeSet
23. This object contains an account name - which for Google accounts is an email address.
BatteryManager
When the activity resumes
Account
Implicit intent
24. This widget as an item in the action bar is the preferred way to provide search in your app.
ConnectivityManager
SearchView
onAudioFocusChange()
drawBitmap()
25. This is the simplest way to monitor device state changes.
Back stack
Stack - back stack
SQLite
BroadcastReceiver
26. This can be used to draw previews of what the camera sensor is picking up.
setContentView
GET_ACCOUNTS
Wi-Fi radio
SurfaceView
27. The dock-state details are included as an extra in a sticky broadcast of this action.
Hierarchy Viewer
ACTION_DOCK_EVENT
BatteryManager
Parser
28. This class exposes a number of methods for applications to receive location updates.
LocationManager
Open Handset Alliance
Destroyed - previous
Dalvik Virtual Machine
29. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
security sandbox
Standby
virtual table
setVolumeControlStream()
30. It inform the system what intents an application component is willing to accept.
Entire
Intent filters
Deserialize
drawBitmap()
31. Conversion of an object to XML
LocationManager
Implicit intent
Explicit intent
Serialize
32. 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
onPause();
XmlPullParser
GestureDetector
Destroyed - previous
33. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
ACTION_SEND
BroadcastReceiver
Ducking
SQLiteOpenHelper
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()
Parser
AndroidManifest.xml
Fragments
35. 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.
resolveSizeAndState()
SurfaceView
authenticator class
ETC1
36. Most network-connected Android apps use this to send and receive data.
Explicit intent
adb
PackageManager
HTTP
37. 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.
onCreate();
OAuth2
onStart() - onStop()
ACTION_DOCK_EVENT
38. The entire lifetime of an activity happens between the call to _____ and the call to _____
Scroller
onCreate() - onDestroy()
Paint
ETC1
39. A styleable entity that contains these two custom attributes: showText and labelPosition.
Paint
PieChart
onCreate();
onStop();
40. Are used in activities to create the user interface and to interact with the user.
onStop();
Paint
Fragments
resolveSizeAndState()
41. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
onCreate() - onDestroy()
LTE
LocationManager
visible
42. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
Dots per inch
AccountAuthenticatorActivity
Widgets
AbstractAccountAuthenticator
43. This is the main class through which your application can access location services on Android.
resolveSizeAndState()
LocationManager
onCreate() - onDestroy()
XmlPullParser
44. This is set up to animate for the duration of the fling.
authenticator class
Deserialize
Canvas
ValueAnimator
45. 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
drawBitmap()
onAudioFocusChange()
ActionProvider
46. In most cases this will offer greater bandwidth at a significantly lower battery cost.
searchable configuration
authenticator class
Wi-Fi radio
onDraw()
47. A mode where navigation is set up with a spinner widget.
single-pane
ShareActionProvider
Deserialize
android.hardware.touchscreen
48. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Implicit intent
Entire
SurfaceView
Scroller
49. This is an interface which is used to pass image data from the camera hardware to the application.
AbstractAccountAuthenticator
SurfaceHolder.Callback
Paint
Hierarchy Viewer
50. An open source group led by Google
Open Handset Alliance
onResume();
Layouts
PackageManager