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 is an efficient and maintainable way to parse XML on Android.
ActionProvider
AccountAuthenticatorActivity
Google
XmlPullParser
2. Callback method: The activity is no longer visible.
Emulator
SearchView
Advanced Training
onStop();
3. 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.
Widgets
Hierarchy Viewer
OAuth2
onDestroy();
4. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Open Handset Alliance
ETC1
visible
5. This class is the basis for handling flywheel-style fling gestures.
onStop();
Extensible Markup Language (XML)
Account Manager
Scroller
6. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Google Cloud Messaging for Android (GCM)
Dalvik Virtual Machine
onCreate() - onDestroy()
single-pane
7. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
Activity
BroadcastReceiver
isConnected()
setContentView
8. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
Full power
onSearchRequested()
BatteryManager
View
9. 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
Full power
inflate()
onDestroy();
10. Direct component call in Android
HTTP
authenticator class
virtual table
Explicit intent
11. On a rooted device - the credentials would be readable by anyone with this access to the device.
auth scope
adb
Android SDK
Google Cloud Messaging (GCM)
12. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
EXTRA_STREAM
Destroyed - previous
onAudioFocusChange()
SQLiteOpenHelper
13. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
Widgets
NetworkInfo
Google Play
Intents
14. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
security sandbox
Geocoder
PieChart
Service Content Provider
15. This is used for the need of finer control over your view's layout parameters.
onMeasure()
onStop();
SQLiteOpenHelper
onCreate();
16. Callback method: The activity has become visible.
onResume();
OAuth2 protocol
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Linux based
17. This widget as an item in the action bar is the preferred way to provide search in your app.
Parser
Extensible Markup Language (XML)
BatteryManager
SearchView
18. This is an interface which is used to pass image data from the camera hardware to the application.
onSearchRequested()
SurfaceHolder.Callback
Application resources
ViewStub
19. 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?
Dalvik Debug Monitor Server
EXTRA_STREAM
Stack
AsyncTask
20. Most network-connected Android apps use this to send and receive data.
HTTP
Account Manager
LocationManager
Open Handset Alliance
21. This class exposes a number of methods for applications to receive location updates.
Layouts
When the activity resumes
onDraw()
LocationManager
22. 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
onCreate() - onDestroy()
searchable configuration
Canvas
PackageManager
23. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
ViewStub
onSearchRequested()
BackupHelper
When the activity resumes
24. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
searchable configuration
Advanced Training
SecurityException
Extensible Markup Language (XML)
25. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Entire
SQLiteOpenHelper
onSearchRequested()
Back stack
26. The helper method is used to create the final width and height values.
resolveSizeAndState()
Google
Intents
EXTRA_STREAM
27. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
getInputStream()
LocationManager
SurfaceHolder.Callback
Android SDK
28. The visible lifetime of an activity happens between the call to ____ and the call to ______
onStart() - onStop()
Android SDK
SQLite
SettingsActivity
29. This is set up to animate for the duration of the fling.
ValueAnimator
GestureDetector
PackageManager
Low power
30. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
drawText()
BatteryManager
SQLite
Stack
31. Perform background tasks without providing a user interface
Services
onStop();
SearchView
XmlPullParser
32. It is a free service for sending messages to Android devices.
onSearchRequested()
Google Cloud Messaging (GCM)
SurfaceView
BackupHelper
33. Android system uses a special virtual machine to run java based applicatons
onResume();
Dalvik Virtual Machine
Open Handset Alliance
Widgets
34. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
<declare-styleable>
Google Play
onPause();
LTE
35. Conversion of an object to XML
onMeasure()
security sandbox
Account Manager
Serialize
36. Converts XML Document to XML DOM
View
Parser
Dots per inch
Open Handset Alliance
37. Theseare a key part of Android applications that directly affect the user experience.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Canvas
Layouts
XmlPullParser
38. ______ are views derived from ViewGroup that provide a unique layout model for its child views
BroadcastReceiver
ACTION_DOCK_EVENT
AudioManager
Layouts
39. To define custom attributes - add this resources to your project.
<declare-styleable>
Serialize
BatteryManager
ETC1
40. These helpers are specialized classes for backing up certain kinds of data.
onDraw()
Dots per inch
BackupHelper
onDestroy();
41. In order to get a list of accounts on the device - your app needs this permission.
Android SDK
GET_ACCOUNTS
onSearchRequested()
ACTION_DOCK_EVENT
42. This broadcasts an action whenever the device is connected or disconnected from power.
Android SDK
BatteryManager
Dots per inch
AbstractAccountAuthenticator
43. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Dalvik Debug Monitor Server
onDraw()
View
ACTION_DOCK_EVENT
44. Represents the visual representation of an Android application
SurfaceView
Dalvik Virtual Machine
Google
Activity
45. Callback method: The activity is no longer visible
Entire
Account
onStop();
virtual table
46. This object contains an account name - which for Google accounts is an email address.
ACTION_SEND
Dalvik Virtual Machine
security sandbox
Account
47. An _______ is an application component that provides a screen with which users can interact in order to do something - such as dial the phone - take a photo - send an email - or view a map.
Canvas
Activity
Back stack
BatteryManager
48. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
HttpURLConnection
AudioManager
Scroller
EXTRA_STREAM
49. Relative to pixels and resolution screen
Dots per inch
OAuth2 protocol
Entire
touch
50. This can be used to draw previews of what the camera sensor is picking up.
onAudioFocusChange()
SurfaceView
Back stack
OnCurrentItemChanged