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. 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.
Extensible Markup Language (XML)
Fragments
Ducking
ConnectivityManager
2. Callback method: The activity is no longer visible.
BatteryManager
Intent filters
onStop();
SurfaceView
3. Use this to draw bitmaps.
ViewStub
Android SDK
Activity
drawBitmap()
4. This object contains an account name - which for Google accounts is an email address.
ETC1
GET_ACCOUNTS
onDraw()
Account
5. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
Stack - back stack
Extensible Markup Language (XML)
LTE
Android SDK
6. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Application footprint
Wi-Fi radio
Layouts
When the activity resumes
7. is run when running Android on the pc
Emulator
ConnectivityManager
InputStream
Paint
8. This can be used to draw previews of what the camera sensor is picking up.
SurfaceView
ViewStub
setContentView
SearchView
9. This is used to convert raw touch events into gestures.
Emulator
SurfaceHolder.Callback
GestureDetector
Deserialize
10. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
authenticator class
SearchView
Stack - back stack
Dalvik Virtual Machine
11. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
HttpURLConnection
<declare-styleable>
Google
SecurityException
12. Callback method: The activity is no longer visible
OAuth2
onDraw()
onStop();
onCreate() - onDestroy()
13. This class exposes a number of methods for applications to receive location updates.
LocationManager
Scroller
Canvas
Wi-Fi radio
14. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
BatteryManager
onDraw()
Google Cloud Messaging (GCM)
drawBitmap()
15. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Geocoder
SearchView
onMeasure()
Objects Activity lifecycle
16. In order to get a list of accounts on the device - your app needs this permission.
onResume();
GET_ACCOUNTS
Objects Activity lifecycle
ETC1
17. Conversion of XML back to an object
AudioManager
Deserialize
Scroller
Intents
18. The minimal energy state during which no network connection is active or required.
Activity
SearchView
Standby
Google
19. On a rooted device - the credentials would be readable by anyone with this access to the device.
onPause();
resolveSizeAndState()
View
adb
20. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Layouts
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Back stack
Widgets
21. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
Destroyed - previous
Stack - back stack
onCreate() - onDestroy()
onAudioFocusChange()
22. Allow to combine loosely coupled components to perform certain tasks
Intents
onDraw()
onSearchRequested()
BroadcastReceiver
23. Use this to draw text.
BatteryManager
drawText()
Destroyed - previous
Deserialize
24. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
Stack - back stack
auth scope
inflate()
LocationManager
25. Sharing of data in Android is done via________
Activity
GestureDetector
NetworkInfo
Service Content Provider
26. Android provides this handy method to direct volume key presses to the audio stream the user specify.
setVolumeControlStream()
onSearchRequested()
Android SDK
Paint
27. It doesn't currently support the <merge/> tag in the layouts to be inflated.
When the activity resumes
Component - screen
ViewStub
Geocoder
28. A styleable entity that contains these two custom attributes: showText and labelPosition.
Component - screen
PieChart
ETC1
Dalvik Debug Monitor Server
29. Perform background tasks without providing a user interface
Services
Full power
BatteryManager
android.hardware.touchscreen
30. Are used in activities to create the user interface and to interact with the user.
drawBitmap()
Fragments
BroadcastReceiver
SQLiteOpenHelper
31. 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
AsyncTask
Entire
PackageManager
virtual table
32. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
isConnected()
Google Cloud Messaging (GCM)
LocationManager
inflate()
33. It is a set of rules for encoding documents in machine-readable form.
Scroller
Extensible Markup Language (XML)
inflate()
Linux based
34. This is used to fetch the account names that the user has stored on their device.
Stack - back stack
Account Manager
ACTION_DOCK_EVENT
Canvas
35. Amode where the action bar is set up with tabs for navigation.
SettingsActivity
LTE
dual-
SearchView
36. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
authenticator class
virtual table
BatteryManager
ViewStub
37. To define custom attributes - add this resources to your project.
inflate()
isConnected()
onStop();
<declare-styleable>
38. 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.
android.hardware.touchscreen
Account Manager
SearchView
Intents
39. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Scroller
GET_ACCOUNTS
Fragments
Lifecycle callback methods
40. This is an interface which is used to pass image data from the camera hardware to the application.
Account
Application footprint
Back stack
SurfaceHolder.Callback
41. It is available starting with API Level 14 and higher.
When the activity resumes
ShareActionProvider
Activity
Google Cloud Messaging (GCM)
42. It is used to load images in a background thread - then apply them to the UI once finished.
View
Google Play
AsyncTask
ViewStub
43. Direct component call in Android
ViewStub
SecurityException
Explicit intent
GET_ACCOUNTS
44. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
OnCurrentItemChanged
Back stack
BroadcastReceiver
45. It is a subclass of PreferenceActivity.
SettingsActivity
Extensible Markup Language (XML)
isConnected()
Objects Activity lifecycle
46. Represents the visual representation of an Android application
Activity
drawBitmap()
visible
Google Cloud Messaging (GCM)
47. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
visible
onSearchRequested()
PieChart
NetworkInfo
48. The helper method is used to create the final width and height values.
resolveSizeAndState()
Account Manager
Activity
Wi-Fi radio
49. This is the main class through which your application can access location services on Android.
BatteryManager
LocationManager
Emulator
View
50. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
LTE
EXTRA_STREAM
BroadcastReceiver
Serialize