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. Amode where the action bar is set up with tabs for navigation.
SQLiteOpenHelper
auth scope
onStop();
dual-
2. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
Service Content Provider
ConnectivityManager
NetworkInfo
BatteryManager
3. Android provides this handy method to direct volume key presses to the audio stream the user specify.
Paint
onStop();
Low power
setVolumeControlStream()
4. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Lifecycle callback methods
Standby
Canvas
Stack - back stack
5. Conversion of an object to XML
Serialize
Lifecycle callback methods
onCreate() - onDestroy()
Objects Activity lifecycle
6. 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.
PackageManager
SQLiteOpenHelper
SearchView
Activity
7. The dock-state details are included as an extra in a sticky broadcast of this action.
XmlPullParser
Explicit intent
BatteryManager
ACTION_DOCK_EVENT
8. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Full power
onDraw()
SQLiteOpenHelper
AndroidManifest.xml
9. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Scroller
dual-
onDraw()
OnCurrentItemChanged
10. 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.
onDestroy();
Paint
Google Cloud Messaging (GCM)
Emulator
11. A mode where navigation is set up with a spinner widget.
AsyncTask
single-pane
HttpURLConnection
Application resources
12. An open source stand alone database
Application footprint
SQLite
Layouts
Account Manager
13. Most network-connected Android apps use this to send and receive data.
onStop();
HTTP
Account
Activity
14. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
AbstractAccountAuthenticator
Wi-Fi radio
ConnectivityManager
ShareActionProvider
15. This is used to fetch the account names that the user has stored on their device.
ViewStub
drawBitmap()
onCreate();
Account Manager
16. 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.
SQLite
Activity
searchable configuration
android.hardware.touchscreen
17. 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.
onMeasure()
ViewStub
onStart() - onStop()
Ducking
18. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
Intents
Stack - back stack
ConnectivityManager
searchable configuration
19. It is used to load images in a background thread - then apply them to the UI once finished.
AsyncTask
SettingsActivity
GET_ACCOUNTS
Application footprint
20. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
authenticator class
SettingsActivity
onAudioFocusChange()
onDraw()
21. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
onDraw()
drawText()
PackageManager
Stack - back stack
22. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
Advanced Training
ACTION_SEND
Android SDK
isConnected()
23. On a rooted device - the credentials would be readable by anyone with this access to the device.
OAuth2
Android SDK
adb
Scroller
24. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
BroadcastReceiver
Implicit intent
Linux based
HttpURLConnection
25. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Hierarchy Viewer
Back stack
ACTION_DOCK_EVENT
Entire
26. Android system uses a special virtual machine to run java based applicatons
Advanced Training
ShareActionProvider
onDestroy();
Dalvik Virtual Machine
27. Evaluation of registered components
onSearchRequested()
Full power
Implicit intent
touch
28. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
SecurityException
BroadcastReceiver
ETC1
Back stack
29. A styleable entity that contains these two custom attributes: showText and labelPosition.
Explicit intent
PieChart
dual-
AccountAuthenticatorActivity
30. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
OAuth2
ConnectivityManager
Advanced Training
SearchView
31. 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?
ViewStub
AttributeSet
Google
Deserialize
32. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
BatteryManager
Scroller
BroadcastReceiver
HttpURLConnection
33. Callback method: The activity is about to be destroyed.
onDestroy();
visible
Ducking
LocationManager
34. ______ are views derived from ViewGroup that provide a unique layout model for its child views
BackupHelper
touch
Layouts
Emulator
35. This action is used in sending text content from one activity to another.
Linux based
ACTION_SEND
Deserialize
BatteryManager
36. Represents the visual representation of an Android application
Open Handset Alliance
Google Cloud Messaging for Android (GCM)
Activity
getInputStream()
37. This object contains an account name - which for Google accounts is an email address.
Account
onCreate();
Parser
LocationManager
38. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
visible
Parser
BatteryManager
Wi-Fi radio
39. The entire lifetime of an activity happens between the call to _____ and the call to _____
onCreate() - onDestroy()
Activity
Serialize
Full power
40. This broadcasts an action whenever the device is connected or disconnected from power.
auth scope
Intents
BatteryManager
adb
41. Relative to pixels and resolution screen
ActionProvider
Dots per inch
setVolumeControlStream()
HTTP
42. It doesn't currently support the <merge/> tag in the layouts to be inflated.
ViewStub
Open Handset Alliance
onPause();
Entire
43. Converts XML Document to XML DOM
ShareActionProvider
Account Manager
Parser
Serialize
44. Conversion of XML back to an object
resolveSizeAndState()
visible
Deserialize
ValueAnimator
45. It inform the system what intents an application component is willing to accept.
Wi-Fi radio
ETC1
onSearchRequested()
Intent filters
46. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
onResume();
Geocoder
Full power
onAudioFocusChange()
47. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
onStart() - onStop()
ConnectivityManager
Application resources
Android SDK
48. To create an activity - you must create a subclass of
setContentView
Activity
Deserialize
onResume();
49. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
Extensible Markup Language (XML)
virtual table
auth scope
onSearchRequested()
50. Use this to draw bitmaps.
drawBitmap()
inflate()
Scroller
auth scope