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. Theseare a key part of Android applications that directly affect the user experience.
Advanced Training
Service Content Provider
Layouts
AudioManager
2. It is an efficient and maintainable way to parse XML on Android.
XmlPullParser
SecurityException
Scroller
Google
3. Amode where the action bar is set up with tabs for navigation.
AttributeSet
dual-
onSearchRequested()
Canvas
4. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
AudioManager
Dalvik Debug Monitor Server
Intents
LTE
5. This is used to convert raw touch events into gestures.
GestureDetector
authenticator class
security sandbox
Component - screen
6. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
auth scope
AsyncTask
Entire
OAuth2
7. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
LocationManager
ACTION_SEND
onCreate() - onDestroy()
HttpURLConnection
8. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Dalvik Virtual Machine
Account Manager
Hierarchy Viewer
HttpURLConnection
9. For example - a ____ might be a button that initiates an action when the user touches it.
View
Services
Stack
EXTRA_STREAM
10. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
ViewStub
onCreate() - onDestroy()
Ducking
Intent filters
11. 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
Extensible Markup Language (XML)
Advanced Training
Component - screen
dual-
12. It provides a single value - called an auth token that represents both the user's identity and the application's authorization to act on the user's behalf.
AsyncTask
ViewStub
Low power
OAuth2
13. A styleable entity that contains these two custom attributes: showText and labelPosition.
Google Cloud Messaging (GCM)
OnCurrentItemChanged
PieChart
View
14. Converts XML Document to XML DOM
Open Handset Alliance
ConnectivityManager
SurfaceView
Parser
15. If permissions are missing - the application will get this at runtime.
AsyncTask
ConnectivityManager
SecurityException
Standby
16. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
onResume();
OnCurrentItemChanged
BatteryManager
GET_ACCOUNTS
17. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Hierarchy Viewer
Android SDK
Lifecycle callback methods
auth scope
18. Once installed on a device - each Android application lives in its own ______
security sandbox
BroadcastReceiver
drawBitmap()
XmlPullParser
19. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
Serialize
Android SDK
BatteryManager
Dalvik Debug Monitor Server
20. Most network-connected Android apps use this to send and receive data.
onSearchRequested()
HTTP
AsyncTask
ACTION_DOCK_EVENT
21. In order to get a list of accounts on the device - your app needs this permission.
GET_ACCOUNTS
onMeasure()
SearchView
AndroidManifest.xml
22. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
security sandbox
SQLiteOpenHelper
Intent filters
onStart() - onStop()
23. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
authenticator class
onPause();
drawBitmap()
AsyncTask
24. It is available starting with API Level 14 and higher.
Dalvik Virtual Machine
OAuth2
Dalvik Debug Monitor Server
ShareActionProvider
25. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Wi-Fi radio
AsyncTask
Hierarchy Viewer
Widgets
26. Callback method: The activity is no longer visible.
onStop();
Stack - back stack
ValueAnimator
Services
27. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Objects Activity lifecycle
authenticator class
Layouts
BroadcastReceiver
28. The industry standard way to deal with authentication to third-party services.
PackageManager
Destroyed - previous
Ducking
OAuth2 protocol
29. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
ACTION_SEND
ETC1
visible
GET_ACCOUNTS
30. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Linux based
AndroidManifest.xml
drawBitmap()
Canvas
31. This is set up to animate for the duration of the fling.
ValueAnimator
Android SDK
Application resources
touch
32. A mode where navigation is set up with a spinner widget.
AsyncTask
single-pane
SettingsActivity
Implicit intent
33. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
dual-
AccountAuthenticatorActivity
Application resources
XmlPullParser
34. This can be used to draw previews of what the camera sensor is picking up.
onStop();
ACTION_DOCK_EVENT
dual-
SurfaceView
35. This is used for the need of finer control over your view's layout parameters.
LocationManager
BackupHelper
onMeasure()
onCreate() - onDestroy()
36. Relative to pixels and resolution screen
isConnected()
onAudioFocusChange()
Dots per inch
Low power
37. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
ETC1
Full power
OAuth2 protocol
LocationManager
38. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
SearchView
Geocoder
onCreate() - onDestroy()
AsyncTask
39. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Dalvik Virtual Machine
Google Cloud Messaging for Android (GCM)
Intent filters
XmlPullParser
40. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
ViewStub
Advanced Training
ValueAnimator
XmlPullParser
41. This is used to fetch the account names that the user has stored on their device.
ConnectivityManager
OAuth2
Account Manager
ActionProvider
42. is run when running Android on the pc
Emulator
BatteryManager
SearchView
Extensible Markup Language (XML)
43. It is a subclass of PreferenceActivity.
Full power
Stack - back stack
ValueAnimator
SettingsActivity
44. The most common way to define a layout using views is with an XML layout file saved in your ______
Account
Serialize
Application resources
inflate()
45. An intermediate state that uses around 50% of the battery power at the full state.
Advanced Training
Google Play
ACTION_DOCK_EVENT
Low power
46. To create an activity - you must create a subclass of
SQLite
Account Manager
EXTRA_STREAM
Activity
47. Use this to draw text.
searchable configuration
drawText()
AsyncTask
Intent filters
48. It made implementing an effective and user friendly share action in your ActionBar even easier.
Objects Activity lifecycle
onCreate();
BackupHelper
ActionProvider
49. You can set the layout as the UI for your activity with passing the resource ID for the layout.
Account
Scroller
Advanced Training
setContentView
50. Shows the actual amount of memory the application uses
Services
ShareActionProvider
AsyncTask
Application footprint