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 system uses a special virtual machine to run java based applicatons
BatteryManager
isConnected()
Dalvik Virtual Machine
drawText()
2. This is an interface which is used to pass image data from the camera hardware to the application.
ValueAnimator
SurfaceHolder.Callback
isConnected()
HttpURLConnection
3. Callback method: The activity has become visible.
Component - screen
Full power
onResume();
SQLiteOpenHelper
4. On a rooted device - the credentials would be readable by anyone with this access to the device.
adb
onAudioFocusChange()
touch
SurfaceView
5. Allow to combine loosely coupled components to perform certain tasks
onCreate() - onDestroy()
LTE
Intents
Destroyed - previous
6. This is the most common input event in the Android system.
Emulator
Entire
Back stack
touch
7. Theseare a key part of Android applications that directly affect the user experience.
Services
drawBitmap()
Widgets
Layouts
8. Callback method: The activity is no longer visible.
onStop();
ConnectivityManager
<declare-styleable>
Serialize
9. Converts XML Document to XML DOM
Standby
Parser
Paint
isConnected()
10. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
onCreate();
onDestroy();
Scroller
Parser
11. The entire lifetime of an activity happens between the call to _____ and the call to _____
ViewStub
onMeasure()
onCreate() - onDestroy()
Deserialize
12. The industry standard way to deal with authentication to third-party services.
OAuth2 protocol
Fragments
Destroyed - previous
ViewStub
13. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Objects Activity lifecycle
Application resources
Canvas
Application footprint
14. A mode where navigation is set up with a spinner widget.
single-pane
AsyncTask
Service Content Provider
ActionProvider
15. It inform the system what intents an application component is willing to accept.
AsyncTask
Intent filters
SettingsActivity
Google Cloud Messaging (GCM)
16. It made implementing an effective and user friendly share action in your ActionBar even easier.
ActionProvider
setVolumeControlStream()
inflate()
AudioManager
17. It is a subclass of PreferenceActivity.
ValueAnimator
ACTION_DOCK_EVENT
ConnectivityManager
SettingsActivity
18. To define custom attributes - add this resources to your project.
<declare-styleable>
onDraw()
Wi-Fi radio
resolveSizeAndState()
19. Use this to draw bitmaps.
BackupHelper
Services
drawBitmap()
AsyncTask
20. Once installed on a device - each Android application lives in its own ______
BroadcastReceiver
SearchView
security sandbox
onCreate() - onDestroy()
21. Amode where the action bar is set up with tabs for navigation.
Fragments
<declare-styleable>
View
dual-
22. This is the main class through which your application can access location services on Android.
Dalvik Virtual Machine
LocationManager
onStart() - onStop()
Stack - back stack
23. For example - a ____ might be a button that initiates an action when the user touches it.
onAudioFocusChange()
PieChart
View
onCreate() - onDestroy()
24. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
Activity
Implicit intent
authenticator class
getInputStream()
25. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
When the activity resumes
AsyncTask
ETC1
Google Cloud Messaging for Android (GCM)
26. The dock-state details are included as an extra in a sticky broadcast of this action.
Extensible Markup Language (XML)
SearchView
Stack - back stack
ACTION_DOCK_EVENT
27. A styleable entity that contains these two custom attributes: showText and labelPosition.
Deserialize
PieChart
GET_ACCOUNTS
Low power
28. Sharing of data in Android is done via________
Widgets
onCreate() - onDestroy()
HTTP
Service Content Provider
29. The helper method is used to create the final width and height values.
resolveSizeAndState()
onDestroy();
inflate()
Stack - back stack
30. When a new activity starts - it is pushed onto the ____ and takes user focus.
Google
ValueAnimator
OnCurrentItemChanged
Back stack
31. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
Services
virtual table
SecurityException
Activity
32. 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.
AbstractAccountAuthenticator
ETC1
SearchView
onCreate() - onDestroy()
33. Necessary tools to develop Android applications
InputStream
Android SDK
SurfaceHolder.Callback
SurfaceView
34. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
Component - screen
Activity
View
onAudioFocusChange()
35. This can be used to draw previews of what the camera sensor is picking up.
SurfaceView
Back stack
SearchView
onCreate() - onDestroy()
36. This is used to fetch the account names that the user has stored on their device.
AndroidManifest.xml
virtual table
Activity
Account Manager
37. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
PackageManager
Scroller
Full power
EXTRA_STREAM
38. You can set the layout as the UI for your activity with passing the resource ID for the layout.
Stack
Google Cloud Messaging (GCM)
searchable configuration
setContentView
39. 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 ___ .
LocationManager
Android SDK
Objects Activity lifecycle
Stack
40. It is a set of rules for encoding documents in machine-readable form.
Extensible Markup Language (XML)
Account Manager
BatteryManager
Activity
41. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
security sandbox
isConnected()
authenticator class
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
42. Android request its permission using its ________
Google Play
Paint
drawText()
AndroidManifest.xml
43. This is set up to animate for the duration of the fling.
security sandbox
Scroller
ValueAnimator
visible
44. 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.
onDraw()
Account
Android SDK
Ducking
45. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
Paint
Activity
LTE
SearchView
46. It is called to invoke the search dialog on older devices.
onSearchRequested()
AsyncTask
BatteryManager
setVolumeControlStream()
47. Android provides this handy method to direct volume key presses to the audio stream the user specify.
onAudioFocusChange()
setVolumeControlStream()
android.hardware.touchscreen
Application resources
48. The minimal energy state during which no network connection is active or required.
Standby
onCreate() - onDestroy()
Intents
ACTION_SEND
49. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Service Content Provider
Dalvik Debug Monitor Server
isConnected()
InputStream
50. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
SQLiteOpenHelper
Implicit intent
onStop();
OAuth2