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 visible lifetime of an activity happens between the call to ____ and the call to ______
XmlPullParser
AsyncTask
BroadcastReceiver
onStart() - onStop()
2. This widget as an item in the action bar is the preferred way to provide search in your app.
single-pane
AbstractAccountAuthenticator
Extensible Markup Language (XML)
SearchView
3. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Layouts
OAuth2 protocol
<declare-styleable>
onCreate() - onDestroy()
4. An open source group led by Google
Canvas
Layouts
Open Handset Alliance
Fragments
5. 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.
virtual table
authenticator class
View
Ducking
6. 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();
BroadcastReceiver
Scroller
onCreate() - onDestroy()
7. This search feature was introduced in Android 3.0 and can maintain backward compatibility with older versions of Android by using the default search dialog provided by the system.
visible
SearchView
Wi-Fi radio
Advanced Training
8. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
SearchView
View
Android SDK
SettingsActivity
9. An intermediate state that uses around 50% of the battery power at the full state.
onStop();
Low power
Ducking
AudioManager
10. 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?
adb
onCreate() - onDestroy()
ACTION_DOCK_EVENT
AttributeSet
11. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Layouts
Hierarchy Viewer
Fragments
Wi-Fi radio
12. The dock-state details are included as an extra in a sticky broadcast of this action.
ACTION_DOCK_EVENT
Google
Explicit intent
onStop();
13. This is used to convert raw touch events into gestures.
single-pane
GestureDetector
onResume();
security sandbox
14. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Google
Full power
Advanced Training
Dalvik Debug Monitor Server
15. This object contains an account name - which for Google accounts is an email address.
Account
SurfaceHolder.Callback
LocationManager
ConnectivityManager
16. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
onResume();
Activity
XmlPullParser
Full power
17. Represents the visual representation of an Android application
Activity
BatteryManager
ShareActionProvider
Linux based
18. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
Canvas
Account Manager
onCreate() - onDestroy()
virtual table
19. It is a free service for sending messages to Android devices.
Stack - back stack
Scroller
Google Cloud Messaging (GCM)
Dalvik Virtual Machine
20. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
Paint
visible
drawBitmap()
AsyncTask
21. This action is used in sending text content from one activity to another.
ACTION_SEND
ETC1
onCreate() - onDestroy()
Serialize
22. Direct component call in Android
Explicit intent
Fragments
Stack - back stack
Application footprint
23. In order to get a list of accounts on the device - your app needs this permission.
NetworkInfo
onSearchRequested()
Widgets
GET_ACCOUNTS
24. This is used for the need of finer control over your view's layout parameters.
BatteryManager
Ducking
Destroyed - previous
onMeasure()
25. The most common way to define a layout using views is with an XML layout file saved in your ______
Hierarchy Viewer
Advanced Training
Application resources
Android SDK
26. Allow to combine loosely coupled components to perform certain tasks
BatteryManager
Intents
Parser
Entire
27. It doesn't currently support the <merge/> tag in the layouts to be inflated.
Google Play
AudioManager
ViewStub
SQLiteOpenHelper
28. This class exposes a number of methods for applications to receive location updates.
onCreate() - onDestroy()
Standby
LocationManager
Service Content Provider
29. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Service Content Provider
SQLiteOpenHelper
Dalvik Virtual Machine
AudioManager
30. Use this to draw bitmaps.
onAudioFocusChange()
onMeasure()
drawBitmap()
drawText()
31. This is used to fetch the account names that the user has stored on their device.
GET_ACCOUNTS
virtual table
Account Manager
ViewStub
32. The entire lifetime of an activity happens between the call to _____ and the call to _____
setVolumeControlStream()
onMeasure()
onCreate() - onDestroy()
Parser
33. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
AttributeSet
SearchView
virtual table
Dots per inch
34. This broadcasts an action whenever the device is connected or disconnected from power.
Fragments
BatteryManager
LTE
Lifecycle callback methods
35. It inform the system what intents an application component is willing to accept.
adb
onAudioFocusChange()
Linux based
Intent filters
36. These helpers are specialized classes for backing up certain kinds of data.
LocationManager
ACTION_DOCK_EVENT
BackupHelper
ETC1
37. Android request its permission using its ________
Google Cloud Messaging for Android (GCM)
ACTION_DOCK_EVENT
AndroidManifest.xml
ValueAnimator
38. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
onCreate() - onDestroy()
ConnectivityManager
BatteryManager
drawText()
39. The industry standard way to deal with authentication to third-party services.
onDestroy();
onSearchRequested()
Stack
OAuth2 protocol
40. It is a subclass of PreferenceActivity.
View
SettingsActivity
Activity
authenticator class
41. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
Linux based
InputStream
isConnected()
AsyncTask
42. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
searchable configuration
onStop();
onPause();
AsyncTask
43. Converts XML Document to XML DOM
single-pane
NetworkInfo
setVolumeControlStream()
Parser
44. This is the main class through which your application can access location services on Android.
ConnectivityManager
LocationManager
virtual table
BackupHelper
45. 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?
Component - screen
HttpURLConnection
EXTRA_STREAM
Google Cloud Messaging (GCM)
46. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
inflate()
resolveSizeAndState()
View
PackageManager
47. This is a readable source of bytes.
InputStream
AsyncTask
Paint
GET_ACCOUNTS
48. Necessary tools to develop Android applications
Low power
Android SDK
android.hardware.touchscreen
Canvas
49. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Google Cloud Messaging (GCM)
View
BatteryManager
Widgets
50. Sharing of data in Android is done via________
SettingsActivity
setContentView
Service Content Provider
searchable configuration