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. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
SearchView
Hierarchy Viewer
XmlPullParser
Fragments
2. Callback method: Another activity is taking focus
inflate()
Standby
PieChart
onPause();
3. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
onDraw()
inflate()
BatteryManager
Ducking
4. This class exposes a number of methods for applications to receive location updates.
Full power
LTE
setContentView
LocationManager
5. This is the simplest way to monitor device state changes.
Deserialize
BroadcastReceiver
single-pane
BatteryManager
6. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
AudioManager
Google Cloud Messaging for Android (GCM)
Dalvik Debug Monitor Server
Entire
7. This is used to convert raw touch events into gestures.
GestureDetector
onStop();
Parser
Explicit intent
8. 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.
OAuth2 protocol
Google Cloud Messaging (GCM)
BroadcastReceiver
Paint
9. Shows the actual amount of memory the application uses
LTE
Application footprint
Dots per inch
resolveSizeAndState()
10. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
ConnectivityManager
isConnected()
Open Handset Alliance
Extensible Markup Language (XML)
11. Perform background tasks without providing a user interface
onDraw()
Services
auth scope
ACTION_DOCK_EVENT
12. The most common way to define a layout using views is with an XML layout file saved in your ______
Application resources
LocationManager
SecurityException
ConnectivityManager
13. 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?
Geocoder
AttributeSet
AccountAuthenticatorActivity
authenticator class
14. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Advanced Training
GestureDetector
AsyncTask
ACTION_SEND
15. For example - a ____ might be a button that initiates an action when the user touches it.
PieChart
View
Scroller
Account
16. On a rooted device - the credentials would be readable by anyone with this access to the device.
AudioManager
onCreate() - onDestroy()
virtual table
adb
17. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
Intents
BroadcastReceiver
EXTRA_STREAM
onCreate() - onDestroy()
18. It is called to invoke the search dialog on older devices.
Google
drawBitmap()
onSearchRequested()
ETC1
19. 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.
ACTION_SEND
Account
Ducking
BackupHelper
20. Conversion of XML back to an object
onDestroy();
Services
Layouts
Deserialize
21. 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.
onCreate() - onDestroy()
OAuth2
Explicit intent
PieChart
22. It is available starting with API Level 14 and higher.
HTTP
ShareActionProvider
InputStream
Fragments
23. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
Activity
getInputStream()
onStop();
PieChart
24. It doesn't currently support the <merge/> tag in the layouts to be inflated.
Extensible Markup Language (XML)
AsyncTask
ViewStub
Services
25. The dock-state details are included as an extra in a sticky broadcast of this action.
Activity
security sandbox
onCreate() - onDestroy()
ACTION_DOCK_EVENT
26. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
Layouts
onAudioFocusChange()
drawText()
touch
27. Use this to draw bitmaps.
drawBitmap()
Full power
Services
resolveSizeAndState()
28. Callback method: The activity is about to be destroyed.
onDestroy();
isConnected()
Extensible Markup Language (XML)
AttributeSet
29. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
AudioManager
Google Cloud Messaging for Android (GCM)
Lifecycle callback methods
BatteryManager
30. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
Account Manager
Google Cloud Messaging for Android (GCM)
Service Content Provider
When the activity resumes
31. Relative to pixels and resolution screen
BackupHelper
searchable configuration
Dots per inch
Entire
32. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
PieChart
AttributeSet
BroadcastReceiver
onDraw()
33. When a new activity starts - it is pushed onto the ____ and takes user focus.
resolveSizeAndState()
OAuth2
Back stack
Intent filters
34. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
onSearchRequested()
android.hardware.touchscreen
BroadcastReceiver
ACTION_DOCK_EVENT
35. These helpers are specialized classes for backing up certain kinds of data.
BackupHelper
OAuth2
Geocoder
setVolumeControlStream()
36. 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
InputStream
PackageManager
Component - screen
ShareActionProvider
37. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
SQLiteOpenHelper
Wi-Fi radio
Activity
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
38. Callback method: The activity is no longer visible
onStop();
ETC1
single-pane
Stack - back stack
39. Android system uses a special virtual machine to run java based applicatons
Android SDK
LocationManager
NetworkInfo
Dalvik Virtual Machine
40. This is set up to animate for the duration of the fling.
ValueAnimator
AsyncTask
OAuth2 protocol
visible
41. Amode where the action bar is set up with tabs for navigation.
Service Content Provider
dual-
Emulator
HttpURLConnection
42. This is an interface which is used to pass image data from the camera hardware to the application.
Widgets
AudioManager
SurfaceHolder.Callback
Implicit intent
43. Callback method: The activity is no longer visible.
BroadcastReceiver
Google Play
onStop();
SecurityException
44. Are used in activities to create the user interface and to interact with the user.
Fragments
onCreate() - onDestroy()
setVolumeControlStream()
Geocoder
45. The industry standard way to deal with authentication to third-party services.
Service Content Provider
AndroidManifest.xml
OAuth2 protocol
SearchView
46. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
authenticator class
onPause();
HttpURLConnection
visible
47. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
drawBitmap()
Layouts
Dots per inch
ViewStub
48. Where Android is currently primarily developed
Component - screen
Google
Standby
When the activity resumes
49. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
LocationManager
Explicit intent
OAuth2
LTE
50. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
<declare-styleable>
adb
searchable configuration
Scroller