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 receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
Account Manager
AsyncTask
SQLiteOpenHelper
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
2. The most common way to define a layout using views is with an XML layout file saved in your ______
Android SDK
touch
Application resources
searchable configuration
3. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
onSearchRequested()
inflate()
Deserialize
Stack - back stack
4. The helper method is used to create the final width and height values.
resolveSizeAndState()
touch
Advanced Training
Intent filters
5. This is the simplest way to monitor device state changes.
onSearchRequested()
onCreate();
BroadcastReceiver
setVolumeControlStream()
6. Callback method: Another activity is taking focus
authenticator class
visible
Layouts
onPause();
7. 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
onResume();
Layouts
setVolumeControlStream()
8. Conversion of an object to XML
Serialize
Canvas
PieChart
OAuth2
9. It is a free service for sending messages to Android devices.
EXTRA_STREAM
SQLiteOpenHelper
Application resources
Google Cloud Messaging (GCM)
10. Whenever the device is docked or undocked - this action is broadcast.
Stack - back stack
AsyncTask
ACTION_DOCK_EVENT
onDraw()
11. is run when running Android on the pc
Emulator
Activity
Serialize
setContentView
12. The minimal energy state during which no network connection is active or required.
SearchView
Standby
Application footprint
BackupHelper
13. It is a string that defines the specific type of access your app is asking for.
auth scope
EXTRA_STREAM
BatteryManager
onDraw()
14. Use this to draw text.
Service Content Provider
Activity
drawText()
Destroyed - previous
15. To create an activity - you must create a subclass of
getInputStream()
onStop();
Activity
ACTION_SEND
16. This class exposes a number of methods for applications to receive location updates.
OnCurrentItemChanged
LocationManager
onResume();
Dots per inch
17. This action is used in sending text content from one activity to another.
onResume();
ACTION_SEND
ActionProvider
getInputStream()
18. An open source group led by Google
Open Handset Alliance
Parser
touch
Destroyed - previous
19. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
security sandbox
Entire
Google Cloud Messaging (GCM)
LTE
20. It is an efficient and maintainable way to parse XML on Android.
XmlPullParser
Google Cloud Messaging (GCM)
Dalvik Virtual Machine
drawBitmap()
21. Converts XML Document to XML DOM
Parser
Services
visible
Advanced Training
22. This is the most common input event in the Android system.
Explicit intent
Emulator
touch
resolveSizeAndState()
23. This is a readable source of bytes.
OnCurrentItemChanged
EXTRA_STREAM
InputStream
onSearchRequested()
24. In order to get a list of accounts on the device - your app needs this permission.
OnCurrentItemChanged
Account Manager
GET_ACCOUNTS
auth scope
25. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
Entire
SettingsActivity
AbstractAccountAuthenticator
AsyncTask
26. 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
AttributeSet
Parser
Stack
27. Represents the visual representation of an Android application
Activity
SQLiteOpenHelper
OAuth2 protocol
XmlPullParser
28. 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?
SearchView
Component - screen
AndroidManifest.xml
AttributeSet
29. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
OAuth2
ViewStub
Destroyed - previous
onMeasure()
30. This class provides one of the simplest ways to fire off a new task from the UI thread.
BackupHelper
AsyncTask
OAuth2
Canvas
31. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
onCreate() - onDestroy()
Advanced Training
drawText()
virtual table
32. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
Advanced Training
onDraw()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Stack - back stack
33. On a rooted device - the credentials would be readable by anyone with this access to the device.
Application footprint
onCreate() - onDestroy()
adb
HttpURLConnection
34. An open source stand alone database
drawText()
SQLite
Activity
SearchView
35. Perform background tasks without providing a user interface
InputStream
Services
onCreate();
Fragments
36. Callback method: The activity is about to be destroyed.
AttributeSet
onDestroy();
ACTION_SEND
Implicit intent
37. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
Account
EXTRA_STREAM
Full power
BatteryManager
38. Direct component call in Android
android.hardware.touchscreen
LocationManager
View
Explicit intent
39. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
HTTP
onAudioFocusChange()
onDestroy();
adb
40. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
searchable configuration
Canvas
OnCurrentItemChanged
GET_ACCOUNTS
41. Callback method: The activity is no longer visible
onStop();
BroadcastReceiver
authenticator class
When the activity resumes
42. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Activity
Hierarchy Viewer
BroadcastReceiver
View
43. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
setVolumeControlStream()
Activity
ConnectivityManager
Account Manager
44. This object contains an account name - which for Google accounts is an email address.
View
Android SDK
SearchView
Account
45. This includes tools to help you identify problems in your layout performance.
Wi-Fi radio
BackupHelper
Android SDK
onStop();
46. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Scroller
Account Manager
Canvas
onCreate() - onDestroy()
47. Android is __________.
Application resources
Google Cloud Messaging for Android (GCM)
SearchView
Linux based
48. A mode where navigation is set up with a spinner widget.
ACTION_SEND
single-pane
ETC1
AbstractAccountAuthenticator
49. This is used for the need of finer control over your view's layout parameters.
ViewStub
Dalvik Virtual Machine
onMeasure()
AttributeSet
50. It is used to load images in a background thread - then apply them to the UI once finished.
onStart() - onStop()
AsyncTask
Account Manager
OAuth2