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. Android system uses a special virtual machine to run java based applicatons
InputStream
Dalvik Virtual Machine
authenticator class
drawText()
2. It is a free service for sending messages to Android devices.
drawText()
Scroller
Google Cloud Messaging (GCM)
onSearchRequested()
3. These helpers are specialized classes for backing up certain kinds of data.
Service Content Provider
ACTION_DOCK_EVENT
BroadcastReceiver
BackupHelper
4. This can be used to draw previews of what the camera sensor is picking up.
onResume();
touch
SurfaceView
Lifecycle callback methods
5. Conversion of XML back to an object
Full power
Android SDK
Geocoder
Deserialize
6. A mode where navigation is set up with a spinner widget.
searchable configuration
<declare-styleable>
onCreate() - onDestroy()
single-pane
7. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
virtual table
Standby
searchable configuration
Activity
8. is run when running Android on the pc
BatteryManager
android.hardware.touchscreen
Emulator
HttpURLConnection
9. Most network-connected Android apps use this to send and receive data.
HTTP
AsyncTask
searchable configuration
ValueAnimator
10. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
onPause();
View
Scroller
onStop();
11. Callback method: The activity is about to be destroyed.
onDestroy();
Entire
Application footprint
onStart() - onStop()
12. This is a readable source of bytes.
drawText()
Layouts
InputStream
Linux based
13. It provides a simple way to perform your work outside the main thread.
AsyncTask
isConnected()
onCreate() - onDestroy()
inflate()
14. This broadcasts an action whenever the device is connected or disconnected from power.
AndroidManifest.xml
onCreate();
AbstractAccountAuthenticator
BatteryManager
15. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
Account Manager
BatteryManager
onCreate() - onDestroy()
NetworkInfo
16. In order to get a list of accounts on the device - your app needs this permission.
GET_ACCOUNTS
onPause();
Fragments
Intents
17. This is the simplest way to monitor device state changes.
BroadcastReceiver
setContentView
Paint
Account Manager
18. On a rooted device - the credentials would be readable by anyone with this access to the device.
adb
Advanced Training
security sandbox
Service Content Provider
19. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
Parser
Widgets
onResume();
BroadcastReceiver
20. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Linux based
SQLiteOpenHelper
Service Content Provider
Canvas
21. Callback method: The activity is no longer visible
Activity
Application resources
AsyncTask
onStop();
22. This is used to register and de-register your media button event receiver.
When the activity resumes
AudioManager
setVolumeControlStream()
BroadcastReceiver
23. For example - a ____ might be a button that initiates an action when the user touches it.
View
auth scope
AndroidManifest.xml
PieChart
24. This widget as an item in the action bar is the preferred way to provide search in your app.
SearchView
Scroller
onCreate() - onDestroy()
Dalvik Virtual Machine
25. The dock-state details are included as an extra in a sticky broadcast of this action.
visible
Scroller
ACTION_DOCK_EVENT
Google
26. Whenever the device is docked or undocked - this action is broadcast.
OnCurrentItemChanged
BroadcastReceiver
Stack
ACTION_DOCK_EVENT
27. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
PieChart
ConnectivityManager
Standby
onStart() - onStop()
28. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
Android SDK
Linux based
Dots per inch
inflate()
29. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Wi-Fi radio
Extensible Markup Language (XML)
Activity
Google Cloud Messaging for Android (GCM)
30. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
getInputStream()
auth scope
searchable configuration
Widgets
31. The visible lifetime of an activity happens between the call to ____ and the call to ______
Component - screen
<declare-styleable>
ValueAnimator
onStart() - onStop()
32. It is a string that defines the specific type of access your app is asking for.
Scroller
auth scope
ConnectivityManager
Activity
33. Amode where the action bar is set up with tabs for navigation.
onStop();
EXTRA_STREAM
dual-
virtual table
34. 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.
Paint
onCreate();
EXTRA_STREAM
Deserialize
35. Sharing of data in Android is done via________
Service Content Provider
View
Activity
PackageManager
36. The helper method is used to create the final width and height values.
ViewStub
Application resources
Implicit intent
resolveSizeAndState()
37. It is called to invoke the search dialog on older devices.
Ducking
onDestroy();
onSearchRequested()
GET_ACCOUNTS
38. Once installed on a device - each Android application lives in its own ______
security sandbox
Dots per inch
Scroller
<declare-styleable>
39. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
Scroller
SecurityException
BroadcastReceiver
visible
40. It is an efficient and maintainable way to parse XML on Android.
NetworkInfo
BroadcastReceiver
Linux based
XmlPullParser
41. This class is the basis for handling flywheel-style fling gestures.
LTE
SearchView
onCreate() - onDestroy()
Scroller
42. 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()
PackageManager
SearchView
Standby
43. It is a set of rules for encoding documents in machine-readable form.
auth scope
Extensible Markup Language (XML)
LocationManager
authenticator class
44. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
onCreate() - onDestroy()
security sandbox
ACTION_DOCK_EVENT
AccountAuthenticatorActivity
45. You can set the layout as the UI for your activity with passing the resource ID for the layout.
Entire
When the activity resumes
Application footprint
setContentView
46. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
OAuth2 protocol
Standby
Objects Activity lifecycle
touch
47. Callback method: The activity has become visible.
onResume();
Parser
PieChart
AsyncTask
48. 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?
<declare-styleable>
Activity
AttributeSet
onDraw()
49. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
When the activity resumes
Geocoder
PackageManager
Account Manager
50. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Account Manager
Entire
Scroller
<declare-styleable>