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. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Android SDK
EXTRA_STREAM
Objects Activity lifecycle
Low power
2. Shows the actual amount of memory the application uses
Application footprint
Google Play
HTTP
onResume();
3. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
BatteryManager
isConnected()
LTE
Stack
4. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
ConnectivityManager
searchable configuration
android.hardware.touchscreen
Linux based
5. The dock-state details are included as an extra in a sticky broadcast of this action.
Stack
Canvas
<declare-styleable>
ACTION_DOCK_EVENT
6. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
android.hardware.touchscreen
inflate()
GestureDetector
ViewStub
7. Callback method: The activity is no longer visible.
onStop();
AsyncTask
android.hardware.touchscreen
Objects Activity lifecycle
8. Android request its permission using its ________
AndroidManifest.xml
security sandbox
SQLite
Extensible Markup Language (XML)
9. It is a string that defines the specific type of access your app is asking for.
SecurityException
Destroyed - previous
Implicit intent
auth scope
10. In most cases this will offer greater bandwidth at a significantly lower battery cost.
onCreate() - onDestroy()
InputStream
Wi-Fi radio
When the activity resumes
11. It is available starting with API Level 14 and higher.
ShareActionProvider
onSearchRequested()
Standby
Objects Activity lifecycle
12. Callback method: The activity is being created.
onCreate();
HTTP
PackageManager
AudioManager
13. This class is the basis for handling flywheel-style fling gestures.
GestureDetector
Dots per inch
PieChart
Scroller
14. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
LocationManager
Entire
Advanced Training
Google
15. This is the simplest way to monitor device state changes.
dual-
resolveSizeAndState()
BroadcastReceiver
Explicit intent
16. 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?
AttributeSet
setVolumeControlStream()
SQLiteOpenHelper
Explicit intent
17. The minimal energy state during which no network connection is active or required.
inflate()
Standby
Objects Activity lifecycle
Scroller
18. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
GET_ACCOUNTS
AccountAuthenticatorActivity
inflate()
Full power
19. Use this to draw bitmaps.
OAuth2 protocol
drawBitmap()
Activity
Account
20. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
GestureDetector
Component - screen
Full power
auth scope
21. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
Canvas
Destroyed - previous
AbstractAccountAuthenticator
EXTRA_STREAM
22. The most common way to define a layout using views is with an XML layout file saved in your ______
GestureDetector
onDestroy();
PieChart
Application resources
23. This action is used in sending text content from one activity to another.
ACTION_SEND
AudioManager
Account Manager
LocationManager
24. The entire lifetime of an activity happens between the call to _____ and the call to _____
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
AudioManager
XmlPullParser
onCreate() - onDestroy()
25. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
AudioManager
AsyncTask
Intent filters
Scroller
26. A styleable entity that contains these two custom attributes: showText and labelPosition.
PieChart
Stack - back stack
onDraw()
Standby
27. These helpers are specialized classes for backing up certain kinds of data.
setVolumeControlStream()
HTTP
getInputStream()
BackupHelper
28. This includes tools to help you identify problems in your layout performance.
Wi-Fi radio
visible
Android SDK
Advanced Training
29. 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
searchable configuration
Activity
Layouts
30. Perform background tasks without providing a user interface
Services
Advanced Training
onAudioFocusChange()
HttpURLConnection
31. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
authenticator class
android.hardware.touchscreen
ActionProvider
auth scope
32. The helper method is used to create the final width and height values.
Open Handset Alliance
Component - screen
onAudioFocusChange()
resolveSizeAndState()
33. 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.
Account Manager
ETC1
Full power
BackupHelper
34. Callback method: Another activity is taking focus
onSearchRequested()
NetworkInfo
AccountAuthenticatorActivity
onPause();
35. Sharing of data in Android is done via________
Explicit intent
searchable configuration
Service Content Provider
LTE
36. 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.
AccountAuthenticatorActivity
Service Content Provider
Activity
SettingsActivity
37. 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.
BroadcastReceiver
Fragments
Ducking
GET_ACCOUNTS
38. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
onCreate() - onDestroy()
InputStream
View
39. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
visible
authenticator class
inflate()
Google Cloud Messaging for Android (GCM)
40. This is used to register and de-register your media button event receiver.
AudioManager
setContentView
onStop();
OnCurrentItemChanged
41. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
HTTP
AsyncTask
InputStream
42. To create an activity - you must create a subclass of
Stack - back stack
Activity
ACTION_DOCK_EVENT
onCreate() - onDestroy()
43. If permissions are missing - the application will get this at runtime.
ETC1
GestureDetector
SecurityException
Geocoder
44. A mode where navigation is set up with a spinner widget.
AsyncTask
onAudioFocusChange()
BackupHelper
single-pane
45. Conversion of XML back to an object
ValueAnimator
ACTION_SEND
Account
Deserialize
46. This can be used to draw previews of what the camera sensor is picking up.
SearchView
SurfaceHolder.Callback
SurfaceView
View
47. It is a free service for sending messages to Android devices.
ActionProvider
onResume();
Google Cloud Messaging (GCM)
isConnected()
48. 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.
BroadcastReceiver
Paint
Application footprint
SettingsActivity
49. It doesn't currently support the <merge/> tag in the layouts to be inflated.
ViewStub
setVolumeControlStream()
single-pane
ACTION_SEND
50. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
onCreate();
Lifecycle callback methods
Scroller
Full power