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. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Account Manager
BackupHelper
onMeasure()
Hierarchy Viewer
2. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Android SDK
OnCurrentItemChanged
Fragments
SQLiteOpenHelper
3. It is used to load images in a background thread - then apply them to the UI once finished.
onCreate() - onDestroy()
EXTRA_STREAM
AsyncTask
Dalvik Debug Monitor Server
4. 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
Activity
PackageManager
Serialize
dual-
5. For example - a ____ might be a button that initiates an action when the user touches it.
Android SDK
onStart() - onStop()
Dots per inch
View
6. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
ActionProvider
HttpURLConnection
ETC1
Activity
7. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
onCreate() - onDestroy()
AsyncTask
BroadcastReceiver
ValueAnimator
8. An open source stand alone database
SQLite
Linux based
onStop();
onPause();
9. Use this to draw bitmaps.
Dalvik Debug Monitor Server
Serialize
drawBitmap()
Android SDK
10. The industry standard way to deal with authentication to third-party services.
AbstractAccountAuthenticator
Scroller
OAuth2 protocol
ViewStub
11. 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 ___ .
OAuth2
ConnectivityManager
Stack
Dots per inch
12. Callback method: The activity is about to be destroyed.
Parser
onDestroy();
virtual table
InputStream
13. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
LocationManager
ConnectivityManager
Layouts
ETC1
14. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Back stack
Layouts
searchable configuration
ETC1
15. 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.
Layouts
Ducking
BackupHelper
Google Play
16. Android provides this handy method to direct volume key presses to the audio stream the user specify.
SecurityException
Paint
dual-
setVolumeControlStream()
17. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
SQLiteOpenHelper
Component - screen
ConnectivityManager
NetworkInfo
18. Amode where the action bar is set up with tabs for navigation.
authenticator class
isConnected()
onSearchRequested()
dual-
19. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
AbstractAccountAuthenticator
onCreate() - onDestroy()
Layouts
Open Handset Alliance
20. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
onAudioFocusChange()
LTE
Extensible Markup Language (XML)
BackupHelper
21. This is a readable source of bytes.
dual-
Parser
XmlPullParser
InputStream
22. This is the simplest way to monitor device state changes.
BroadcastReceiver
SearchView
Google Play
SurfaceHolder.Callback
23. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Intents
Canvas
Stack
View
24. Callback method: The activity is no longer visible
SearchView
Dots per inch
AbstractAccountAuthenticator
onStop();
25. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
ShareActionProvider
LTE
onCreate() - onDestroy()
drawBitmap()
26. This search feature was introduced in Android 3.0 and can maintain backward compatibility with older versions of Android by using the default search dialog provided by the system.
LTE
SearchView
BroadcastReceiver
Back stack
27. To define custom attributes - add this resources to your project.
Low power
<declare-styleable>
onMeasure()
BroadcastReceiver
28. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
AsyncTask
Activity
AccountAuthenticatorActivity
HTTP
29. These helpers are specialized classes for backing up certain kinds of data.
onStop();
BackupHelper
Wi-Fi radio
Stack - back stack
30. This class provides one of the simplest ways to fire off a new task from the UI thread.
AsyncTask
ACTION_DOCK_EVENT
Objects Activity lifecycle
SQLiteOpenHelper
31. This class is the basis for handling flywheel-style fling gestures.
Services
Scroller
ActionProvider
Emulator
32. It is a subclass of PreferenceActivity.
touch
SettingsActivity
ACTION_DOCK_EVENT
BroadcastReceiver
33. If permissions are missing - the application will get this at runtime.
SecurityException
ACTION_SEND
Full power
inflate()
34. This is the most common input event in the Android system.
Advanced Training
ShareActionProvider
touch
onStop();
35. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
EXTRA_STREAM
Widgets
Intent filters
SurfaceHolder.Callback
36. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
AsyncTask
Activity
AccountAuthenticatorActivity
onCreate() - onDestroy()
37. A service in which programmers can offer their Android application to Android users.
BatteryManager
Google Play
setContentView
AbstractAccountAuthenticator
38. is run when running Android on the pc
Standby
single-pane
AsyncTask
Emulator
39. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Open Handset Alliance
ViewStub
Dalvik Debug Monitor Server
Implicit intent
40. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
ConnectivityManager
GestureDetector
Full power
GET_ACCOUNTS
41. Relative to pixels and resolution screen
Dots per inch
AccountAuthenticatorActivity
auth scope
Scroller
42. 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
Canvas
When the activity resumes
OnCurrentItemChanged
43. It is a set of rules for encoding documents in machine-readable form.
Extensible Markup Language (XML)
Emulator
Services
Dots per inch
44. Callback method: The activity is being created.
onCreate();
SQLiteOpenHelper
Intent filters
Fragments
45. You can set the layout as the UI for your activity with passing the resource ID for the layout.
onAudioFocusChange()
Geocoder
setContentView
View
46. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
HTTP
ETC1
Standby
47. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
AsyncTask
Hierarchy Viewer
Component - screen
Entire
48. An open source group led by Google
Open Handset Alliance
Back stack
drawText()
Dalvik Debug Monitor Server
49. The visible lifetime of an activity happens between the call to ____ and the call to ______
onStart() - onStop()
Wi-Fi radio
BroadcastReceiver
OnCurrentItemChanged
50. Use this to draw text.
drawText()
Google Cloud Messaging (GCM)
Scroller
AsyncTask