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. A service in which programmers can offer their Android application to Android users.
setContentView
Google Play
When the activity resumes
Parser
2. This broadcasts an action whenever the device is connected or disconnected from power.
Android SDK
SurfaceView
SQLite
BatteryManager
3. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
SearchView
AttributeSet
AbstractAccountAuthenticator
View
4. This class is the basis for handling flywheel-style fling gestures.
Application resources
Scroller
HTTP
Layouts
5. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
Back stack
onAudioFocusChange()
Android SDK
android.hardware.touchscreen
6. Each activity can then start another activity in order to perform different actions. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a ___ .
GestureDetector
onCreate() - onDestroy()
Stack
onCreate() - onDestroy()
7. This is set up to animate for the duration of the fling.
auth scope
ValueAnimator
Linux based
ConnectivityManager
8. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Stack
drawBitmap()
searchable configuration
Layouts
9. Whenever the device is docked or undocked - this action is broadcast.
Google Cloud Messaging (GCM)
ConnectivityManager
ACTION_DOCK_EVENT
ConnectivityManager
10. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
InputStream
SQLite
onDraw()
SurfaceHolder.Callback
11. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
getInputStream()
ActionProvider
AudioManager
When the activity resumes
12. It is used to load images in a background thread - then apply them to the UI once finished.
Widgets
Scroller
Layouts
AsyncTask
13. Android is __________.
setVolumeControlStream()
Parser
SettingsActivity
Linux based
14. Evaluation of registered components
Implicit intent
Account Manager
When the activity resumes
inflate()
15. Shows the actual amount of memory the application uses
Advanced Training
Layouts
visible
Application footprint
16. This is an interface which is used to pass image data from the camera hardware to the application.
Intents
SurfaceHolder.Callback
touch
Extensible Markup Language (XML)
17. Callback method: The activity is no longer visible
onStop();
Entire
Application footprint
security sandbox
18. Use this to draw bitmaps.
drawBitmap()
ViewStub
isConnected()
Dalvik Virtual Machine
19. This can be used to draw previews of what the camera sensor is picking up.
SurfaceView
HTTP
Implicit intent
authenticator class
20. is run when running Android on the pc
Emulator
Android SDK
SettingsActivity
onCreate() - onDestroy()
21. For example - if your activity has a thread running in the background to download data from the network - it might create that thread in _____ and then stop the thread in _____
onCreate() - onDestroy()
EXTRA_STREAM
OAuth2 protocol
Canvas
22. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
SecurityException
OnCurrentItemChanged
authenticator class
SurfaceView
23. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
drawText()
ShareActionProvider
BroadcastReceiver
HttpURLConnection
24. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
ValueAnimator
Lifecycle callback methods
Service Content Provider
Implicit intent
25. This class exposes a number of methods for applications to receive location updates.
Fragments
Wi-Fi radio
ViewStub
LocationManager
26. Android provides this handy method to direct volume key presses to the audio stream the user specify.
onSearchRequested()
BackupHelper
setVolumeControlStream()
Objects Activity lifecycle
27. This is the simplest way to monitor device state changes.
Parser
Activity
BroadcastReceiver
Entire
28. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
ACTION_SEND
Hierarchy Viewer
onCreate() - onDestroy()
Geocoder
29. The visible lifetime of an activity happens between the call to ____ and the call to ______
onStart() - onStop()
Open Handset Alliance
Android SDK
single-pane
30. You can set the layout as the UI for your activity with passing the resource ID for the layout.
Emulator
Lifecycle callback methods
Advanced Training
setContentView
31. To create an activity - you must create a subclass of
Activity
inflate()
Advanced Training
Hierarchy Viewer
32. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
Services
visible
OnCurrentItemChanged
Android SDK
33. Represents the visual representation of an Android application
Activity
Parser
PieChart
Google Play
34. Direct component call in Android
Explicit intent
onDraw()
onCreate() - onDestroy()
AccountAuthenticatorActivity
35. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
onDraw()
onSearchRequested()
Advanced Training
AccountAuthenticatorActivity
36. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
ViewStub
Standby
When the activity resumes
onAudioFocusChange()
37. Callback method: The activity is about to be destroyed.
onDestroy();
AndroidManifest.xml
Advanced Training
ConnectivityManager
38. This is the main class through which your application can access location services on Android.
LocationManager
onPause();
Open Handset Alliance
ViewStub
39. It provides a simple way to perform your work outside the main thread.
onStop();
AsyncTask
Open Handset Alliance
Widgets
40. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Ducking
onSearchRequested()
Entire
isConnected()
41. Once installed on a device - each Android application lives in its own ______
onCreate();
Google Cloud Messaging (GCM)
BackupHelper
security sandbox
42. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
getInputStream()
Explicit intent
Stack
Objects Activity lifecycle
43. Theseare a key part of Android applications that directly affect the user experience.
Layouts
ACTION_DOCK_EVENT
ConnectivityManager
onStop();
44. Converts XML Document to XML DOM
Layouts
SQLiteOpenHelper
SurfaceView
Parser
45. 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.
single-pane
onAudioFocusChange()
OAuth2
SearchView
46. In order to get a list of accounts on the device - your app needs this permission.
SQLite
onCreate() - onDestroy()
GET_ACCOUNTS
Activity
47. It made implementing an effective and user friendly share action in your ActionBar even easier.
GestureDetector
ActionProvider
onDraw()
Full power
48. This includes tools to help you identify problems in your layout performance.
GET_ACCOUNTS
Android SDK
setVolumeControlStream()
SecurityException
49. Are used in activities to create the user interface and to interact with the user.
Fragments
Serialize
BatteryManager
LocationManager
50. 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
Component - screen
Layouts
Serialize
authenticator class