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. The helper method is used to create the final width and height values.
PackageManager
BackupHelper
Component - screen
resolveSizeAndState()
2. This is a readable source of bytes.
Standby
AudioManager
onAudioFocusChange()
InputStream
3. 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.
Google Cloud Messaging for Android (GCM)
onCreate() - onDestroy()
SQLiteOpenHelper
Ducking
4. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
SearchView
Canvas
AsyncTask
Serialize
5. Android provides this handy method to direct volume key presses to the audio stream the user specify.
HTTP
Account Manager
setVolumeControlStream()
GET_ACCOUNTS
6. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
virtual table
NetworkInfo
Google Cloud Messaging for Android (GCM)
HTTP
7. This class exposes a number of methods for applications to receive location updates.
XmlPullParser
Back stack
Lifecycle callback methods
LocationManager
8. 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
onAudioFocusChange()
HttpURLConnection
Full power
9. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
android.hardware.touchscreen
security sandbox
BroadcastReceiver
LocationManager
10. Android is __________.
ActionProvider
Linux based
ACTION_DOCK_EVENT
ConnectivityManager
11. When a new activity starts - it is pushed onto the ____ and takes user focus.
AccountAuthenticatorActivity
Back stack
Canvas
SettingsActivity
12. Callback method: The activity is being created.
OAuth2
onCreate();
When the activity resumes
Stack - back stack
13. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
OnCurrentItemChanged
SecurityException
BatteryManager
Layouts
14. The industry standard way to deal with authentication to third-party services.
OAuth2 protocol
drawBitmap()
onCreate() - onDestroy()
single-pane
15. This can be used to draw previews of what the camera sensor is picking up.
onStop();
OnCurrentItemChanged
ACTION_DOCK_EVENT
SurfaceView
16. For example - a ____ might be a button that initiates an action when the user touches it.
View
Widgets
Dalvik Debug Monitor Server
ETC1
17. Use this to draw text.
Emulator
Scroller
drawText()
View
18. 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?
<declare-styleable>
View
EXTRA_STREAM
Destroyed - previous
19. 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
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
touch
onCreate();
Component - screen
20. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
NetworkInfo
LocationManager
onSearchRequested()
OnCurrentItemChanged
21. Sharing of data in Android is done via________
Linux based
Service Content Provider
drawBitmap()
isConnected()
22. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
Component - screen
Dalvik Debug Monitor Server
ViewStub
LTE
23. It made implementing an effective and user friendly share action in your ActionBar even easier.
Stack
ETC1
LocationManager
ActionProvider
24. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
Back stack
isConnected()
BatteryManager
Wi-Fi radio
25. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
XmlPullParser
Implicit intent
Activity
ConnectivityManager
26. 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.
Wi-Fi radio
PieChart
Activity
ActionProvider
27. To define custom attributes - add this resources to your project.
ConnectivityManager
<declare-styleable>
Google Cloud Messaging (GCM)
Account Manager
28. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
adb
onMeasure()
When the activity resumes
SurfaceHolder.Callback
29. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
Extensible Markup Language (XML)
ETC1
Lifecycle callback methods
onDraw()
30. Android request its permission using its ________
AndroidManifest.xml
SQLite
ActionProvider
Google Play
31. Callback method: Another activity is taking focus
drawBitmap()
Paint
onDestroy();
onPause();
32. Converts XML Document to XML DOM
Parser
onCreate() - onDestroy()
NetworkInfo
GestureDetector
33. It is a free service for sending messages to Android devices.
Google Cloud Messaging (GCM)
Android SDK
SurfaceHolder.Callback
Stack
34. It is called to invoke the search dialog on older devices.
InputStream
ACTION_DOCK_EVENT
security sandbox
onSearchRequested()
35. This is the simplest way to monitor device state changes.
Stack
Google Play
LocationManager
BroadcastReceiver
36. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
ETC1
ACTION_SEND
View
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
37. Amode where the action bar is set up with tabs for navigation.
onCreate() - onDestroy()
PackageManager
dual-
resolveSizeAndState()
38. Allow to combine loosely coupled components to perform certain tasks
Intents
Layouts
Destroyed - previous
Hierarchy Viewer
39. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Extensible Markup Language (XML)
Full power
Android SDK
auth scope
40. This is used to register and de-register your media button event receiver.
PieChart
AudioManager
Dalvik Virtual Machine
onStop();
41. Whenever the device is docked or undocked - this action is broadcast.
onMeasure()
BackupHelper
ACTION_DOCK_EVENT
setContentView
42. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
onCreate() - onDestroy()
android.hardware.touchscreen
HttpURLConnection
Stack - back stack
43. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
AttributeSet
HttpURLConnection
onCreate() - onDestroy()
Advanced Training
44. Are used in activities to create the user interface and to interact with the user.
Extensible Markup Language (XML)
HttpURLConnection
inflate()
Fragments
45. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
AbstractAccountAuthenticator
setContentView
ActionProvider
Dalvik Debug Monitor Server
46. This is used to convert raw touch events into gestures.
onCreate();
GestureDetector
Full power
single-pane
47. 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
BroadcastReceiver
security sandbox
Hierarchy Viewer
Destroyed - previous
48. It is available starting with API Level 14 and higher.
SurfaceHolder.Callback
ShareActionProvider
Intents
Stack
49. Direct component call in Android
Explicit intent
resolveSizeAndState()
SurfaceView
ACTION_SEND
50. The most common way to define a layout using views is with an XML layout file saved in your ______
View
ShareActionProvider
AudioManager
Application resources