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 is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
Open Handset Alliance
AsyncTask
OnCurrentItemChanged
ViewStub
2. It is available starting with API Level 14 and higher.
SearchView
ShareActionProvider
Account Manager
OAuth2
3. It inform the system what intents an application component is willing to accept.
OAuth2
AttributeSet
ConnectivityManager
Intent filters
4. 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.
touch
Deserialize
BackupHelper
OAuth2
5. Android is __________.
EXTRA_STREAM
Linux based
BroadcastReceiver
onAudioFocusChange()
6. Converts XML Document to XML DOM
HTTP
Stack
AndroidManifest.xml
Parser
7. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
BroadcastReceiver
AsyncTask
onPause();
ACTION_DOCK_EVENT
8. Conversion of XML back to an object
Deserialize
Google Cloud Messaging (GCM)
BroadcastReceiver
SearchView
9. To define custom attributes - add this resources to your project.
Extensible Markup Language (XML)
android.hardware.touchscreen
<declare-styleable>
AsyncTask
10. Callback method: The activity is being created.
Serialize
Back stack
isConnected()
onCreate();
11. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
Hierarchy Viewer
auth scope
virtual table
AbstractAccountAuthenticator
12. The most common way to define a layout using views is with an XML layout file saved in your ______
setVolumeControlStream()
Emulator
PieChart
Application resources
13. 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 _____
AudioManager
Android SDK
onCreate() - onDestroy()
single-pane
14. 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.
resolveSizeAndState()
Activity
NetworkInfo
Paint
15. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
BackupHelper
Canvas
Google Cloud Messaging for Android (GCM)
inflate()
16. It is called to invoke the search dialog on older devices.
onSearchRequested()
SecurityException
inflate()
NetworkInfo
17. Use this to draw text.
BatteryManager
drawText()
Service Content Provider
Standby
18. It provides a simple way to perform your work outside the main thread.
View
Destroyed - previous
AsyncTask
Services
19. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Stack - back stack
AudioManager
Ducking
SearchView
20. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
auth scope
LTE
virtual table
getInputStream()
21. Android system uses a special virtual machine to run java based applicatons
Google Play
Dalvik Virtual Machine
Full power
LocationManager
22. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
Explicit intent
onDraw()
GET_ACCOUNTS
onPause();
23. An intermediate state that uses around 50% of the battery power at the full state.
View
Low power
Advanced Training
Standby
24. This widget as an item in the action bar is the preferred way to provide search in your app.
GET_ACCOUNTS
Android SDK
onCreate();
SearchView
25. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
setVolumeControlStream()
isConnected()
onPause();
ActionProvider
26. Perform background tasks without providing a user interface
LocationManager
SQLiteOpenHelper
dual-
Services
27. The dock-state details are included as an extra in a sticky broadcast of this action.
getInputStream()
ACTION_DOCK_EVENT
onDraw()
PackageManager
28. Are used in activities to create the user interface and to interact with the user.
Layouts
ConnectivityManager
Fragments
inflate()
29. Use this to draw bitmaps.
Canvas
AsyncTask
OnCurrentItemChanged
drawBitmap()
30. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Full power
View
Component - screen
Google
31. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
OnCurrentItemChanged
BatteryManager
SettingsActivity
Service Content Provider
32. Relative to pixels and resolution screen
Stack
ActionProvider
Hierarchy Viewer
Dots per inch
33. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
onCreate() - onDestroy()
inflate()
Entire
OAuth2
34. This class is the basis for handling flywheel-style fling gestures.
OAuth2 protocol
adb
Scroller
View
35. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Objects Activity lifecycle
OnCurrentItemChanged
Widgets
Android SDK
36. It's generally a good idea for one of your APKs to support this texture format as it is supported by all Android-powered devices that support the OpenGL ES 2.0 spec.
Stack
ETC1
searchable configuration
Account Manager
37. The minimal energy state during which no network connection is active or required.
BroadcastReceiver
HttpURLConnection
Activity
Standby
38. Most network-connected Android apps use this to send and receive data.
Stack
HTTP
onMeasure()
onSearchRequested()
39. In order to get a list of accounts on the device - your app needs this permission.
When the activity resumes
Scroller
onMeasure()
GET_ACCOUNTS
40. Whenever the device is docked or undocked - this action is broadcast.
Widgets
onDraw()
NetworkInfo
ACTION_DOCK_EVENT
41. This can be used to draw previews of what the camera sensor is picking up.
BroadcastReceiver
SurfaceView
Service Content Provider
Geocoder
42. 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
ViewStub
PackageManager
AsyncTask
HTTP
43. To create an activity - you must create a subclass of
Intents
Wi-Fi radio
Activity
single-pane
44. It is a string that defines the specific type of access your app is asking for.
BatteryManager
auth scope
GestureDetector
Account
45. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
AttributeSet
drawText()
getInputStream()
BackupHelper
46. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
single-pane
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Scroller
OnCurrentItemChanged
47. This is the simplest way to monitor device state changes.
When the activity resumes
BroadcastReceiver
resolveSizeAndState()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
48. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
authenticator class
Android SDK
Layouts
Objects Activity lifecycle
49. This is the most common input event in the Android system.
onResume();
AccountAuthenticatorActivity
touch
ViewStub
50. Sharing of data in Android is done via________
Service Content Provider
ValueAnimator
ViewStub
ConnectivityManager