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. Sharing of data in Android is done via________
onCreate() - onDestroy()
SQLite
Service Content Provider
virtual table
2. It inform the system what intents an application component is willing to accept.
BatteryManager
AbstractAccountAuthenticator
Intent filters
GET_ACCOUNTS
3. Callback method: The activity has become visible.
onResume();
Layouts
AccountAuthenticatorActivity
Scroller
4. It provides a simple way to perform your work outside the main thread.
AsyncTask
Stack - back stack
AudioManager
Explicit intent
5. This object contains an account name - which for Google accounts is an email address.
Back stack
AudioManager
Account
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
6. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
Serialize
onPause();
onCreate() - onDestroy()
AccountAuthenticatorActivity
7. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
getInputStream()
AsyncTask
Wi-Fi radio
searchable configuration
8. 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.
Destroyed - previous
setContentView
auth scope
Activity
9. It is an efficient and maintainable way to parse XML on Android.
searchable configuration
XmlPullParser
setVolumeControlStream()
AsyncTask
10. This is the simplest way to monitor device state changes.
BatteryManager
BroadcastReceiver
NetworkInfo
AbstractAccountAuthenticator
11. This action is used in sending text content from one activity to another.
Stack
ACTION_SEND
Entire
Google
12. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
onDraw()
Android SDK
Low power
onMeasure()
13. The minimal energy state during which no network connection is active or required.
onStart() - onStop()
LTE
Standby
Application footprint
14. Callback method: The activity is no longer visible.
onDraw()
Activity
onStop();
ViewStub
15. The most common way to define a layout using views is with an XML layout file saved in your ______
Application resources
Intents
onDestroy();
Google Cloud Messaging (GCM)
16. This is the most common input event in the Android system.
Google Play
touch
onCreate() - onDestroy()
resolveSizeAndState()
17. You can set the layout as the UI for your activity with passing the resource ID for the layout.
AttributeSet
setContentView
GET_ACCOUNTS
BatteryManager
18. It is a set of rules for encoding documents in machine-readable form.
Implicit intent
BroadcastReceiver
Extensible Markup Language (XML)
onCreate() - onDestroy()
19. Conversion of an object to XML
Google Play
Activity
ConnectivityManager
Serialize
20. Android request its permission using its ________
Application resources
SearchView
AndroidManifest.xml
BackupHelper
21. 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?
onDraw()
Full power
onCreate() - onDestroy()
AttributeSet
22. Are used in activities to create the user interface and to interact with the user.
GET_ACCOUNTS
Fragments
Linux based
drawText()
23. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
ValueAnimator
Google Cloud Messaging for Android (GCM)
Dalvik Debug Monitor Server
Linux based
24. This broadcasts an action whenever the device is connected or disconnected from power.
BatteryManager
Back stack
searchable configuration
HTTP
25. 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.
setVolumeControlStream()
NetworkInfo
Paint
resolveSizeAndState()
26. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
Low power
AccountAuthenticatorActivity
Activity
Account
27. The entire lifetime of an activity happens between the call to _____ and the call to _____
Widgets
AbstractAccountAuthenticator
ACTION_SEND
onCreate() - onDestroy()
28. This widget as an item in the action bar is the preferred way to provide search in your app.
ViewStub
onCreate() - onDestroy()
SearchView
Android SDK
29. On a rooted device - the credentials would be readable by anyone with this access to the device.
adb
Intents
ConnectivityManager
Intent filters
30. If permissions are missing - the application will get this at runtime.
GET_ACCOUNTS
virtual table
SecurityException
Intent filters
31. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
Android SDK
onCreate() - onDestroy()
inflate()
HTTP
32. Callback method: Another activity is taking focus
<declare-styleable>
Lifecycle callback methods
adb
onPause();
33. This class is the basis for handling flywheel-style fling gestures.
HTTP
BroadcastReceiver
Scroller
Destroyed - previous
34. Once installed on a device - each Android application lives in its own ______
onCreate() - onDestroy()
security sandbox
getInputStream()
drawText()
35. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
ConnectivityManager
Extensible Markup Language (XML)
Scroller
Android SDK
36. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
onMeasure()
Canvas
android.hardware.touchscreen
AudioManager
37. Callback method: The activity is being created.
Android SDK
single-pane
visible
onCreate();
38. 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?
Advanced Training
onPause();
SurfaceHolder.Callback
EXTRA_STREAM
39. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
LTE
AsyncTask
inflate()
searchable configuration
40. This is used to convert raw touch events into gestures.
Emulator
Intents
Paint
GestureDetector
41. Each activity can then start another activity in order to perform different actions. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a ___ .
Stack
Account Manager
HTTP
Intents
42. It made implementing an effective and user friendly share action in your ActionBar even easier.
Dots per inch
Parser
ActionProvider
Objects Activity lifecycle
43. The dock-state details are included as an extra in a sticky broadcast of this action.
ACTION_DOCK_EVENT
touch
authenticator class
Application resources
44. It is a subclass of PreferenceActivity.
onCreate() - onDestroy()
Scroller
SettingsActivity
Open Handset Alliance
45. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Service Content Provider
Account
Objects Activity lifecycle
OAuth2
46. 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
Services
Standby
PackageManager
authenticator class
47. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
OAuth2 protocol
resolveSizeAndState()
Deserialize
Entire
48. This class exposes a number of methods for applications to receive location updates.
BatteryManager
LTE
Wi-Fi radio
LocationManager
49. Perform background tasks without providing a user interface
Android SDK
AsyncTask
Services
Intents
50. This is a readable source of bytes.
Low power
InputStream
setVolumeControlStream()
EXTRA_STREAM