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 class is the basis for handling flywheel-style fling gestures.
Canvas
AndroidManifest.xml
Scroller
SearchView
2. Android system uses a special virtual machine to run java based applicatons
Entire
Objects Activity lifecycle
isConnected()
Dalvik Virtual Machine
3. Use this to draw text.
ViewStub
Objects Activity lifecycle
drawText()
Activity
4. This is used to convert raw touch events into gestures.
GestureDetector
Explicit intent
Android SDK
Account Manager
5. Amode where the action bar is set up with tabs for navigation.
dual-
ACTION_DOCK_EVENT
PieChart
setVolumeControlStream()
6. Direct component call in Android
Explicit intent
adb
SecurityException
SQLiteOpenHelper
7. This is the most common input event in the Android system.
auth scope
OAuth2
touch
visible
8. Evaluation of registered components
onStop();
View
ACTION_DOCK_EVENT
Implicit intent
9. This is used to register and de-register your media button event receiver.
Parser
LTE
onCreate();
AudioManager
10. It is used to load images in a background thread - then apply them to the UI once finished.
adb
BatteryManager
Wi-Fi radio
AsyncTask
11. Android provides this handy method to direct volume key presses to the audio stream the user specify.
Paint
setVolumeControlStream()
HTTP
drawText()
12. 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
Activity
ValueAnimator
PackageManager
getInputStream()
13. 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.
Layouts
ETC1
touch
Implicit intent
14. For example - if your activity has a thread running in the background to download data from the network - it might create that thread in _____ and then stop the thread in _____
Dalvik Debug Monitor Server
Google
onCreate() - onDestroy()
AsyncTask
15. This is used to fetch the account names that the user has stored on their device.
Account Manager
drawBitmap()
Google Play
setVolumeControlStream()
16. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
OnCurrentItemChanged
onCreate() - onDestroy()
ACTION_SEND
Ducking
17. It doesn't currently support the <merge/> tag in the layouts to be inflated.
AudioManager
HttpURLConnection
Google Cloud Messaging for Android (GCM)
ViewStub
18. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Layouts
Lifecycle callback methods
onAudioFocusChange()
setContentView
19. Once installed on a device - each Android application lives in its own ______
Widgets
ViewStub
AndroidManifest.xml
security sandbox
20. On a rooted device - the credentials would be readable by anyone with this access to the device.
adb
HttpURLConnection
Services
resolveSizeAndState()
21. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
single-pane
dual-
Layouts
22. For example - a ____ might be a button that initiates an action when the user touches it.
onStart() - onStop()
View
ACTION_DOCK_EVENT
SurfaceView
23. These helpers are specialized classes for backing up certain kinds of data.
BatteryManager
Standby
BackupHelper
onCreate();
24. Whenever the device is docked or undocked - this action is broadcast.
XmlPullParser
GET_ACCOUNTS
Layouts
ACTION_DOCK_EVENT
25. The entire lifetime of an activity happens between the call to _____ and the call to _____
onStop();
inflate()
resolveSizeAndState()
onCreate() - onDestroy()
26. Binary data is shared using the ACTION_SEND action combined with setting the appropriate MIME type and placing the URI to the data in an extra named called?
AccountAuthenticatorActivity
BatteryManager
EXTRA_STREAM
Scroller
27. Callback method: The activity has become visible.
resolveSizeAndState()
security sandbox
onResume();
single-pane
28. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
HttpURLConnection
SQLite
Intents
authenticator class
29. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
LTE
single-pane
Dalvik Debug Monitor Server
Layouts
30. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
security sandbox
onAudioFocusChange()
Stack
AsyncTask
31. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Entire
Low power
Destroyed - previous
onStop();
32. Allow to combine loosely coupled components to perform certain tasks
Intents
Objects Activity lifecycle
ShareActionProvider
ETC1
33. Callback method: The activity is being created.
BatteryManager
onCreate();
Activity
BackupHelper
34. is run when running Android on the pc
Advanced Training
ConnectivityManager
Emulator
AudioManager
35. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
OnCurrentItemChanged
EXTRA_STREAM
Widgets
Explicit intent
36. It inform the system what intents an application component is willing to accept.
BackupHelper
Intent filters
onAudioFocusChange()
ACTION_DOCK_EVENT
37. Callback method: Another activity is taking focus
BatteryManager
onPause();
PieChart
HTTP
38. This object contains an account name - which for Google accounts is an email address.
searchable configuration
LocationManager
Account
onCreate() - onDestroy()
39. Relative to pixels and resolution screen
Dots per inch
ACTION_DOCK_EVENT
Intent filters
onCreate() - onDestroy()
40. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
BatteryManager
onStop();
PieChart
dual-
41. It is a subclass of PreferenceActivity.
adb
Application resources
SettingsActivity
NetworkInfo
42. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
LTE
BroadcastReceiver
Canvas
Intents
43. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
drawText()
LocationManager
drawBitmap()
View
44. This class exposes a number of methods for applications to receive location updates.
Google
LocationManager
Entire
HTTP
45. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
ACTION_SEND
ViewStub
AudioManager
Geocoder
46. 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
SQLiteOpenHelper
onMeasure()
Lifecycle callback methods
47. It made implementing an effective and user friendly share action in your ActionBar even easier.
ETC1
onAudioFocusChange()
ActionProvider
GestureDetector
48. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Full power
Application footprint
Canvas
resolveSizeAndState()
49. An open source stand alone database
Google
Account Manager
SQLite
onResume();
50. 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()
EXTRA_STREAM
Linux based
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY