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 minimal energy state during which no network connection is active or required.
Account
BatteryManager
virtual table
Standby
2. Where Android is currently primarily developed
Google
onSearchRequested()
PackageManager
Layouts
3. It doesn't currently support the <merge/> tag in the layouts to be inflated.
LTE
Account Manager
ViewStub
ACTION_DOCK_EVENT
4. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
ShareActionProvider
resolveSizeAndState()
visible
onCreate() - onDestroy()
5. Conversion of an object to XML
PieChart
Explicit intent
ETC1
Serialize
6. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
ConnectivityManager
BroadcastReceiver
resolveSizeAndState()
Linux based
7. The industry standard way to deal with authentication to third-party services.
onStart() - onStop()
Full power
Open Handset Alliance
OAuth2 protocol
8. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
Activity
virtual table
Activity
Implicit intent
9. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
OnCurrentItemChanged
Android SDK
Google Play
SurfaceView
10. 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 _____
onResume();
Android SDK
Stack
onCreate() - onDestroy()
11. This class is the basis for handling flywheel-style fling gestures.
Scroller
onDestroy();
BroadcastReceiver
Full power
12. This is a readable source of bytes.
InputStream
Account Manager
ShareActionProvider
LocationManager
13. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
ViewStub
onStart() - onStop()
Ducking
AsyncTask
14. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
AsyncTask
BatteryManager
View
onStop();
15. Callback method: The activity is being created.
onCreate();
visible
LTE
authenticator class
16. 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.
EXTRA_STREAM
OAuth2
HTTP
visible
17. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
ValueAnimator
auth scope
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
AsyncTask
18. An open source stand alone database
Linux based
SQLite
setContentView
Intent filters
19. It provides a simple way to perform your work outside the main thread.
Activity
GestureDetector
AsyncTask
Paint
20. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
NetworkInfo
isConnected()
Entire
Hierarchy Viewer
21. This class exposes a number of methods for applications to receive location updates.
Service Content Provider
Objects Activity lifecycle
security sandbox
LocationManager
22. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
ACTION_SEND
Widgets
AttributeSet
ShareActionProvider
23. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
View
Implicit intent
onCreate();
Canvas
24. Direct component call in Android
Explicit intent
OAuth2 protocol
setContentView
Paint
25. The entire lifetime of an activity happens between the call to _____ and the call to _____
onCreate() - onDestroy()
LocationManager
Standby
onSearchRequested()
26. This widget as an item in the action bar is the preferred way to provide search in your app.
SearchView
Service Content Provider
Parser
onSearchRequested()
27. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
onStop();
AccountAuthenticatorActivity
ShareActionProvider
onCreate() - onDestroy()
28. A service in which programmers can offer their Android application to Android users.
Stack - back stack
View
Google Play
Geocoder
29. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Ducking
Entire
Deserialize
Wi-Fi radio
30. Android request its permission using its ________
AsyncTask
drawText()
AndroidManifest.xml
Paint
31. Shows the actual amount of memory the application uses
Application footprint
XmlPullParser
SQLiteOpenHelper
ACTION_DOCK_EVENT
32. Sharing of data in Android is done via________
SearchView
Standby
Service Content Provider
onAudioFocusChange()
33. This is used to fetch the account names that the user has stored on their device.
ValueAnimator
onAudioFocusChange()
Account Manager
Deserialize
34. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
SQLiteOpenHelper
Stack - back stack
35. This includes tools to help you identify problems in your layout performance.
auth scope
onCreate() - onDestroy()
Android SDK
Component - screen
36. On a rooted device - the credentials would be readable by anyone with this access to the device.
AsyncTask
adb
Advanced Training
ValueAnimator
37. The dock-state details are included as an extra in a sticky broadcast of this action.
ConnectivityManager
Scroller
ACTION_DOCK_EVENT
ViewStub
38. The visible lifetime of an activity happens between the call to ____ and the call to ______
Wi-Fi radio
AsyncTask
searchable configuration
onStart() - onStop()
39. This is the simplest way to monitor device state changes.
Intent filters
Google Cloud Messaging for Android (GCM)
ViewStub
BroadcastReceiver
40. A styleable entity that contains these two custom attributes: showText and labelPosition.
PieChart
Advanced Training
OnCurrentItemChanged
SQLiteOpenHelper
41. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
searchable configuration
LTE
Dots per inch
Implicit intent
42. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Stack - back stack
Account
ConnectivityManager
Serialize
43. This is the main class through which your application can access location services on Android.
Android SDK
Activity
<declare-styleable>
LocationManager
44. Callback method: The activity is no longer visible
Android SDK
SettingsActivity
BatteryManager
onStop();
45. 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.
EXTRA_STREAM
HttpURLConnection
Paint
virtual table
46. The most common way to define a layout using views is with an XML layout file saved in your ______
Application resources
Layouts
Dalvik Debug Monitor Server
Emulator
47. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
ShareActionProvider
virtual table
AudioManager
LTE
48. Once installed on a device - each Android application lives in its own ______
visible
Paint
onStop();
security sandbox
49. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
Standby
getInputStream()
single-pane
Activity
50. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Advanced Training
Layouts
View
Wi-Fi radio