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. For example - a ____ might be a button that initiates an action when the user touches it.
security sandbox
ACTION_DOCK_EVENT
View
onSearchRequested()
2. Conversion of XML back to an object
Deserialize
Account
Lifecycle callback methods
resolveSizeAndState()
3. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
Google Play
BackupHelper
Google Cloud Messaging for Android (GCM)
AccountAuthenticatorActivity
4. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
android.hardware.touchscreen
Advanced Training
HttpURLConnection
XmlPullParser
5. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
Dalvik Virtual Machine
NetworkInfo
ACTION_DOCK_EVENT
Activity
6. This is used to check that you're actually connected to the Internet and what type of connection is in place.
Objects Activity lifecycle
onCreate();
Component - screen
ConnectivityManager
7. This is set up to animate for the duration of the fling.
ValueAnimator
AttributeSet
Widgets
LocationManager
8. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Open Handset Alliance
Hierarchy Viewer
getInputStream()
Entire
9. It is a subclass of PreferenceActivity.
onMeasure()
SettingsActivity
onSearchRequested()
Advanced Training
10. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Standby
ShareActionProvider
PackageManager
Full power
11. It is a free service for sending messages to Android devices.
Google Cloud Messaging (GCM)
InputStream
PackageManager
BroadcastReceiver
12. This is used for the need of finer control over your view's layout parameters.
onMeasure()
OAuth2
Google Cloud Messaging for Android (GCM)
BatteryManager
13. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
GestureDetector
LTE
BatteryManager
Hierarchy Viewer
14. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
auth scope
NetworkInfo
inflate()
AbstractAccountAuthenticator
15. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
GestureDetector
Dalvik Debug Monitor Server
ACTION_SEND
Canvas
16. Callback method: Another activity is taking focus
Open Handset Alliance
onPause();
onAudioFocusChange()
ViewStub
17. It inform the system what intents an application component is willing to accept.
ActionProvider
Intent filters
authenticator class
onCreate() - onDestroy()
18. An open source group led by Google
Parser
Paint
Open Handset Alliance
BatteryManager
19. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Objects Activity lifecycle
Emulator
SQLiteOpenHelper
Activity
20. 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
AudioManager
SurfaceHolder.Callback
PieChart
21. Represents the visual representation of an Android application
Activity
BroadcastReceiver
setVolumeControlStream()
drawText()
22. The entire lifetime of an activity happens between the call to _____ and the call to _____
ShareActionProvider
onCreate() - onDestroy()
ACTION_DOCK_EVENT
onStart() - onStop()
23. Sharing of data in Android is done via________
Ducking
Account
Back stack
Service Content Provider
24. 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
Stack
Component - screen
AbstractAccountAuthenticator
ViewStub
25. It is used to load images in a background thread - then apply them to the UI once finished.
HttpURLConnection
AsyncTask
Standby
BatteryManager
26. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
Implicit intent
SearchView
Activity
visible
27. You can set the layout as the UI for your activity with passing the resource ID for the layout.
LocationManager
Dalvik Virtual Machine
Low power
setContentView
28. Are used in activities to create the user interface and to interact with the user.
ValueAnimator
Fragments
ACTION_SEND
HTTP
29. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
ViewStub
Destroyed - previous
Parser
onAudioFocusChange()
30. is run when running Android on the pc
Emulator
BackupHelper
onPause();
Stack - back stack
31. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
View
When the activity resumes
SQLite
ActionProvider
32. Necessary tools to develop Android applications
Android SDK
AccountAuthenticatorActivity
Standby
setVolumeControlStream()
33. Whenever the device is docked or undocked - this action is broadcast.
AsyncTask
LocationManager
ACTION_DOCK_EVENT
AndroidManifest.xml
34. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
SurfaceView
onDraw()
drawBitmap()
Implicit intent
35. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Wi-Fi radio
adb
LocationManager
searchable configuration
36. A styleable entity that contains these two custom attributes: showText and labelPosition.
Intents
ShareActionProvider
PieChart
onAudioFocusChange()
37. Perform background tasks without providing a user interface
Services
onCreate();
Account Manager
LTE
38. The dock-state details are included as an extra in a sticky broadcast of this action.
ACTION_DOCK_EVENT
Widgets
onMeasure()
SearchView
39. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Dalvik Debug Monitor Server
InputStream
Stack
Layouts
40. This broadcasts an action whenever the device is connected or disconnected from power.
security sandbox
onCreate() - onDestroy()
BatteryManager
Objects Activity lifecycle
41. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
android.hardware.touchscreen
Full power
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
onStop();
42. Amode where the action bar is set up with tabs for navigation.
Emulator
dual-
SQLiteOpenHelper
View
43. Use this to draw bitmaps.
AudioManager
drawBitmap()
SQLiteOpenHelper
Destroyed - previous
44. A mode where navigation is set up with a spinner widget.
Extensible Markup Language (XML)
Android SDK
single-pane
Layouts
45. 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?
AttributeSet
HTTP
onPause();
ETC1
46. This is used to convert raw touch events into gestures.
onDestroy();
GestureDetector
onCreate();
Intents
47. Callback method: The activity is about to be destroyed.
ShareActionProvider
SecurityException
onDestroy();
AbstractAccountAuthenticator
48. For example - if your activity has a thread running in the background to download data from the network - it might create that thread in _____ and then stop the thread in _____
onCreate() - onDestroy()
Dots per inch
Stack - back stack
GET_ACCOUNTS
49. This can be used to draw previews of what the camera sensor is picking up.
SurfaceView
Lifecycle callback methods
single-pane
dual-
50. It is called to invoke the search dialog on older devices.
Explicit intent
PackageManager
onSearchRequested()
OAuth2 protocol