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. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
security sandbox
BroadcastReceiver
ShareActionProvider
Activity
2. An open source stand alone database
Intents
Canvas
Dalvik Debug Monitor Server
SQLite
3. Android system uses a special virtual machine to run java based applicatons
AbstractAccountAuthenticator
Dalvik Virtual Machine
android.hardware.touchscreen
Component - screen
4. is run when running Android on the pc
Emulator
BatteryManager
LocationManager
Dots per inch
5. It is available starting with API Level 14 and higher.
Advanced Training
ConnectivityManager
ShareActionProvider
OAuth2
6. Perform background tasks without providing a user interface
Services
BatteryManager
virtual table
Layouts
7. This action is used in sending text content from one activity to another.
ConnectivityManager
OAuth2 protocol
ACTION_SEND
GET_ACCOUNTS
8. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
Activity
GET_ACCOUNTS
visible
onAudioFocusChange()
9. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Objects Activity lifecycle
PieChart
SQLiteOpenHelper
View
10. This is the simplest way to monitor device state changes.
OAuth2
Entire
Account
BroadcastReceiver
11. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
security sandbox
isConnected()
HttpURLConnection
Destroyed - previous
12. Are used in activities to create the user interface and to interact with the user.
Layouts
GET_ACCOUNTS
onStop();
Fragments
13. Callback method: The activity is being created.
onCreate();
Dalvik Debug Monitor Server
EXTRA_STREAM
Explicit intent
14. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
AndroidManifest.xml
ShareActionProvider
Explicit intent
OnCurrentItemChanged
15. It is a string that defines the specific type of access your app is asking for.
LocationManager
EXTRA_STREAM
auth scope
Application resources
16. Once installed on a device - each Android application lives in its own ______
Entire
onResume();
OnCurrentItemChanged
security sandbox
17. Use this to draw bitmaps.
drawBitmap()
ConnectivityManager
Google
inflate()
18. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
Ducking
ViewStub
Standby
When the activity resumes
19. This is used to check that you're actually connected to the Internet and what type of connection is in place.
onDestroy();
ConnectivityManager
security sandbox
Scroller
20. An intermediate state that uses around 50% of the battery power at the full state.
GestureDetector
HTTP
Ducking
Low power
21. The helper method is used to create the final width and height values.
resolveSizeAndState()
setVolumeControlStream()
Google Cloud Messaging (GCM)
ACTION_DOCK_EVENT
22. This widget as an item in the action bar is the preferred way to provide search in your app.
Dots per inch
SearchView
visible
OAuth2 protocol
23. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Scroller
Destroyed - previous
visible
AndroidManifest.xml
24. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
Intents
LocationManager
onStop();
searchable configuration
25. This is the most common input event in the Android system.
onResume();
resolveSizeAndState()
touch
Dalvik Debug Monitor Server
26. Direct component call in Android
Explicit intent
Component - screen
LTE
GET_ACCOUNTS
27. 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?
authenticator class
Deserialize
Fragments
EXTRA_STREAM
28. Theseare a key part of Android applications that directly affect the user experience.
Scroller
Layouts
PackageManager
visible
29. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
security sandbox
onCreate() - onDestroy()
AsyncTask
Implicit intent
30. 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
onStart() - onStop()
HttpURLConnection
PackageManager
Parser
31. 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?
SettingsActivity
ValueAnimator
searchable configuration
AttributeSet
32. The entire lifetime of an activity happens between the call to _____ and the call to _____
BatteryManager
onCreate() - onDestroy()
drawText()
getInputStream()
33. A mode where navigation is set up with a spinner widget.
single-pane
Fragments
Geocoder
Parser
34. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Widgets
Google Cloud Messaging for Android (GCM)
visible
ViewStub
35. It is used to load images in a background thread - then apply them to the UI once finished.
AsyncTask
Google Play
Back stack
ShareActionProvider
36. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Dalvik Debug Monitor Server
Destroyed - previous
android.hardware.touchscreen
ACTION_DOCK_EVENT
37. This class provides one of the simplest ways to fire off a new task from the UI thread.
AsyncTask
single-pane
AbstractAccountAuthenticator
onDraw()
38. Callback method: The activity has become visible.
onCreate() - onDestroy()
Full power
adb
onResume();
39. This can be used to draw previews of what the camera sensor is picking up.
onCreate();
SurfaceView
Android SDK
Hierarchy Viewer
40. This is a readable source of bytes.
virtual table
EXTRA_STREAM
InputStream
Services
41. Callback method: Another activity is taking focus
resolveSizeAndState()
Explicit intent
onPause();
onCreate() - onDestroy()
42. The minimal energy state during which no network connection is active or required.
Standby
onDraw()
Google Cloud Messaging (GCM)
Lifecycle callback methods
43. The dock-state details are included as an extra in a sticky broadcast of this action.
Application resources
ETC1
ACTION_DOCK_EVENT
Component - screen
44. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
LTE
virtual table
onStop();
resolveSizeAndState()
45. Relative to pixels and resolution screen
Dots per inch
PackageManager
Destroyed - previous
PieChart
46. 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.
OAuth2
BatteryManager
SurfaceView
SecurityException
47. 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.
Intent filters
visible
Paint
Stack - back stack
48. Conversion of XML back to an object
Entire
Deserialize
LocationManager
ConnectivityManager
49. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
HttpURLConnection
Intents
onCreate();
onStop();
50. Android provides this handy method to direct volume key presses to the audio stream the user specify.
Activity
ActionProvider
Canvas
setVolumeControlStream()