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. A mode where navigation is set up with a spinner widget.
Activity
XmlPullParser
single-pane
Account
2. This can be used to draw previews of what the camera sensor is picking up.
AsyncTask
Google
Scroller
SurfaceView
3. Direct component call in Android
Standby
Google Play
Open Handset Alliance
Explicit intent
4. For example - a ____ might be a button that initiates an action when the user touches it.
View
PackageManager
LTE
dual-
5. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Lifecycle callback methods
Geocoder
Google Play
AbstractAccountAuthenticator
6. A service in which programmers can offer their Android application to Android users.
Activity
virtual table
Google Play
BroadcastReceiver
7. The entire lifetime of an activity happens between the call to _____ and the call to _____
onSearchRequested()
onCreate() - onDestroy()
Low power
Deserialize
8. In order to get a list of accounts on the device - your app needs this permission.
GET_ACCOUNTS
AndroidManifest.xml
Dalvik Debug Monitor Server
SQLiteOpenHelper
9. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
Wi-Fi radio
EXTRA_STREAM
android.hardware.touchscreen
10. Use this to draw text.
drawText()
SecurityException
Geocoder
AsyncTask
11. Once installed on a device - each Android application lives in its own ______
security sandbox
OAuth2 protocol
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
SecurityException
12. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Stack - back stack
Stack
Dalvik Debug Monitor Server
Layouts
13. This is set up to animate for the duration of the fling.
onMeasure()
onDraw()
ValueAnimator
Paint
14. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
View
onPause();
searchable configuration
ETC1
15. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
BatteryManager
Account
authenticator class
Application resources
16. It inform the system what intents an application component is willing to accept.
Open Handset Alliance
ETC1
Intent filters
SearchView
17. On a rooted device - the credentials would be readable by anyone with this access to the device.
AndroidManifest.xml
BatteryManager
adb
Dalvik Debug Monitor Server
18. You can set the layout as the UI for your activity with passing the resource ID for the layout.
setVolumeControlStream()
ConnectivityManager
XmlPullParser
setContentView
19. Callback method: The activity is being created.
onStop();
setVolumeControlStream()
ValueAnimator
onCreate();
20. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Emulator
AndroidManifest.xml
Lifecycle callback methods
ViewStub
21. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
AccountAuthenticatorActivity
ConnectivityManager
Android SDK
Application footprint
22. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
HttpURLConnection
Activity
Objects Activity lifecycle
GET_ACCOUNTS
23. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
Emulator
Stack - back stack
getInputStream()
onCreate() - onDestroy()
24. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
SurfaceHolder.Callback
BroadcastReceiver
Scroller
GET_ACCOUNTS
25. This is used for the need of finer control over your view's layout parameters.
drawText()
OAuth2 protocol
Paint
onMeasure()
26. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
onCreate() - onDestroy()
security sandbox
virtual table
drawBitmap()
27. Converts XML Document to XML DOM
Hierarchy Viewer
OAuth2 protocol
ConnectivityManager
Parser
28. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
Google Play
SettingsActivity
searchable configuration
AbstractAccountAuthenticator
29. These helpers are specialized classes for backing up certain kinds of data.
Application resources
Advanced Training
authenticator class
BackupHelper
30. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Android SDK
ACTION_DOCK_EVENT
Entire
Android SDK
31. Represents the visual representation of an Android application
onDestroy();
Activity
ValueAnimator
onCreate() - onDestroy()
32. To create an activity - you must create a subclass of
Dots per inch
Activity
HTTP
ViewStub
33. This class is the basis for handling flywheel-style fling gestures.
isConnected()
Scroller
BatteryManager
drawBitmap()
34. Most network-connected Android apps use this to send and receive data.
Google Play
HTTP
isConnected()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
35. The visible lifetime of an activity happens between the call to ____ and the call to ______
LocationManager
Scroller
onStart() - onStop()
Destroyed - previous
36. Amode where the action bar is set up with tabs for navigation.
Explicit intent
dual-
onStop();
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
37. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
AudioManager
Stack - back stack
Open Handset Alliance
inflate()
38. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
Scroller
onCreate() - onDestroy()
ViewStub
Intents
39. 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?
EXTRA_STREAM
AsyncTask
Activity
SurfaceView
40. Callback method: The activity has become visible.
onResume();
onCreate();
BatteryManager
ACTION_DOCK_EVENT
41. A styleable entity that contains these two custom attributes: showText and labelPosition.
SurfaceView
AsyncTask
NetworkInfo
PieChart
42. 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.
<declare-styleable>
Google Cloud Messaging for Android (GCM)
Implicit intent
ETC1
43. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Google Cloud Messaging (GCM)
adb
Dalvik Debug Monitor Server
Stack
44. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
onCreate() - onDestroy()
Paint
Google Cloud Messaging for Android (GCM)
Back stack
45. If permissions are missing - the application will get this at runtime.
Advanced Training
virtual table
onCreate() - onDestroy()
SecurityException
46. Perform background tasks without providing a user interface
Services
Layouts
GET_ACCOUNTS
ConnectivityManager
47. It made implementing an effective and user friendly share action in your ActionBar even easier.
AccountAuthenticatorActivity
ViewStub
ActionProvider
onResume();
48. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
onStop();
Hierarchy Viewer
SettingsActivity
Android SDK
49. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
NetworkInfo
LTE
ViewStub
ValueAnimator
50. 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 ___ .
Dalvik Debug Monitor Server
Stack
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
LTE