SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
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. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
Account Manager
ShareActionProvider
BroadcastReceiver
onDraw()
2. A styleable entity that contains these two custom attributes: showText and labelPosition.
PieChart
setContentView
Advanced Training
OAuth2
3. It is a free service for sending messages to Android devices.
Google Cloud Messaging (GCM)
android.hardware.touchscreen
Activity
Google Play
4. This is used to convert raw touch events into gestures.
BatteryManager
<declare-styleable>
InputStream
GestureDetector
5. On a rooted device - the credentials would be readable by anyone with this access to the device.
Lifecycle callback methods
adb
LTE
onStart() - onStop()
6. The entire lifetime of an activity happens between the call to _____ and the call to _____
single-pane
GestureDetector
AndroidManifest.xml
onCreate() - onDestroy()
7. It is a string that defines the specific type of access your app is asking for.
auth scope
dual-
android.hardware.touchscreen
LocationManager
8. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
AsyncTask
Fragments
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Destroyed - previous
9. Callback method: The activity is being created.
onCreate();
When the activity resumes
ConnectivityManager
View
10. An intermediate state that uses around 50% of the battery power at the full state.
Dalvik Virtual Machine
onCreate() - onDestroy()
android.hardware.touchscreen
Low power
11. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
onDraw()
AudioManager
Extensible Markup Language (XML)
Objects Activity lifecycle
12. This is a readable source of bytes.
Android SDK
Service Content Provider
GET_ACCOUNTS
InputStream
13. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
dual-
LocationManager
SurfaceView
Objects Activity lifecycle
14. 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?
OAuth2 protocol
ValueAnimator
AttributeSet
Deserialize
15. It is a set of rules for encoding documents in machine-readable form.
BroadcastReceiver
PieChart
getInputStream()
Extensible Markup Language (XML)
16. The helper method is used to create the final width and height values.
resolveSizeAndState()
ViewStub
ViewStub
inflate()
17. This includes tools to help you identify problems in your layout performance.
Android SDK
AudioManager
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
OnCurrentItemChanged
18. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Activity
SettingsActivity
virtual table
SQLiteOpenHelper
19. It is used to load images in a background thread - then apply them to the UI once finished.
BackupHelper
AsyncTask
ViewStub
BroadcastReceiver
20. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
AudioManager
searchable configuration
resolveSizeAndState()
onCreate() - onDestroy()
21. It inform the system what intents an application component is willing to accept.
Explicit intent
AsyncTask
Intent filters
auth scope
22. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
AttributeSet
Activity
isConnected()
GET_ACCOUNTS
23. This object contains an account name - which for Google accounts is an email address.
Account
Geocoder
touch
onAudioFocusChange()
24. 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
Ducking
ETC1
OAuth2 protocol
25. Evaluation of registered components
GET_ACCOUNTS
touch
Fragments
Implicit intent
26. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
drawBitmap()
Destroyed - previous
Full power
Back stack
27. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
onCreate();
AsyncTask
Scroller
LTE
28. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Layouts
Account
Ducking
authenticator class
29. This is used to register and de-register your media button event receiver.
Component - screen
ACTION_DOCK_EVENT
Deserialize
AudioManager
30. Theseare a key part of Android applications that directly affect the user experience.
visible
OnCurrentItemChanged
Low power
Layouts
31. You can set the layout as the UI for your activity with passing the resource ID for the layout.
resolveSizeAndState()
AbstractAccountAuthenticator
Intents
setContentView
32. 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.
Linux based
ViewStub
Deserialize
SearchView
33. This can be used to draw previews of what the camera sensor is picking up.
Activity
GET_ACCOUNTS
SurfaceView
Google Cloud Messaging for Android (GCM)
34. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Hierarchy Viewer
adb
Android SDK
Emulator
35. Android is __________.
Linux based
Objects Activity lifecycle
resolveSizeAndState()
Emulator
36. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
XmlPullParser
<declare-styleable>
Widgets
Canvas
37. Once installed on a device - each Android application lives in its own ______
security sandbox
Dots per inch
getInputStream()
BroadcastReceiver
38. 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.
onCreate() - onDestroy()
Ducking
onResume();
Component - screen
39. This class exposes a number of methods for applications to receive location updates.
Full power
LocationManager
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
AsyncTask
40. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Stack - back stack
Google Play
PieChart
onStop();
41. Direct component call in Android
onAudioFocusChange()
LocationManager
onCreate() - onDestroy()
Explicit intent
42. This is used to check that you're actually connected to the Internet and what type of connection is in place.
SQLite
ConnectivityManager
Service Content Provider
Canvas
43. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
Dalvik Virtual Machine
BatteryManager
ViewStub
Stack
44. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
Stack - back stack
Entire
searchable configuration
Implicit intent
45. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Android SDK
Layouts
OnCurrentItemChanged
Widgets
46. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Scroller
XmlPullParser
SearchView
ConnectivityManager
47. These helpers are specialized classes for backing up certain kinds of data.
Google Cloud Messaging for Android (GCM)
AsyncTask
ViewStub
BackupHelper
48. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
Android SDK
dual-
AsyncTask
View
49. If permissions are missing - the application will get this at runtime.
onPause();
BackupHelper
Paint
SecurityException
50. To define custom attributes - add this resources to your project.
setContentView
<declare-styleable>
InputStream
Open Handset Alliance