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. 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.
AccountAuthenticatorActivity
<declare-styleable>
OAuth2
onStop();
2. Sharing of data in Android is done via________
Stack - back stack
Implicit intent
Google Cloud Messaging (GCM)
Service Content Provider
3. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
AccountAuthenticatorActivity
Activity
AttributeSet
setVolumeControlStream()
4. 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?
onPause();
onResume();
onStop();
EXTRA_STREAM
5. For example - if your activity has a thread running in the background to download data from the network - it might create that thread in _____ and then stop the thread in _____
onCreate() - onDestroy()
Full power
NetworkInfo
onSearchRequested()
6. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
getInputStream()
Full power
onCreate();
single-pane
7. A service in which programmers can offer their Android application to Android users.
EXTRA_STREAM
Google Play
setContentView
Dalvik Debug Monitor Server
8. This class is the basis for handling flywheel-style fling gestures.
Destroyed - previous
onMeasure()
Scroller
OAuth2 protocol
9. Are used in activities to create the user interface and to interact with the user.
Implicit intent
HttpURLConnection
Fragments
single-pane
10. This is an interface which is used to pass image data from the camera hardware to the application.
LTE
SurfaceHolder.Callback
onCreate() - onDestroy()
AsyncTask
11. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Hierarchy Viewer
EXTRA_STREAM
resolveSizeAndState()
Ducking
12. These helpers are specialized classes for backing up certain kinds of data.
onCreate() - onDestroy()
onDestroy();
Layouts
BackupHelper
13. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
SearchView
Intent filters
ViewStub
Serialize
14. To define custom attributes - add this resources to your project.
ETC1
<declare-styleable>
resolveSizeAndState()
SearchView
15. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
inflate()
EXTRA_STREAM
Canvas
Dalvik Debug Monitor Server
16. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
ConnectivityManager
Objects Activity lifecycle
Stack - back stack
dual-
17. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
Scroller
isConnected()
Destroyed - previous
Standby
18. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
inflate()
Advanced Training
Activity
Implicit intent
19. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
Paint
virtual table
Widgets
AttributeSet
20. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Hierarchy Viewer
android.hardware.touchscreen
Component - screen
Wi-Fi radio
21. Shows the actual amount of memory the application uses
LTE
AsyncTask
Application footprint
SearchView
22. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
OnCurrentItemChanged
isConnected()
Widgets
dual-
23. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Scroller
AttributeSet
Layouts
inflate()
24. Use this to draw text.
touch
Destroyed - previous
drawText()
Paint
25. This broadcasts an action whenever the device is connected or disconnected from power.
BatteryManager
SettingsActivity
Canvas
Google
26. Relative to pixels and resolution screen
ETC1
Dots per inch
drawBitmap()
onResume();
27. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Services
Layouts
Google Cloud Messaging for Android (GCM)
SearchView
28. Evaluation of registered components
<declare-styleable>
auth scope
HTTP
Implicit intent
29. This is used to convert raw touch events into gestures.
GestureDetector
OnCurrentItemChanged
resolveSizeAndState()
Android SDK
30. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Activity
View
Wi-Fi radio
OnCurrentItemChanged
31. It is used to load images in a background thread - then apply them to the UI once finished.
Standby
AsyncTask
ValueAnimator
Implicit intent
32. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
onCreate() - onDestroy()
HttpURLConnection
Implicit intent
Canvas
33. 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
drawBitmap()
searchable configuration
onSearchRequested()
34. It doesn't currently support the <merge/> tag in the layouts to be inflated.
Standby
Geocoder
ViewStub
SQLiteOpenHelper
35. When a new activity starts - it is pushed onto the ____ and takes user focus.
BackupHelper
adb
virtual table
Back stack
36. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
drawBitmap()
Deserialize
View
adb
37. Converts XML Document to XML DOM
Component - screen
Parser
ACTION_SEND
Layouts
38. Where Android is currently primarily developed
Serialize
ACTION_DOCK_EVENT
View
Google
39. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
Component - screen
onMeasure()
drawText()
AbstractAccountAuthenticator
40. This class exposes a number of methods for applications to receive location updates.
SecurityException
LocationManager
Hierarchy Viewer
Application footprint
41. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
visible
ActionProvider
ETC1
dual-
42. Callback method: The activity is being created.
authenticator class
onCreate();
Serialize
Widgets
43. The entire lifetime of an activity happens between the call to _____ and the call to _____
OAuth2
onCreate() - onDestroy()
GestureDetector
Application resources
44. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
searchable configuration
GET_ACCOUNTS
Parser
authenticator class
45. The visible lifetime of an activity happens between the call to ____ and the call to ______
OAuth2
onStart() - onStop()
adb
HttpURLConnection
46. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Layouts
BatteryManager
Full power
onCreate();
47. Android request its permission using its ________
Stack - back stack
ACTION_DOCK_EVENT
AndroidManifest.xml
isConnected()
48. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
SearchView
Hierarchy Viewer
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
HTTP
49. An open source stand alone database
ActionProvider
SQLite
single-pane
android.hardware.touchscreen
50. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Canvas
onDraw()
AsyncTask
Stack