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. It provides a simple way to perform your work outside the main thread.
AsyncTask
dual-
onAudioFocusChange()
Stack - back stack
2. This is the main class through which your application can access location services on Android.
onDraw()
Application footprint
Stack
LocationManager
3. This class exposes a number of methods for applications to receive location updates.
OnCurrentItemChanged
LocationManager
HttpURLConnection
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
4. This widget as an item in the action bar is the preferred way to provide search in your app.
Dalvik Debug Monitor Server
LocationManager
searchable configuration
SearchView
5. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Dalvik Debug Monitor Server
Ducking
Activity
Entire
6. A mode where navigation is set up with a spinner widget.
single-pane
drawBitmap()
SurfaceHolder.Callback
BroadcastReceiver
7. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Google Play
Wi-Fi radio
BatteryManager
Emulator
8. Perform background tasks without providing a user interface
Services
PackageManager
AudioManager
OnCurrentItemChanged
9. This is the most common input event in the Android system.
onMeasure()
touch
AbstractAccountAuthenticator
Intent filters
10. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
setContentView
HttpURLConnection
Dalvik Virtual Machine
SecurityException
11. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
View
setContentView
AbstractAccountAuthenticator
onResume();
12. Represents the visual representation of an Android application
Activity
onPause();
ACTION_DOCK_EVENT
Intents
13. This object contains an account name - which for Google accounts is an email address.
onResume();
Account
Account Manager
setContentView
14. It is available starting with API Level 14 and higher.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Scroller
ShareActionProvider
SecurityException
15. The dock-state details are included as an extra in a sticky broadcast of this action.
ValueAnimator
ACTION_DOCK_EVENT
View
Dalvik Virtual Machine
16. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
SearchView
SurfaceHolder.Callback
When the activity resumes
Canvas
17. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
onResume();
BackupHelper
Android SDK
Lifecycle callback methods
18. Evaluation of registered components
AccountAuthenticatorActivity
ValueAnimator
Standby
Implicit intent
19. It is called to invoke the search dialog on older devices.
onSearchRequested()
HttpURLConnection
setContentView
auth scope
20. Android system uses a special virtual machine to run java based applicatons
AccountAuthenticatorActivity
android.hardware.touchscreen
View
Dalvik Virtual Machine
21. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Layouts
SearchView
dual-
android.hardware.touchscreen
22. This is used to fetch the account names that the user has stored on their device.
Account Manager
EXTRA_STREAM
onDestroy();
Application footprint
23. Callback method: The activity has become visible.
View
onCreate() - onDestroy()
onResume();
Scroller
24. It doesn't currently support the <merge/> tag in the layouts to be inflated.
Destroyed - previous
searchable configuration
BatteryManager
ViewStub
25. 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.
When the activity resumes
Dots per inch
SettingsActivity
Paint
26. Use this to draw text.
BroadcastReceiver
drawText()
Low power
Geocoder
27. Callback method: Another activity is taking focus
Stack
onPause();
Scroller
Ducking
28. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
visible
Geocoder
Scroller
Application footprint
29. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
setContentView
ACTION_DOCK_EVENT
Advanced Training
Account Manager
30. This is set up to animate for the duration of the fling.
AbstractAccountAuthenticator
Ducking
onCreate() - onDestroy()
ValueAnimator
31. Conversion of XML back to an object
Linux based
Google Cloud Messaging for Android (GCM)
Intent filters
Deserialize
32. Converts XML Document to XML DOM
Service Content Provider
getInputStream()
Parser
Google Cloud Messaging for Android (GCM)
33. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
ConnectivityManager
Full power
Destroyed - previous
EXTRA_STREAM
34. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Widgets
Services
Ducking
PackageManager
35. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
AndroidManifest.xml
ValueAnimator
GET_ACCOUNTS
inflate()
36. When a view is created from an XML layout - all of the attributes in the XML tag are read from the resource bundle and passed into the view's constructor as a what?
Emulator
Standby
AttributeSet
Destroyed - previous
37. When a new activity starts - it is pushed onto the ____ and takes user focus.
authenticator class
Back stack
onCreate() - onDestroy()
Emulator
38. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
Lifecycle callback methods
authenticator class
ETC1
Dalvik Virtual Machine
39. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Parser
onAudioFocusChange()
Serialize
Layouts
40. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
SQLiteOpenHelper
SQLite
OnCurrentItemChanged
Intents
41. is run when running Android on the pc
getInputStream()
Emulator
AccountAuthenticatorActivity
onAudioFocusChange()
42. In order to get a list of accounts on the device - your app needs this permission.
Android SDK
onStart() - onStop()
GET_ACCOUNTS
Scroller
43. For example - a ____ might be a button that initiates an action when the user touches it.
BroadcastReceiver
Intents
Android SDK
View
44. Android request its permission using its ________
AsyncTask
GET_ACCOUNTS
Widgets
AndroidManifest.xml
45. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
Parser
Layouts
onCreate() - onDestroy()
Wi-Fi radio
46. It is a set of rules for encoding documents in machine-readable form.
Dots per inch
AsyncTask
Extensible Markup Language (XML)
onStart() - onStop()
47. You can set the layout as the UI for your activity with passing the resource ID for the layout.
Activity
Android SDK
security sandbox
setContentView
48. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
GET_ACCOUNTS
inflate()
Dalvik Virtual Machine
49. Whenever the device is docked or undocked - this action is broadcast.
Full power
ACTION_DOCK_EVENT
onCreate();
onStop();
50. Once installed on a device - each Android application lives in its own ______
security sandbox
onAudioFocusChange()
LocationManager
onDestroy();