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.
Stack - back stack
security sandbox
Scroller
Explicit intent
2. This broadcasts an action whenever the device is connected or disconnected from power.
Open Handset Alliance
ConnectivityManager
Service Content Provider
BatteryManager
3. This class exposes a number of methods for applications to receive location updates.
Account
LocationManager
Layouts
onCreate() - onDestroy()
4. Evaluation of registered components
Implicit intent
Dalvik Virtual Machine
ACTION_DOCK_EVENT
Android SDK
5. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
Google Play
ViewStub
Android SDK
AbstractAccountAuthenticator
6. This is used for the need of finer control over your view's layout parameters.
SurfaceView
Lifecycle callback methods
onMeasure()
NetworkInfo
7. ______ are views derived from ViewGroup that provide a unique layout model for its child views
SecurityException
HTTP
Layouts
touch
8. It is available starting with API Level 14 and higher.
resolveSizeAndState()
ShareActionProvider
SQLiteOpenHelper
Entire
9. An _______ is an application component that provides a screen 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.
OAuth2
Open Handset Alliance
Activity
Google
10. 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
Google Cloud Messaging for Android (GCM)
Open Handset Alliance
Ducking
Destroyed - previous
11. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
resolveSizeAndState()
AccountAuthenticatorActivity
onCreate();
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
12. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
ValueAnimator
BatteryManager
Intents
OAuth2 protocol
13. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Lifecycle callback methods
Android SDK
BackupHelper
Wi-Fi radio
14. Once installed on a device - each Android application lives in its own ______
security sandbox
onDestroy();
SQLiteOpenHelper
onCreate() - onDestroy()
15. To define custom attributes - add this resources to your project.
Dots per inch
Emulator
<declare-styleable>
SurfaceHolder.Callback
16. is run when running Android on the pc
AccountAuthenticatorActivity
OnCurrentItemChanged
Emulator
Stack - back stack
17. Represents the visual representation of an Android application
onSearchRequested()
Wi-Fi radio
EXTRA_STREAM
Activity
18. Shows the actual amount of memory the application uses
Canvas
Application footprint
onMeasure()
HTTP
19. 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.
onCreate() - onDestroy()
Back stack
onStop();
OAuth2
20. Android provides this handy method to direct volume key presses to the audio stream the user specify.
ActionProvider
setVolumeControlStream()
Services
SurfaceHolder.Callback
21. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Standby
Parser
Dalvik Debug Monitor Server
AsyncTask
22. 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
Android SDK
isConnected()
touch
23. The helper method is used to create the final width and height values.
Parser
Linux based
visible
resolveSizeAndState()
24. It is the process of lowering your audio stream output volume to make transient audio from another app easier to hear without totally disrupting the audio from your own application.
Ducking
SearchView
When the activity resumes
Activity
25. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
Google Cloud Messaging for Android (GCM)
Account
When the activity resumes
Application footprint
26. This is used to register and de-register your media button event receiver.
ValueAnimator
AudioManager
onCreate() - onDestroy()
Implicit intent
27. It is an efficient and maintainable way to parse XML on Android.
adb
XmlPullParser
Entire
ETC1
28. Callback method: The activity is being created.
Hierarchy Viewer
onCreate();
onStart() - onStop()
Component - screen
29. This object contains an account name - which for Google accounts is an email address.
onStop();
Account
SearchView
Open Handset Alliance
30. Callback method: The activity is no longer visible.
onStop();
OnCurrentItemChanged
BatteryManager
When the activity resumes
31. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
AsyncTask
Canvas
AbstractAccountAuthenticator
AsyncTask
32. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
visible
BatteryManager
SurfaceView
Implicit intent
33. It doesn't currently support the <merge/> tag in the layouts to be inflated.
onAudioFocusChange()
ViewStub
AndroidManifest.xml
Deserialize
34. The entire lifetime of an activity happens between the call to _____ and the call to _____
LocationManager
SurfaceView
View
onCreate() - onDestroy()
35. This is used to check that you're actually connected to the Internet and what type of connection is in place.
SQLite
touch
ConnectivityManager
ACTION_DOCK_EVENT
36. 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 ___ .
onResume();
Stack
auth scope
BroadcastReceiver
37. Callback method: The activity has become visible.
ACTION_DOCK_EVENT
inflate()
onResume();
visible
38. Callback method: The activity is about to be destroyed.
Activity
android.hardware.touchscreen
onDestroy();
Scroller
39. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Objects Activity lifecycle
Serialize
Explicit intent
onStart() - onStop()
40. You can set the layout as the UI for your activity with passing the resource ID for the layout.
AsyncTask
Full power
setContentView
Application resources
41. Android request its permission using its ________
Activity
onDestroy();
AndroidManifest.xml
View
42. An open source stand alone database
Activity
Stack
SQLite
onStop();
43. Whenever the device is docked or undocked - this action is broadcast.
Paint
ACTION_SEND
ACTION_DOCK_EVENT
Standby
44. Relative to pixels and resolution screen
Dots per inch
ActionProvider
Destroyed - previous
ViewStub
45. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
ShareActionProvider
AbstractAccountAuthenticator
View
AndroidManifest.xml
46. This is used to fetch the account names that the user has stored on their device.
resolveSizeAndState()
GET_ACCOUNTS
AndroidManifest.xml
Account Manager
47. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
ETC1
Advanced Training
Implicit intent
android.hardware.touchscreen
48. Most network-connected Android apps use this to send and receive data.
HTTP
ViewStub
ETC1
setVolumeControlStream()
49. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
SearchView
ShareActionProvider
Ducking
onCreate() - onDestroy()
50. A mode where navigation is set up with a spinner widget.
searchable configuration
Layouts
single-pane
Account