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. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
View
Geocoder
Objects Activity lifecycle
onResume();
2. 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?
GestureDetector
auth scope
AttributeSet
Android SDK
3. Android provides this handy method to direct volume key presses to the audio stream the user specify.
visible
setVolumeControlStream()
Activity
isConnected()
4. This class provides one of the simplest ways to fire off a new task from the UI thread.
AsyncTask
AttributeSet
Extensible Markup Language (XML)
Open Handset Alliance
5. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
searchable configuration
AsyncTask
NetworkInfo
6. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
setContentView
authenticator class
AttributeSet
When the activity resumes
7. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
SearchView
Canvas
Intent filters
SettingsActivity
8. It is a set of rules for encoding documents in machine-readable form.
Extensible Markup Language (XML)
Widgets
onCreate() - onDestroy()
Full power
9. This class exposes a number of methods for applications to receive location updates.
Google Cloud Messaging for Android (GCM)
LocationManager
Scroller
security sandbox
10. Direct component call in Android
HttpURLConnection
EXTRA_STREAM
Explicit intent
Fragments
11. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
<declare-styleable>
onCreate() - onDestroy()
Layouts
Low power
12. This is the most common input event in the Android system.
SQLite
Wi-Fi radio
touch
AsyncTask
13. This class is the basis for handling flywheel-style fling gestures.
Hierarchy Viewer
Services
Implicit intent
Scroller
14. The most common way to define a layout using views is with an XML layout file saved in your ______
setVolumeControlStream()
Standby
dual-
Application resources
15. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Advanced Training
Account
ShareActionProvider
Linux based
16. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
ETC1
inflate()
virtual table
Google Cloud Messaging for Android (GCM)
17. An open source stand alone database
SQLite
Ducking
single-pane
onMeasure()
18. This can be used to draw previews of what the camera sensor is picking up.
SurfaceView
Destroyed - previous
BatteryManager
ETC1
19. This widget as an item in the action bar is the preferred way to provide search in your app.
Google
AttributeSet
Back stack
SearchView
20. In order to get a list of accounts on the device - your app needs this permission.
GET_ACCOUNTS
touch
onSearchRequested()
authenticator class
21. Theseare a key part of Android applications that directly affect the user experience.
Android SDK
Layouts
inflate()
Android SDK
22. This is used to fetch the account names that the user has stored on their device.
Google Play
drawText()
Account Manager
Serialize
23. Once installed on a device - each Android application lives in its own ______
security sandbox
AndroidManifest.xml
NetworkInfo
Standby
24. This is set up to animate for the duration of the fling.
onStop();
Stack - back stack
Objects Activity lifecycle
ValueAnimator
25. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
SettingsActivity
BatteryManager
AttributeSet
single-pane
26. This is the simplest way to monitor device state changes.
BroadcastReceiver
Standby
AsyncTask
Layouts
27. To create an activity - you must create a subclass of
Activity
onCreate() - onDestroy()
View
GestureDetector
28. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
SearchView
Layouts
OnCurrentItemChanged
android.hardware.touchscreen
29. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
SQLiteOpenHelper
Stack - back stack
BroadcastReceiver
touch
30. 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.
AccountAuthenticatorActivity
Paint
Emulator
BatteryManager
31. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Layouts
Google
SearchView
AsyncTask
32. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
Hierarchy Viewer
SQLite
isConnected()
dual-
33. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Google Cloud Messaging for Android (GCM)
drawText()
View
Google Play
34. Android system uses a special virtual machine to run java based applicatons
Layouts
onResume();
Canvas
Dalvik Virtual Machine
35. Converts XML Document to XML DOM
Parser
Full power
Layouts
LocationManager
36. Conversion of an object to XML
Parser
ActionProvider
authenticator class
Serialize
37. It doesn't currently support the <merge/> tag in the layouts to be inflated.
ViewStub
Layouts
When the activity resumes
Scroller
38. Amode where the action bar is set up with tabs for navigation.
ConnectivityManager
adb
dual-
Parser
39. Necessary tools to develop Android applications
Application resources
BatteryManager
Android SDK
Destroyed - previous
40. This object contains an account name - which for Google accounts is an email address.
Geocoder
ValueAnimator
SecurityException
Account
41. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Dalvik Virtual Machine
onAudioFocusChange()
authenticator class
Dalvik Debug Monitor Server
42. 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()
View
auth scope
setContentView
43. 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 ___ .
Serialize
ViewStub
Stack
BackupHelper
44. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Wi-Fi radio
visible
SearchView
AudioManager
45. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Scroller
Emulator
Widgets
virtual table
46. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
ShareActionProvider
AccountAuthenticatorActivity
Entire
onStart() - onStop()
47. A service in which programmers can offer their Android application to Android users.
setVolumeControlStream()
security sandbox
Google Play
HTTP
48. Use this to draw text.
drawText()
HTTP
onSearchRequested()
drawBitmap()
49. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
onStop();
inflate()
onStart() - onStop()
Lifecycle callback methods
50. 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.
Account Manager
security sandbox
SearchView
BroadcastReceiver