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. Conversion of XML back to an object
SurfaceHolder.Callback
Back stack
onCreate() - onDestroy()
Deserialize
2. 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 _____
visible
XmlPullParser
Stack
onCreate() - onDestroy()
3. 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
authenticator class
OnCurrentItemChanged
Lifecycle callback methods
4. 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
single-pane
ActionProvider
onDraw()
5. It is available starting with API Level 14 and higher.
dual-
ShareActionProvider
onResume();
Back stack
6. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
SQLiteOpenHelper
SearchView
HttpURLConnection
ETC1
7. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
Stack - back stack
security sandbox
isConnected()
Google Play
8. This is used to register and de-register your media button event receiver.
AudioManager
Implicit intent
Scroller
BackupHelper
9. The minimal energy state during which no network connection is active or required.
Service Content Provider
View
Standby
Linux based
10. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
Google Cloud Messaging for Android (GCM)
searchable configuration
onDraw()
Activity
11. This provides methods to define line's color - whether to fill a rectangle with a color or leave it empty - and defines the color - style - font - and so forth of each shape you draw.
LTE
Paint
Google Play
Extensible Markup Language (XML)
12. Converts XML Document to XML DOM
NetworkInfo
searchable configuration
onSearchRequested()
Parser
13. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
SurfaceHolder.Callback
onSearchRequested()
Intent filters
View
14. The most common way to define a layout using views is with an XML layout file saved in your ______
Low power
onDraw()
Application resources
ViewStub
15. This is used to check that you're actually connected to the Internet and what type of connection is in place.
Standby
ConnectivityManager
single-pane
SearchView
16. This is used for the need of finer control over your view's layout parameters.
touch
SearchView
BroadcastReceiver
onMeasure()
17. This is the simplest way to monitor device state changes.
AsyncTask
onResume();
BroadcastReceiver
ViewStub
18. The dock-state details are included as an extra in a sticky broadcast of this action.
Account
ACTION_DOCK_EVENT
Android SDK
auth scope
19. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
OnCurrentItemChanged
InputStream
onCreate() - onDestroy()
Advanced Training
20. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
Activity
setVolumeControlStream()
inflate()
onStart() - onStop()
21. 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.
ViewStub
Low power
onAudioFocusChange()
Ducking
22. Use this to draw bitmaps.
Dalvik Virtual Machine
drawBitmap()
onPause();
onStart() - onStop()
23. This is set up to animate for the duration of the fling.
Geocoder
ValueAnimator
Google
Dalvik Virtual Machine
24. Relative to pixels and resolution screen
single-pane
Dots per inch
BatteryManager
onStop();
25. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
onStop();
AsyncTask
SurfaceView
Lifecycle callback methods
26. Theseare a key part of Android applications that directly affect the user experience.
Layouts
OAuth2
ViewStub
security sandbox
27. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
Android SDK
AsyncTask
onResume();
ConnectivityManager
28. 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
Extensible Markup Language (XML)
Android SDK
Component - screen
Paint
29. It doesn't currently support the <merge/> tag in the layouts to be inflated.
AudioManager
Full power
Low power
ViewStub
30. It is a string that defines the specific type of access your app is asking for.
Extensible Markup Language (XML)
auth scope
inflate()
onSearchRequested()
31. is run when running Android on the pc
View
SQLite
Dots per inch
Emulator
32. This class is the basis for handling flywheel-style fling gestures.
LocationManager
drawText()
Scroller
EXTRA_STREAM
33. This is used to fetch the account names that the user has stored on their device.
onDestroy();
Android SDK
Google Cloud Messaging (GCM)
Account Manager
34. Android is __________.
Advanced Training
AccountAuthenticatorActivity
drawBitmap()
Linux based
35. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
AccountAuthenticatorActivity
SearchView
Intent filters
Widgets
36. This action is used in sending text content from one activity to another.
Google Cloud Messaging (GCM)
Parser
Scroller
ACTION_SEND
37. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
ActionProvider
LTE
BatteryManager
PackageManager
38. A service in which programmers can offer their Android application to Android users.
Google Play
Component - screen
ShareActionProvider
onMeasure()
39. It is a set of rules for encoding documents in machine-readable form.
Extensible Markup Language (XML)
EXTRA_STREAM
View
NetworkInfo
40. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
ViewStub
Stack - back stack
Application resources
PieChart
41. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
Activity
SearchView
AbstractAccountAuthenticator
HttpURLConnection
42. An open source stand alone database
SQLite
Google Cloud Messaging for Android (GCM)
Activity
Open Handset Alliance
43. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Ducking
OnCurrentItemChanged
SearchView
onCreate() - onDestroy()
44. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Entire
Application resources
SearchView
LocationManager
45. Whenever the device is docked or undocked - this action is broadcast.
ACTION_DOCK_EVENT
Back stack
Ducking
Fragments
46. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
Google Cloud Messaging for Android (GCM)
HTTP
authenticator class
PackageManager
47. This class provides one of the simplest ways to fire off a new task from the UI thread.
Explicit intent
touch
Full power
AsyncTask
48. Shows the actual amount of memory the application uses
ACTION_DOCK_EVENT
Dots per inch
ACTION_DOCK_EVENT
Application footprint
49. This is the main class through which your application can access location services on Android.
searchable configuration
LocationManager
ActionProvider
<declare-styleable>
50. A mode where navigation is set up with a spinner widget.
Component - screen
single-pane
isConnected()
Activity