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. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
single-pane
BroadcastReceiver
ActionProvider
drawBitmap()
2. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
When the activity resumes
onDraw()
LTE
Services
3. This is the simplest way to monitor device state changes.
ViewStub
BroadcastReceiver
Objects Activity lifecycle
Google Cloud Messaging (GCM)
4. The industry standard way to deal with authentication to third-party services.
OAuth2 protocol
EXTRA_STREAM
XmlPullParser
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
5. Sharing of data in Android is done via________
AbstractAccountAuthenticator
Service Content Provider
OAuth2 protocol
SQLite
6. This class is the basis for handling flywheel-style fling gestures.
ACTION_DOCK_EVENT
Linux based
Scroller
OAuth2 protocol
7. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
touch
ViewStub
SQLiteOpenHelper
ACTION_DOCK_EVENT
8. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Widgets
LTE
Stack - back stack
setContentView
9. Evaluation of registered components
onPause();
ValueAnimator
Implicit intent
ACTION_DOCK_EVENT
10. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
NetworkInfo
onStop();
Component - screen
Dalvik Virtual Machine
11. If permissions are missing - the application will get this at runtime.
SurfaceHolder.Callback
SecurityException
auth scope
BatteryManager
12. Binary data is shared using the ACTION_SEND action combined with setting the appropriate MIME type and placing the URI to the data in an extra named called?
OAuth2
onCreate() - onDestroy()
AttributeSet
EXTRA_STREAM
13. It is an efficient and maintainable way to parse XML on Android.
XmlPullParser
LocationManager
Entire
Standby
14. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
onDestroy();
BatteryManager
Application resources
View
15. When a new activity starts - it is pushed onto the ____ and takes user focus.
EXTRA_STREAM
AbstractAccountAuthenticator
Back stack
SQLite
16. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
setVolumeControlStream()
ValueAnimator
Entire
onStart() - onStop()
17. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Objects Activity lifecycle
Geocoder
ConnectivityManager
android.hardware.touchscreen
18. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Wi-Fi radio
Activity
AsyncTask
Destroyed - previous
19. It is called to invoke the search dialog on older devices.
onSearchRequested()
Stack
LTE
Lifecycle callback methods
20. is run when running Android on the pc
Emulator
GestureDetector
Entire
onDraw()
21. An open source stand alone database
LTE
ActionProvider
Ducking
SQLite
22. Relative to pixels and resolution screen
Android SDK
Ducking
Dots per inch
setContentView
23. An open source group led by Google
Open Handset Alliance
Extensible Markup Language (XML)
Back stack
onDraw()
24. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
Intents
Android SDK
When the activity resumes
OnCurrentItemChanged
25. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
searchable configuration
Extensible Markup Language (XML)
Service Content Provider
When the activity resumes
26. This is used for the need of finer control over your view's layout parameters.
ActionProvider
onMeasure()
isConnected()
HttpURLConnection
27. Shows the actual amount of memory the application uses
Application footprint
inflate()
Canvas
<declare-styleable>
28. Conversion of XML back to an object
Google
Deserialize
Extensible Markup Language (XML)
SecurityException
29. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Entire
onSearchRequested()
Activity
OnCurrentItemChanged
30. Whenever the device is docked or undocked - this action is broadcast.
touch
ACTION_DOCK_EVENT
AccountAuthenticatorActivity
getInputStream()
31. Where Android is currently primarily developed
onPause();
Application resources
Google
BroadcastReceiver
32. This is used to convert raw touch events into gestures.
dual-
SurfaceHolder.Callback
ConnectivityManager
GestureDetector
33. This is used to fetch the account names that the user has stored on their device.
Wi-Fi radio
ViewStub
Activity
Account Manager
34. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
auth scope
Full power
onCreate() - onDestroy()
ViewStub
35. ______ are views derived from ViewGroup that provide a unique layout model for its child views
onPause();
Layouts
getInputStream()
onAudioFocusChange()
36. Android provides this handy method to direct volume key presses to the audio stream the user specify.
onSearchRequested()
visible
Canvas
setVolumeControlStream()
37. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
onMeasure()
ACTION_DOCK_EVENT
drawBitmap()
Hierarchy Viewer
38. Most network-connected Android apps use this to send and receive data.
HTTP
Paint
onStop();
authenticator class
39. 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.
Lifecycle callback methods
Layouts
Ducking
onResume();
40. To define custom attributes - add this resources to your project.
LocationManager
<declare-styleable>
authenticator class
AccountAuthenticatorActivity
41. It made implementing an effective and user friendly share action in your ActionBar even easier.
Objects Activity lifecycle
ActionProvider
GestureDetector
onCreate() - onDestroy()
42. You can set the layout as the UI for your activity with passing the resource ID for the layout.
setContentView
When the activity resumes
BackupHelper
AsyncTask
43. 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.
Hierarchy Viewer
android.hardware.touchscreen
SearchView
Intents
44. These helpers are specialized classes for backing up certain kinds of data.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
AccountAuthenticatorActivity
BackupHelper
OAuth2 protocol
45. Converts XML Document to XML DOM
SQLiteOpenHelper
Fragments
Parser
OnCurrentItemChanged
46. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
GestureDetector
onAudioFocusChange()
PackageManager
47. Necessary tools to develop Android applications
ActionProvider
auth scope
Android SDK
Google
48. This is the main class through which your application can access location services on Android.
Stack
AndroidManifest.xml
Open Handset Alliance
LocationManager
49. This is used to register and de-register your media button event receiver.
<declare-styleable>
Destroyed - previous
AudioManager
isConnected()
50. It is a set of rules for encoding documents in machine-readable form.
drawBitmap()
Extensible Markup Language (XML)
Services
EXTRA_STREAM