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 available starting with API Level 14 and higher.
Activity
ShareActionProvider
Services
Google Cloud Messaging (GCM)
2. 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?
Implicit intent
SearchView
XmlPullParser
EXTRA_STREAM
3. These helpers are specialized classes for backing up certain kinds of data.
Linux based
AccountAuthenticatorActivity
BackupHelper
Serialize
4. It is a subclass of PreferenceActivity.
AndroidManifest.xml
HttpURLConnection
SettingsActivity
Activity
5. 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.
Entire
GET_ACCOUNTS
AndroidManifest.xml
Activity
6. This class provides one of the simplest ways to fire off a new task from the UI thread.
ValueAnimator
AsyncTask
BatteryManager
setContentView
7. Sharing of data in Android is done via________
OAuth2 protocol
Stack - back stack
Activity
Service Content Provider
8. Once installed on a device - each Android application lives in its own ______
security sandbox
Dalvik Debug Monitor Server
Account
View
9. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Entire
Dots per inch
OnCurrentItemChanged
Dalvik Virtual Machine
10. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
dual-
OnCurrentItemChanged
Account Manager
AbstractAccountAuthenticator
11. This widget as an item in the action bar is the preferred way to provide search in your app.
onStop();
SearchView
Account
Implicit intent
12. is run when running Android on the pc
onMeasure()
Google
Emulator
SearchView
13. You can set the layout as the UI for your activity with passing the resource ID for the layout.
BackupHelper
setContentView
Activity
ValueAnimator
14. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
Deserialize
Intent filters
Standby
HttpURLConnection
15. Direct component call in Android
Back stack
Geocoder
Explicit intent
security sandbox
16. Converts XML Document to XML DOM
Parser
Services
Intent filters
ACTION_DOCK_EVENT
17. This object contains an account name - which for Google accounts is an email address.
ETC1
Account
Stack - back stack
Dalvik Debug Monitor Server
18. It doesn't currently support the <merge/> tag in the layouts to be inflated.
Deserialize
ShareActionProvider
Advanced Training
ViewStub
19. Android request its permission using its ________
AndroidManifest.xml
onDraw()
Android SDK
onPause();
20. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
AbstractAccountAuthenticator
ACTION_DOCK_EVENT
adb
GET_ACCOUNTS
21. Use this to draw bitmaps.
Parser
Services
Fragments
drawBitmap()
22. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
virtual table
View
single-pane
ACTION_DOCK_EVENT
23. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
adb
authenticator class
security sandbox
auth scope
24. 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
Parser
PackageManager
LTE
searchable configuration
25. Necessary tools to develop Android applications
android.hardware.touchscreen
Stack - back stack
Android SDK
Entire
26. This is used to check that you're actually connected to the Internet and what type of connection is in place.
Application footprint
ConnectivityManager
Emulator
XmlPullParser
27. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Google Cloud Messaging for Android (GCM)
setContentView
SearchView
Dots per inch
28. Use this to draw text.
ACTION_DOCK_EVENT
drawText()
AbstractAccountAuthenticator
ValueAnimator
29. The visible lifetime of an activity happens between the call to ____ and the call to ______
onStart() - onStop()
onCreate() - onDestroy()
Activity
Application resources
30. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
setContentView
EXTRA_STREAM
XmlPullParser
View
31. On a rooted device - the credentials would be readable by anyone with this access to the device.
Canvas
onDestroy();
adb
drawText()
32. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
Canvas
OnCurrentItemChanged
SurfaceHolder.Callback
onCreate() - onDestroy()
33. To define custom attributes - add this resources to your project.
<declare-styleable>
Parser
SurfaceHolder.Callback
Google
34. The most common way to define a layout using views is with an XML layout file saved in your ______
ETC1
Service Content Provider
Application resources
ConnectivityManager
35. Relative to pixels and resolution screen
Dots per inch
onStop();
When the activity resumes
SQLite
36. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Android SDK
SQLite
ACTION_DOCK_EVENT
Scroller
37. Conversion of XML back to an object
Deserialize
Dalvik Virtual Machine
SearchView
Emulator
38. The entire lifetime of an activity happens between the call to _____ and the call to _____
onCreate() - onDestroy()
Stack - back stack
single-pane
android.hardware.touchscreen
39. Allow to combine loosely coupled components to perform certain tasks
Objects Activity lifecycle
Entire
Serialize
Intents
40. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
Linux based
ETC1
When the activity resumes
setVolumeControlStream()
41. This can be used to draw previews of what the camera sensor is picking up.
SurfaceView
Entire
GET_ACCOUNTS
SQLite
42. 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()
auth scope
Android SDK
ConnectivityManager
43. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
searchable configuration
ValueAnimator
Service Content Provider
44. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
Account Manager
auth scope
visible
Fragments
45. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Google Cloud Messaging for Android (GCM)
adb
Hierarchy Viewer
android.hardware.touchscreen
46. Callback method: Another activity is taking focus
onPause();
Lifecycle callback methods
SurfaceView
Scroller
47. It is a free service for sending messages to Android devices.
NetworkInfo
ViewStub
onCreate() - onDestroy()
Google Cloud Messaging (GCM)
48. For example - a ____ might be a button that initiates an action when the user touches it.
Google Cloud Messaging (GCM)
View
SecurityException
security sandbox
49. ______ are views derived from ViewGroup that provide a unique layout model for its child views
onAudioFocusChange()
BackupHelper
Layouts
HTTP
50. This is used to fetch the account names that the user has stored on their device.
Account Manager
SurfaceHolder.Callback
Explicit intent
AbstractAccountAuthenticator