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. Relative to pixels and resolution screen
auth scope
Dots per inch
Google Cloud Messaging (GCM)
onPause();
2. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
BroadcastReceiver
Emulator
SurfaceHolder.Callback
ViewStub
3. This is the most common input event in the Android system.
Linux based
Android SDK
touch
Application resources
4. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
android.hardware.touchscreen
OnCurrentItemChanged
Back stack
SearchView
5. This is used to register and de-register your media button event receiver.
Standby
AudioManager
NetworkInfo
Component - screen
6. Callback method: The activity is being created.
ConnectivityManager
onCreate();
onCreate() - onDestroy()
Canvas
7. It doesn't currently support the <merge/> tag in the layouts to be inflated.
AsyncTask
InputStream
ViewStub
onStop();
8. An intermediate state that uses around 50% of the battery power at the full state.
android.hardware.touchscreen
Low power
Account Manager
BroadcastReceiver
9. 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.
Open Handset Alliance
ETC1
SearchView
BatteryManager
10. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
resolveSizeAndState()
LTE
onCreate() - onDestroy()
security sandbox
11. It provides a simple way to perform your work outside the main thread.
AsyncTask
adb
Activity
searchable configuration
12. 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
onDraw()
Destroyed - previous
Application resources
Android SDK
13. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
BackupHelper
onDraw()
Full power
AttributeSet
14. Callback method: The activity is no longer visible.
Google
Stack - back stack
onStop();
ACTION_SEND
15. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Google Cloud Messaging for Android (GCM)
Stack
Stack - back stack
Widgets
16. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
View
ETC1
When the activity resumes
android.hardware.touchscreen
17. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Hierarchy Viewer
onPause();
HTTP
auth scope
18. It is an efficient and maintainable way to parse XML on Android.
XmlPullParser
Stack - back stack
Open Handset Alliance
Application resources
19. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Parser
Standby
onResume();
Entire
20. Use this to draw text.
HttpURLConnection
Account Manager
NetworkInfo
drawText()
21. 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.
ViewStub
Geocoder
SearchView
Ducking
22. Amode where the action bar is set up with tabs for navigation.
dual-
Scroller
authenticator class
SQLiteOpenHelper
23. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
onCreate() - onDestroy()
PackageManager
AccountAuthenticatorActivity
ACTION_DOCK_EVENT
24. This class exposes a number of methods for applications to receive location updates.
ActionProvider
SettingsActivity
Account
LocationManager
25. If permissions are missing - the application will get this at runtime.
SecurityException
Android SDK
visible
adb
26. Once installed on a device - each Android application lives in its own ______
ViewStub
security sandbox
Standby
Activity
27. It made implementing an effective and user friendly share action in your ActionBar even easier.
Parser
Component - screen
ActionProvider
onCreate() - onDestroy()
28. Theseare a key part of Android applications that directly affect the user experience.
drawBitmap()
Paint
Layouts
AudioManager
29. These helpers are specialized classes for backing up certain kinds of data.
ACTION_DOCK_EVENT
single-pane
Android SDK
BackupHelper
30. This is the simplest way to monitor device state changes.
BroadcastReceiver
HTTP
onCreate() - onDestroy()
SQLiteOpenHelper
31. This is an interface which is used to pass image data from the camera hardware to the application.
Objects Activity lifecycle
onCreate() - onDestroy()
Google Play
SurfaceHolder.Callback
32. This includes tools to help you identify problems in your layout performance.
BroadcastReceiver
OnCurrentItemChanged
Android SDK
AudioManager
33. This is used for the need of finer control over your view's layout parameters.
onMeasure()
SQLiteOpenHelper
Advanced Training
onPause();
34. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
resolveSizeAndState()
ConnectivityManager
single-pane
BackupHelper
35. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Advanced Training
Widgets
single-pane
setContentView
36. In most cases this will offer greater bandwidth at a significantly lower battery cost.
onSearchRequested()
Wi-Fi radio
LocationManager
GestureDetector
37. It is available starting with API Level 14 and higher.
onDestroy();
BroadcastReceiver
resolveSizeAndState()
ShareActionProvider
38. This is the main class through which your application can access location services on Android.
View
Emulator
Activity
LocationManager
39. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Application resources
drawBitmap()
SettingsActivity
Stack - back stack
40. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
ACTION_SEND
Activity
searchable configuration
onCreate() - onDestroy()
41. Callback method: The activity has become visible.
View
Objects Activity lifecycle
SurfaceView
onResume();
42. You can set the layout as the UI for your activity with passing the resource ID for the layout.
getInputStream()
setContentView
AccountAuthenticatorActivity
drawBitmap()
43. This widget as an item in the action bar is the preferred way to provide search in your app.
SearchView
Open Handset Alliance
security sandbox
Scroller
44. Are used in activities to create the user interface and to interact with the user.
Application footprint
BackupHelper
LocationManager
Fragments
45. Where Android is currently primarily developed
Android SDK
Google
Widgets
HttpURLConnection
46. Android system uses a special virtual machine to run java based applicatons
Scroller
resolveSizeAndState()
Dalvik Virtual Machine
Low power
47. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
When the activity resumes
BroadcastReceiver
Fragments
Geocoder
48. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
drawText()
Full power
SecurityException
AccountAuthenticatorActivity
49. This is used to fetch the account names that the user has stored on their device.
Account Manager
OAuth2
Intents
searchable configuration
50. It is used to load images in a background thread - then apply them to the UI once finished.
ActionProvider
setVolumeControlStream()
AsyncTask
Layouts