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________
Services
ETC1
Objects Activity lifecycle
Service Content Provider
2. Callback method: Another activity is taking focus
onPause();
Dalvik Debug Monitor Server
Wi-Fi radio
AsyncTask
3. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
LTE
Layouts
drawBitmap()
Stack - back stack
4. These helpers are specialized classes for backing up certain kinds of data.
LocationManager
Component - screen
BackupHelper
ValueAnimator
5. For example - a ____ might be a button that initiates an action when the user touches it.
<declare-styleable>
Dalvik Virtual Machine
View
Advanced Training
6. Android request its permission using its ________
AccountAuthenticatorActivity
ViewStub
ACTION_SEND
AndroidManifest.xml
7. It is a free service for sending messages to Android devices.
AudioManager
BackupHelper
Google Cloud Messaging (GCM)
onSearchRequested()
8. The minimal energy state during which no network connection is active or required.
AsyncTask
Google Cloud Messaging (GCM)
authenticator class
Standby
9. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
onDraw()
HttpURLConnection
Layouts
onPause();
10. This includes tools to help you identify problems in your layout performance.
Entire
security sandbox
Android SDK
PieChart
11. Use this to draw text.
drawText()
Scroller
Google Play
adb
12. Callback method: The activity has become visible.
Android SDK
BackupHelper
onResume();
Service Content Provider
13. This class is the basis for handling flywheel-style fling gestures.
ConnectivityManager
Standby
Account Manager
Scroller
14. This is used to fetch the account names that the user has stored on their device.
resolveSizeAndState()
Entire
Account Manager
Open Handset Alliance
15. If permissions are missing - the application will get this at runtime.
Activity
getInputStream()
SecurityException
Intent filters
16. 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.
Paint
OAuth2 protocol
Serialize
Scroller
17. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
Activity
Service Content Provider
PackageManager
View
18. It is a set of rules for encoding documents in machine-readable form.
Application resources
Extensible Markup Language (XML)
Linux based
Google Play
19. This widget as an item in the action bar is the preferred way to provide search in your app.
Ducking
Services
Low power
SearchView
20. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
Scroller
onResume();
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
virtual table
21. Represents the visual representation of an Android application
HTTP
Activity
onCreate();
Layouts
22. Amode where the action bar is set up with tabs for navigation.
onCreate();
SettingsActivity
onResume();
dual-
23. It is an efficient and maintainable way to parse XML on Android.
XmlPullParser
Serialize
BatteryManager
OAuth2 protocol
24. A styleable entity that contains these two custom attributes: showText and labelPosition.
onStop();
PieChart
Service Content Provider
ShareActionProvider
25. 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.
SearchView
Application resources
Serialize
LocationManager
26. It provides a simple way to perform your work outside the main thread.
AsyncTask
<declare-styleable>
ACTION_DOCK_EVENT
drawBitmap()
27. Android is __________.
isConnected()
HttpURLConnection
Linux based
SQLiteOpenHelper
28. An intermediate state that uses around 50% of the battery power at the full state.
NetworkInfo
drawBitmap()
AndroidManifest.xml
Low power
29. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
Standby
inflate()
onCreate() - onDestroy()
AccountAuthenticatorActivity
30. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
isConnected()
android.hardware.touchscreen
inflate()
getInputStream()
31. Callback method: The activity is about to be destroyed.
Standby
onDestroy();
EXTRA_STREAM
PieChart
32. 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
View
HTTP
Entire
33. It is called to invoke the search dialog on older devices.
SettingsActivity
onSearchRequested()
View
Application resources
34. This broadcasts an action whenever the device is connected or disconnected from power.
EXTRA_STREAM
HTTP
BatteryManager
resolveSizeAndState()
35. Android system uses a special virtual machine to run java based applicatons
PieChart
Linux based
Dalvik Virtual Machine
Lifecycle callback methods
36. This is an interface which is used to pass image data from the camera hardware to the application.
Open Handset Alliance
searchable configuration
security sandbox
SurfaceHolder.Callback
37. Theseare a key part of Android applications that directly affect the user experience.
getInputStream()
Layouts
onResume();
onCreate() - onDestroy()
38. To define custom attributes - add this resources to your project.
Google Cloud Messaging for Android (GCM)
ACTION_DOCK_EVENT
EXTRA_STREAM
<declare-styleable>
39. 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 ___ .
Canvas
SearchView
BatteryManager
Stack
40. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
onMeasure()
resolveSizeAndState()
Explicit intent
searchable configuration
41. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Geocoder
BackupHelper
Layouts
Low power
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
PackageManager
BroadcastReceiver
AudioManager
single-pane
43. This is used to convert raw touch events into gestures.
onCreate() - onDestroy()
ConnectivityManager
GestureDetector
Full power
44. The industry standard way to deal with authentication to third-party services.
onCreate();
android.hardware.touchscreen
OAuth2 protocol
Android SDK
45. It inform the system what intents an application component is willing to accept.
Advanced Training
Intent filters
Activity
Dalvik Virtual Machine
46. This is a readable source of bytes.
InputStream
Destroyed - previous
ViewStub
Intent filters
47. Relative to pixels and resolution screen
Dots per inch
onAudioFocusChange()
authenticator class
ActionProvider
48. It made implementing an effective and user friendly share action in your ActionBar even easier.
SettingsActivity
ActionProvider
Google
Advanced Training
49. This is the main class through which your application can access location services on Android.
Destroyed - previous
SettingsActivity
LocationManager
drawText()
50. 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.
Android SDK
SQLite
OAuth2
Google Cloud Messaging for Android (GCM)