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. It is an efficient and maintainable way to parse XML on Android.
ShareActionProvider
XmlPullParser
Google Play
ViewStub
2. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Widgets
NetworkInfo
Dalvik Debug Monitor Server
AudioManager
3. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
Widgets
inflate()
onAudioFocusChange()
onDraw()
4. Callback method: The activity has become visible.
Dalvik Debug Monitor Server
Wi-Fi radio
Activity
onResume();
5. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
AsyncTask
Low power
Application footprint
getInputStream()
6. This action is used in sending text content from one activity to another.
Dots per inch
onCreate() - onDestroy()
ACTION_SEND
AccountAuthenticatorActivity
7. 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
ValueAnimator
Component - screen
ShareActionProvider
8. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
ConnectivityManager
SearchView
When the activity resumes
Deserialize
9. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Entire
searchable configuration
View
BatteryManager
10. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
ViewStub
Advanced Training
SQLiteOpenHelper
inflate()
11. It is called to invoke the search dialog on older devices.
SearchView
onSearchRequested()
OnCurrentItemChanged
Dots per inch
12. The entire lifetime of an activity happens between the call to _____ and the call to _____
Implicit intent
onCreate() - onDestroy()
Intents
setVolumeControlStream()
13. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
single-pane
BatteryManager
Advanced Training
HttpURLConnection
14. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Hierarchy Viewer
Stack - back stack
Component - screen
ConnectivityManager
15. An open source group led by Google
ACTION_DOCK_EVENT
Canvas
ViewStub
Open Handset Alliance
16. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
EXTRA_STREAM
setVolumeControlStream()
AccountAuthenticatorActivity
AttributeSet
17. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
Standby
Scroller
visible
onStart() - onStop()
18. On a rooted device - the credentials would be readable by anyone with this access to the device.
Dalvik Virtual Machine
Dots per inch
onAudioFocusChange()
adb
19. Are used in activities to create the user interface and to interact with the user.
View
OAuth2
onMeasure()
Fragments
20. 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.
Google Cloud Messaging (GCM)
Google
Paint
BatteryManager
21. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
drawBitmap()
searchable configuration
onCreate();
View
22. To define custom attributes - add this resources to your project.
Canvas
<declare-styleable>
onResume();
EXTRA_STREAM
23. This is used to fetch the account names that the user has stored on their device.
ViewStub
AttributeSet
Dalvik Virtual Machine
Account Manager
24. Amode where the action bar is set up with tabs for navigation.
Deserialize
dual-
Dalvik Virtual Machine
Full power
25. Conversion of an object to XML
Objects Activity lifecycle
ETC1
Serialize
Stack - back stack
26. It is a subclass of PreferenceActivity.
AndroidManifest.xml
Scroller
SettingsActivity
Extensible Markup Language (XML)
27. This class is the basis for handling flywheel-style fling gestures.
setVolumeControlStream()
onStop();
ValueAnimator
Scroller
28. For example - a ____ might be a button that initiates an action when the user touches it.
virtual table
View
XmlPullParser
Intents
29. 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?
onSearchRequested()
AttributeSet
Account
ConnectivityManager
30. It doesn't currently support the <merge/> tag in the layouts to be inflated.
Back stack
ViewStub
OAuth2
Ducking
31. This is used to convert raw touch events into gestures.
GestureDetector
OnCurrentItemChanged
Android SDK
onStart() - onStop()
32. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Google Cloud Messaging for Android (GCM)
android.hardware.touchscreen
Full power
Advanced Training
33. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
Hierarchy Viewer
OnCurrentItemChanged
BatteryManager
Extensible Markup Language (XML)
34. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
ViewStub
Geocoder
Canvas
Service Content Provider
35. You can set the layout as the UI for your activity with passing the resource ID for the layout.
Serialize
adb
setContentView
AndroidManifest.xml
36. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
BroadcastReceiver
Full power
Google Cloud Messaging for Android (GCM)
Account
37. 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.
adb
Serialize
BackupHelper
Ducking
38. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
Implicit intent
onCreate() - onDestroy()
isConnected()
BroadcastReceiver
39. This is an interface which is used to pass image data from the camera hardware to the application.
AsyncTask
Service Content Provider
onResume();
SurfaceHolder.Callback
40. Evaluation of registered components
AttributeSet
Implicit intent
View
isConnected()
41. 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.
Back stack
Standby
Deserialize
Activity
42. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
OnCurrentItemChanged
Widgets
BroadcastReceiver
ACTION_DOCK_EVENT
43. The minimal energy state during which no network connection is active or required.
ConnectivityManager
Explicit intent
Standby
virtual table
44. This widget as an item in the action bar is the preferred way to provide search in your app.
SQLite
ACTION_SEND
Intent filters
SearchView
45. Callback method: Another activity is taking focus
SurfaceView
dual-
ViewStub
onPause();
46. 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 _____
AsyncTask
onCreate() - onDestroy()
virtual table
auth scope
47. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
ViewStub
SQLiteOpenHelper
onDraw()
Lifecycle callback methods
48. It is a free service for sending messages to Android devices.
AndroidManifest.xml
Google Cloud Messaging (GCM)
inflate()
Ducking
49. It inform the system what intents an application component is willing to accept.
resolveSizeAndState()
onCreate() - onDestroy()
Intent filters
Google
50. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
NetworkInfo
Account
Destroyed - previous
Deserialize