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. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
AbstractAccountAuthenticator
onAudioFocusChange()
Geocoder
Serialize
2. A service in which programmers can offer their Android application to Android users.
SearchView
Ducking
Google Play
InputStream
3. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
BackupHelper
LocationManager
Full power
authenticator class
4. Are used in activities to create the user interface and to interact with the user.
Fragments
AudioManager
ACTION_DOCK_EVENT
EXTRA_STREAM
5. Use this to draw text.
drawText()
HttpURLConnection
Ducking
BatteryManager
6. It is used to load images in a background thread - then apply them to the UI once finished.
AccountAuthenticatorActivity
AsyncTask
Account
Component - screen
7. Callback method: The activity is no longer visible
LocationManager
onStop();
ACTION_SEND
ACTION_DOCK_EVENT
8. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Entire
Widgets
View
Geocoder
9. This is the main class through which your application can access location services on Android.
security sandbox
Full power
setVolumeControlStream()
LocationManager
10. Relative to pixels and resolution screen
Dots per inch
AccountAuthenticatorActivity
visible
Scroller
11. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
OAuth2
getInputStream()
XmlPullParser
BroadcastReceiver
12. This action is used in sending text content from one activity to another.
onCreate() - onDestroy()
security sandbox
ACTION_SEND
SearchView
13. Most network-connected Android apps use this to send and receive data.
android.hardware.touchscreen
Standby
HTTP
Dalvik Debug Monitor Server
14. An open source stand alone database
Entire
SQLite
Intents
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
15. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
AudioManager
ACTION_DOCK_EVENT
Application footprint
visible
16. Conversion of an object to XML
onSearchRequested()
resolveSizeAndState()
Serialize
Application resources
17. These helpers are specialized classes for backing up certain kinds of data.
BackupHelper
ETC1
Android SDK
Entire
18. Perform background tasks without providing a user interface
Google Cloud Messaging (GCM)
OAuth2
Dots per inch
Services
19. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Lifecycle callback methods
android.hardware.touchscreen
AccountAuthenticatorActivity
onPause();
20. 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)
OnCurrentItemChanged
Application resources
getInputStream()
21. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
Stack - back stack
OnCurrentItemChanged
Service Content Provider
NetworkInfo
22. Amode where the action bar is set up with tabs for navigation.
ACTION_DOCK_EVENT
SearchView
dual-
OnCurrentItemChanged
23. 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?
SQLiteOpenHelper
AttributeSet
onDestroy();
Activity
24. It is a set of rules for encoding documents in machine-readable form.
Extensible Markup Language (XML)
Advanced Training
Activity
Fragments
25. Android provides this handy method to direct volume key presses to the audio stream the user specify.
onStop();
setVolumeControlStream()
drawBitmap()
Account
26. 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.
drawText()
onCreate() - onDestroy()
OAuth2
auth scope
27. Callback method: The activity is no longer visible.
Activity
BroadcastReceiver
onStop();
onMeasure()
28. When a new activity starts - it is pushed onto the ____ and takes user focus.
onSearchRequested()
When the activity resumes
Services
Back stack
29. This is used to convert raw touch events into gestures.
GestureDetector
onPause();
OAuth2 protocol
android.hardware.touchscreen
30. This object contains an account name - which for Google accounts is an email address.
onCreate();
OAuth2
Account
NetworkInfo
31. Allow to combine loosely coupled components to perform certain tasks
Application footprint
Intents
onAudioFocusChange()
AsyncTask
32. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
GestureDetector
View
<declare-styleable>
Activity
33. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
SearchView
Advanced Training
ACTION_DOCK_EVENT
AndroidManifest.xml
34. You can set the layout as the UI for your activity with passing the resource ID for the layout.
When the activity resumes
setContentView
onStop();
BackupHelper
35. Sharing of data in Android is done via________
Service Content Provider
Lifecycle callback methods
AsyncTask
XmlPullParser
36. 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.
Activity
Layouts
onStart() - onStop()
Stack
37. This includes tools to help you identify problems in your layout performance.
Android SDK
AttributeSet
Scroller
ACTION_SEND
38. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
visible
BatteryManager
onDraw()
ACTION_SEND
39. It provides a simple way to perform your work outside the main thread.
AsyncTask
SQLite
Implicit intent
PieChart
40. Android request its permission using its ________
AndroidManifest.xml
Ducking
virtual table
SettingsActivity
41. Callback method: The activity is about to be destroyed.
AndroidManifest.xml
onResume();
onDestroy();
drawText()
42. is run when running Android on the pc
GestureDetector
ViewStub
Emulator
ConnectivityManager
43. Android system uses a special virtual machine to run java based applicatons
ConnectivityManager
Dalvik Virtual Machine
onSearchRequested()
Ducking
44. This widget as an item in the action bar is the preferred way to provide search in your app.
Serialize
Dalvik Virtual Machine
AttributeSet
SearchView
45. This is the most common input event in the Android system.
SearchView
inflate()
touch
AttributeSet
46. The visible lifetime of an activity happens between the call to ____ and the call to ______
Ducking
Geocoder
onStart() - onStop()
Low power
47. This is used to fetch the account names that the user has stored on their device.
Account Manager
SecurityException
setVolumeControlStream()
Full power
48. ______ are views derived from ViewGroup that provide a unique layout model for its child views
onDraw()
inflate()
ActionProvider
Layouts
49. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
GET_ACCOUNTS
Scroller
BroadcastReceiver
View
50. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Stack
SecurityException
PieChart
Canvas