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. This class exposes a number of methods for applications to receive location updates.
Fragments
Full power
auth scope
LocationManager
2. 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.
Activity
Service Content Provider
Ducking
Full power
3. Necessary tools to develop Android applications
isConnected()
Android SDK
ACTION_DOCK_EVENT
onCreate();
4. Relative to pixels and resolution screen
Widgets
adb
Dots per inch
BroadcastReceiver
5. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
BatteryManager
single-pane
Ducking
Advanced Training
6. Perform background tasks without providing a user interface
Services
ViewStub
onMeasure()
View
7. The industry standard way to deal with authentication to third-party services.
Lifecycle callback methods
OAuth2 protocol
Layouts
ShareActionProvider
8. This is used for the need of finer control over your view's layout parameters.
BroadcastReceiver
onMeasure()
Ducking
onDestroy();
9. It is an efficient and maintainable way to parse XML on Android.
Objects Activity lifecycle
Paint
XmlPullParser
ETC1
10. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
BroadcastReceiver
Stack - back stack
Scroller
OAuth2
11. Conversion of XML back to an object
Deserialize
Intents
Services
SQLite
12. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
Extensible Markup Language (XML)
NetworkInfo
AbstractAccountAuthenticator
Services
13. This is a readable source of bytes.
LTE
InputStream
Account
Google Cloud Messaging (GCM)
14. In order to get a list of accounts on the device - your app needs this permission.
Standby
Geocoder
GET_ACCOUNTS
SettingsActivity
15. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
Widgets
onDraw()
virtual table
authenticator class
16. It doesn't currently support the <merge/> tag in the layouts to be inflated.
Application resources
HttpURLConnection
SearchView
ViewStub
17. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
<declare-styleable>
Google Cloud Messaging (GCM)
onAudioFocusChange()
Stack
18. Conversion of an object to XML
BackupHelper
onDestroy();
Serialize
Application resources
19. Use this to draw bitmaps.
HTTP
Objects Activity lifecycle
BroadcastReceiver
drawBitmap()
20. An open source stand alone database
SQLite
ValueAnimator
touch
OnCurrentItemChanged
21. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Google
Activity
Entire
android.hardware.touchscreen
22. To define custom attributes - add this resources to your project.
onDraw()
onStop();
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
<declare-styleable>
23. Sharing of data in Android is done via________
ViewStub
When the activity resumes
Service Content Provider
ACTION_DOCK_EVENT
24. 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 protocol
SQLiteOpenHelper
OAuth2
onStop();
25. Most network-connected Android apps use this to send and receive data.
OAuth2
PieChart
Dalvik Debug Monitor Server
HTTP
26. Callback method: The activity has become visible.
Dalvik Debug Monitor Server
onResume();
onPause();
Geocoder
27. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
onSearchRequested()
ActionProvider
onCreate() - onDestroy()
Stack - back stack
28. is run when running Android on the pc
Objects Activity lifecycle
ActionProvider
Emulator
Extensible Markup Language (XML)
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?
Objects Activity lifecycle
AttributeSet
drawBitmap()
resolveSizeAndState()
30. Converts XML Document to XML DOM
onPause();
authenticator class
ETC1
Parser
31. When a new activity starts - it is pushed onto the ____ and takes user focus.
Scroller
Back stack
AsyncTask
Services
32. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Advanced Training
touch
Stack - back stack
Emulator
33. A service in which programmers can offer their Android application to Android users.
Google Play
setVolumeControlStream()
ShareActionProvider
Account Manager
34. Callback method: The activity is about to be destroyed.
onCreate() - onDestroy()
SearchView
onDestroy();
ETC1
35. Once installed on a device - each Android application lives in its own ______
BroadcastReceiver
security sandbox
Ducking
ETC1
36. Represents the visual representation of an Android application
View
ACTION_SEND
onDestroy();
Activity
37. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
LTE
ViewStub
Geocoder
Full power
38. A mode where navigation is set up with a spinner widget.
Dalvik Virtual Machine
onCreate() - onDestroy()
Destroyed - previous
single-pane
39. It is a free service for sending messages to Android devices.
Activity
Google Cloud Messaging (GCM)
AsyncTask
EXTRA_STREAM
40. Amode where the action bar is set up with tabs for navigation.
dual-
ValueAnimator
getInputStream()
drawText()
41. This class is the basis for handling flywheel-style fling gestures.
Scroller
OAuth2 protocol
AndroidManifest.xml
authenticator class
42. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
onCreate() - onDestroy()
<declare-styleable>
searchable configuration
ACTION_DOCK_EVENT
43. 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
Objects Activity lifecycle
Wi-Fi radio
GestureDetector
PackageManager
44. Android provides this handy method to direct volume key presses to the audio stream the user specify.
Lifecycle callback methods
Layouts
setVolumeControlStream()
Paint
45. Android system uses a special virtual machine to run java based applicatons
Dalvik Virtual Machine
ViewStub
onPause();
View
46. 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.
onCreate();
When the activity resumes
Scroller
SearchView
47. 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?
SQLiteOpenHelper
EXTRA_STREAM
onPause();
android.hardware.touchscreen
48. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
android.hardware.touchscreen
SecurityException
Intent filters
onCreate() - onDestroy()
49. 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.
LocationManager
SearchView
AsyncTask
Paint
50. The visible lifetime of an activity happens between the call to ____ and the call to ______
Component - screen
Dalvik Debug Monitor Server
onStart() - onStop()
HTTP