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
Scroller
Dalvik Virtual Machine
XmlPullParser
Google
2. Amode where the action bar is set up with tabs for navigation.
dual-
NetworkInfo
onResume();
ACTION_SEND
3. It is a free service for sending messages to Android devices.
onStart() - onStop()
OAuth2 protocol
View
Google Cloud Messaging (GCM)
4. It inform the system what intents an application component is willing to accept.
Intent filters
PackageManager
Objects Activity lifecycle
AbstractAccountAuthenticator
5. Converts XML Document to XML DOM
InputStream
Scroller
auth scope
Parser
6. This is an interface which is used to pass image data from the camera hardware to the application.
AudioManager
HTTP
SurfaceHolder.Callback
isConnected()
7. On a rooted device - the credentials would be readable by anyone with this access to the device.
virtual table
getInputStream()
adb
Back stack
8. An open source group led by Google
ViewStub
Open Handset Alliance
authenticator class
ActionProvider
9. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
Layouts
Entire
HttpURLConnection
authenticator class
10. This action is used in sending text content from one activity to another.
ACTION_SEND
When the activity resumes
getInputStream()
Google
11. Necessary tools to develop Android applications
Implicit intent
Google Play
OnCurrentItemChanged
Android SDK
12. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
AccountAuthenticatorActivity
BroadcastReceiver
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
ETC1
13. It is available starting with API Level 14 and higher.
Linux based
ConnectivityManager
ShareActionProvider
ValueAnimator
14. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
ShareActionProvider
View
HTTP
Advanced Training
15. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Layouts
Activity
Application footprint
isConnected()
16. For example - a ____ might be a button that initiates an action when the user touches it.
onCreate() - onDestroy()
Android SDK
View
Geocoder
17. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
ActionProvider
AbstractAccountAuthenticator
Stack
BroadcastReceiver
18. Where Android is currently primarily developed
OnCurrentItemChanged
Fragments
Google
AsyncTask
19. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Activity
Geocoder
onStop();
AsyncTask
20. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
Layouts
ConnectivityManager
Implicit intent
resolveSizeAndState()
21. 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
View
drawText()
android.hardware.touchscreen
22. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
Component - screen
onDraw()
Destroyed - previous
onStop();
23. The industry standard way to deal with authentication to third-party services.
Account Manager
setContentView
Layouts
OAuth2 protocol
24. An Activity is an application ______ that provides a _______ 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
HTTP
Services
Component - screen
onMeasure()
25. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Google Cloud Messaging (GCM)
Layouts
AttributeSet
OnCurrentItemChanged
26. This is the simplest way to monitor device state changes.
Google Cloud Messaging (GCM)
drawBitmap()
Canvas
BroadcastReceiver
27. This class provides one of the simplest ways to fire off a new task from the UI thread.
AttributeSet
AsyncTask
BatteryManager
dual-
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.
inflate()
XmlPullParser
Google Cloud Messaging for Android (GCM)
Fragments
29. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
View
auth scope
Google Cloud Messaging for Android (GCM)
onCreate() - onDestroy()
30. This object contains an account name - which for Google accounts is an email address.
Deserialize
Account
ACTION_DOCK_EVENT
Destroyed - previous
31. Allow to combine loosely coupled components to perform certain tasks
Parser
SearchView
Intents
PackageManager
32. Whenever the device is docked or undocked - this action is broadcast.
ACTION_DOCK_EVENT
AndroidManifest.xml
Account Manager
searchable configuration
33. Callback method: Another activity is taking focus
onPause();
visible
AsyncTask
BroadcastReceiver
34. The helper method is used to create the final width and height values.
HTTP
ViewStub
resolveSizeAndState()
View
35. This class is the basis for handling flywheel-style fling gestures.
drawText()
Dalvik Debug Monitor Server
Scroller
ActionProvider
36. This includes tools to help you identify problems in your layout performance.
Android SDK
AndroidManifest.xml
Lifecycle callback methods
LocationManager
37. Conversion of an object to XML
ACTION_DOCK_EVENT
AndroidManifest.xml
Serialize
Intent filters
38. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
android.hardware.touchscreen
AsyncTask
Emulator
onDestroy();
39. Android is __________.
Linux based
InputStream
Layouts
drawText()
40. The visible lifetime of an activity happens between the call to ____ and the call to ______
onStart() - onStop()
Intent filters
onDraw()
ACTION_DOCK_EVENT
41. It is the process of lowering your audio stream output volume to make transient audio from another app easier to hear without totally disrupting the audio from your own application.
SearchView
Ducking
Dalvik Virtual Machine
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
42. 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
Back stack
PackageManager
Intents
Scroller
43. Direct component call in Android
Parser
Explicit intent
Deserialize
ACTION_SEND
44. This is a readable source of bytes.
GestureDetector
drawText()
InputStream
PackageManager
45. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Serialize
Standby
resolveSizeAndState()
Dalvik Debug Monitor Server
46. This class exposes a number of methods for applications to receive location updates.
onPause();
ViewStub
Stack
LocationManager
47. To define custom attributes - add this resources to your project.
<declare-styleable>
searchable configuration
BackupHelper
Dots per inch
48. Sharing of data in Android is done via________
Service Content Provider
Activity
isConnected()
ValueAnimator
49. Perform background tasks without providing a user interface
Objects Activity lifecycle
onSearchRequested()
Services
ACTION_SEND
50. It is called to invoke the search dialog on older devices.
onSearchRequested()
touch
SecurityException
drawBitmap()