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. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Intents
SettingsActivity
Widgets
dual-
2. It is a free service for sending messages to Android devices.
SearchView
SQLite
ValueAnimator
Google Cloud Messaging (GCM)
3. 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?
touch
EXTRA_STREAM
GestureDetector
Fragments
4. This class provides one of the simplest ways to fire off a new task from the UI thread.
AsyncTask
Application resources
ViewStub
ConnectivityManager
5. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
android.hardware.touchscreen
onCreate() - onDestroy()
HTTP
ACTION_DOCK_EVENT
6. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Account
Geocoder
SecurityException
ConnectivityManager
7. 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.
ACTION_SEND
OAuth2
SQLiteOpenHelper
Standby
8. An open source stand alone database
Stack - back stack
Serialize
SQLite
Google Play
9. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
Wi-Fi radio
onDraw()
getInputStream()
isConnected()
10. Conversion of an object to XML
OAuth2
BackupHelper
Serialize
Extensible Markup Language (XML)
11. The minimal energy state during which no network connection is active or required.
onResume();
GestureDetector
Standby
SearchView
12. It inform the system what intents an application component is willing to accept.
ACTION_DOCK_EVENT
Intent filters
Account Manager
View
13. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
onDestroy();
SecurityException
PackageManager
onDraw()
14. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Lifecycle callback methods
BatteryManager
Paint
ConnectivityManager
15. Necessary tools to develop Android applications
Entire
AndroidManifest.xml
Wi-Fi radio
Android SDK
16. When a new activity starts - it is pushed onto the ____ and takes user focus.
searchable configuration
OnCurrentItemChanged
Hierarchy Viewer
Back stack
17. Represents the visual representation of an Android application
Activity
onResume();
ViewStub
onDraw()
18. Most network-connected Android apps use this to send and receive data.
Dots per inch
AccountAuthenticatorActivity
HTTP
Google Cloud Messaging (GCM)
19. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
isConnected()
Implicit intent
AbstractAccountAuthenticator
SurfaceHolder.Callback
20. It is called to invoke the search dialog on older devices.
searchable configuration
touch
onSearchRequested()
Component - screen
21. Callback method: Another activity is taking focus
AsyncTask
Activity
setVolumeControlStream()
onPause();
22. To create an activity - you must create a subclass of
touch
When the activity resumes
ACTION_SEND
Activity
23. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
LocationManager
setVolumeControlStream()
onPause();
ConnectivityManager
24. Whenever the device is docked or undocked - this action is broadcast.
ACTION_DOCK_EVENT
HttpURLConnection
Canvas
onResume();
25. A mode where navigation is set up with a spinner widget.
ETC1
single-pane
SearchView
Hierarchy Viewer
26. This is the simplest way to monitor device state changes.
BroadcastReceiver
drawBitmap()
onPause();
Dots per inch
27. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Full power
visible
Activity
security sandbox
28. This can be used to draw previews of what the camera sensor is picking up.
LocationManager
onDraw()
SurfaceView
android.hardware.touchscreen
29. This is an interface which is used to pass image data from the camera hardware to the application.
SurfaceHolder.Callback
authenticator class
SurfaceView
HTTP
30. This is the main class through which your application can access location services on Android.
Activity
LocationManager
android.hardware.touchscreen
auth scope
31. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Stack - back stack
<declare-styleable>
authenticator class
When the activity resumes
32. To define custom attributes - add this resources to your project.
dual-
Lifecycle callback methods
Google Play
<declare-styleable>
33. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Entire
Emulator
Service Content Provider
Android SDK
34. Android request its permission using its ________
drawBitmap()
AndroidManifest.xml
Google Cloud Messaging for Android (GCM)
Fragments
35. Use this to draw text.
Extensible Markup Language (XML)
XmlPullParser
drawText()
Application footprint
36. Use this to draw bitmaps.
AttributeSet
drawBitmap()
Application footprint
ValueAnimator
37. On a rooted device - the credentials would be readable by anyone with this access to the device.
AsyncTask
adb
BroadcastReceiver
ShareActionProvider
38. is run when running Android on the pc
ViewStub
Stack
OAuth2 protocol
Emulator
39. This is a readable source of bytes.
InputStream
AccountAuthenticatorActivity
Layouts
SearchView
40. 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.
onDraw()
SearchView
onMeasure()
authenticator class
41. These helpers are specialized classes for backing up certain kinds of data.
OAuth2 protocol
BackupHelper
Hierarchy Viewer
getInputStream()
42. 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.
Deserialize
Paint
Objects Activity lifecycle
Account
43. This class is the basis for handling flywheel-style fling gestures.
onCreate() - onDestroy()
Scroller
Android SDK
SearchView
44. You can set the layout as the UI for your activity with passing the resource ID for the layout.
Dots per inch
setContentView
onStop();
SearchView
45. Shows the actual amount of memory the application uses
ViewStub
Application footprint
onStop();
Stack - back stack
46. This includes tools to help you identify problems in your layout performance.
Dalvik Debug Monitor Server
Back stack
Activity
Android SDK
47. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
Google Cloud Messaging for Android (GCM)
Objects Activity lifecycle
NetworkInfo
BroadcastReceiver
48. This is the most common input event in the Android system.
touch
AsyncTask
authenticator class
onMeasure()
49. An intermediate state that uses around 50% of the battery power at the full state.
Low power
ValueAnimator
adb
Lifecycle callback methods
50. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
ActionProvider
Dalvik Debug Monitor Server
onCreate() - onDestroy()
Parser