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 is used to convert raw touch events into gestures.
Dalvik Debug Monitor Server
ActionProvider
GestureDetector
BroadcastReceiver
2. Callback method: The activity has become visible.
onResume();
PieChart
onDestroy();
AndroidManifest.xml
3. To create an activity - you must create a subclass of
PieChart
SQLite
Activity
onDestroy();
4. It is available starting with API Level 14 and higher.
SurfaceView
SecurityException
ShareActionProvider
authenticator class
5. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
SQLiteOpenHelper
BatteryManager
onCreate() - onDestroy()
SettingsActivity
6. 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
Services
Entire
PackageManager
onAudioFocusChange()
7. Once installed on a device - each Android application lives in its own ______
ACTION_DOCK_EVENT
Scroller
security sandbox
AudioManager
8. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Canvas
BatteryManager
AsyncTask
Google Cloud Messaging for Android (GCM)
9. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
AccountAuthenticatorActivity
setContentView
Account Manager
Canvas
10. Where Android is currently primarily developed
Google
Account
SQLite
OAuth2 protocol
11. Callback method: The activity is no longer visible.
View
onStart() - onStop()
inflate()
onStop();
12. It is a string that defines the specific type of access your app is asking for.
auth scope
onPause();
BatteryManager
Explicit intent
13. This is the main class through which your application can access location services on Android.
Intent filters
BroadcastReceiver
LocationManager
PackageManager
14. 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 ___ .
Account
dual-
Stack
onDraw()
15. Direct component call in Android
onStart() - onStop()
Explicit intent
resolveSizeAndState()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
16. A service in which programmers can offer their Android application to Android users.
Google Play
ViewStub
HTTP
resolveSizeAndState()
17. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
Paint
single-pane
searchable configuration
SearchView
18. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Scroller
Stack
AsyncTask
OAuth2 protocol
19. Android is __________.
PackageManager
inflate()
Google
Linux based
20. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
Google Play
Geocoder
authenticator class
Canvas
21. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
OnCurrentItemChanged
android.hardware.touchscreen
EXTRA_STREAM
ACTION_DOCK_EVENT
22. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Layouts
ACTION_DOCK_EVENT
onStart() - onStop()
touch
23. Use this to draw bitmaps.
drawBitmap()
Scroller
onStart() - onStop()
setContentView
24. In most cases this will offer greater bandwidth at a significantly lower battery cost.
onPause();
SurfaceHolder.Callback
Wi-Fi radio
onCreate() - onDestroy()
25. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
onDestroy();
AbstractAccountAuthenticator
onDraw()
SearchView
26. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
onMeasure()
When the activity resumes
LTE
Google Play
27. Conversion of an object to XML
BatteryManager
Serialize
BroadcastReceiver
Lifecycle callback methods
28. These helpers are specialized classes for backing up certain kinds of data.
BackupHelper
Stack - back stack
inflate()
Activity
29. This is the simplest way to monitor device state changes.
SurfaceView
onDraw()
SettingsActivity
BroadcastReceiver
30. 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
Destroyed - previous
SQLiteOpenHelper
single-pane
When the activity resumes
31. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
HttpURLConnection
Widgets
Full power
setVolumeControlStream()
32. Allow to combine loosely coupled components to perform certain tasks
BatteryManager
getInputStream()
Intents
LocationManager
33. Android provides this handy method to direct volume key presses to the audio stream the user specify.
Lifecycle callback methods
setVolumeControlStream()
Geocoder
onSearchRequested()
34. This provides methods to define line's color - whether to fill a rectangle with a color or leave it empty - and defines the color - style - font - and so forth of each shape you draw.
Explicit intent
Ducking
When the activity resumes
Paint
35. Use this to draw text.
drawText()
When the activity resumes
ConnectivityManager
authenticator class
36. This can be used to draw previews of what the camera sensor is picking up.
onAudioFocusChange()
Android SDK
searchable configuration
SurfaceView
37. Callback method: Another activity is taking focus
View
Low power
Wi-Fi radio
onPause();
38. This is a readable source of bytes.
InputStream
touch
SearchView
BroadcastReceiver
39. This class provides one of the simplest ways to fire off a new task from the UI thread.
AsyncTask
Intent filters
BatteryManager
SQLite
40. This is set up to animate for the duration of the fling.
BroadcastReceiver
Advanced Training
onDestroy();
ValueAnimator
41. 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
SearchView
Scroller
Application footprint
Component - screen
42. It is a subclass of PreferenceActivity.
onResume();
onStop();
SettingsActivity
Application footprint
43. Callback method: The activity is no longer visible
Low power
<declare-styleable>
setVolumeControlStream()
onStop();
44. An open source stand alone database
Geocoder
SQLite
Hierarchy Viewer
Objects Activity lifecycle
45. Converts XML Document to XML DOM
OAuth2
SQLite
Parser
single-pane
46. The dock-state details are included as an extra in a sticky broadcast of this action.
ACTION_DOCK_EVENT
Open Handset Alliance
Paint
Serialize
47. Are used in activities to create the user interface and to interact with the user.
Fragments
security sandbox
touch
Entire
48. The helper method is used to create the final width and height values.
resolveSizeAndState()
GestureDetector
LocationManager
AbstractAccountAuthenticator
49. The entire lifetime of an activity happens between the call to _____ and the call to _____
onPause();
onCreate() - onDestroy()
ACTION_DOCK_EVENT
View
50. It inform the system what intents an application component is willing to accept.
Objects Activity lifecycle
PackageManager
Intent filters
Wi-Fi radio