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
AsyncTask
Deserialize
Google Cloud Messaging (GCM)
onSearchRequested()
2. This action is used in sending text content from one activity to another.
authenticator class
ACTION_SEND
LTE
SurfaceView
3. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
BatteryManager
isConnected()
auth scope
OAuth2
4. An open source group led by Google
onStop();
Open Handset Alliance
BatteryManager
Geocoder
5. On a rooted device - the credentials would be readable by anyone with this access to the device.
adb
Ducking
HTTP
PieChart
6. This broadcasts an action whenever the device is connected or disconnected from power.
XmlPullParser
BatteryManager
Extensible Markup Language (XML)
Services
7. This object contains an account name - which for Google accounts is an email address.
Account
<declare-styleable>
Stack - back stack
PieChart
8. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
onCreate() - onDestroy()
getInputStream()
PackageManager
Lifecycle callback methods
9. Android request its permission using its ________
onResume();
inflate()
GestureDetector
AndroidManifest.xml
10. The industry standard way to deal with authentication to third-party services.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Layouts
Extensible Markup Language (XML)
OAuth2 protocol
11. Once installed on a device - each Android application lives in its own ______
AsyncTask
ValueAnimator
security sandbox
SQLiteOpenHelper
12. These helpers are specialized classes for backing up certain kinds of data.
BatteryManager
BackupHelper
Widgets
inflate()
13. When a new activity starts - it is pushed onto the ____ and takes user focus.
ETC1
Back stack
NetworkInfo
Low power
14. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
HttpURLConnection
onStop();
Lifecycle callback methods
Account
15. The entire lifetime of an activity happens between the call to _____ and the call to _____
<declare-styleable>
Explicit intent
HTTP
onCreate() - onDestroy()
16. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Extensible Markup Language (XML)
Paint
Wi-Fi radio
Widgets
17. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
onCreate() - onDestroy()
touch
Canvas
Account
18. It's generally a good idea for one of your APKs to support this texture format as it is supported by all Android-powered devices that support the OpenGL ES 2.0 spec.
onAudioFocusChange()
ETC1
virtual table
Layouts
19. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
View
android.hardware.touchscreen
Google Cloud Messaging for Android (GCM)
onCreate() - onDestroy()
20. 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.
SearchView
SurfaceHolder.Callback
ACTION_SEND
Widgets
21. Whenever the device is docked or undocked - this action is broadcast.
drawBitmap()
Scroller
Android SDK
ACTION_DOCK_EVENT
22. Theseare a key part of Android applications that directly affect the user experience.
AsyncTask
ActionProvider
ShareActionProvider
Layouts
23. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Layouts
Full power
Stack - back stack
onResume();
24. 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
ACTION_DOCK_EVENT
Full power
Widgets
PackageManager
25. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
AsyncTask
Activity
ACTION_DOCK_EVENT
Objects Activity lifecycle
26. Represents the visual representation of an Android application
onPause();
drawText()
Activity
LTE
27. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Serialize
Geocoder
ActionProvider
AttributeSet
28. Use this to draw text.
drawText()
SearchView
onStart() - onStop()
Entire
29. 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?
SettingsActivity
Stack
getInputStream()
AttributeSet
30. 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.
Ducking
PieChart
ValueAnimator
Service Content Provider
31. 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()
Widgets
AndroidManifest.xml
adb
32. Where Android is currently primarily developed
PackageManager
AudioManager
Google
ETC1
33. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
security sandbox
SQLite
NetworkInfo
BroadcastReceiver
34. This is an interface which is used to pass image data from the camera hardware to the application.
onCreate() - onDestroy()
SurfaceHolder.Callback
adb
Activity
35. Necessary tools to develop Android applications
AsyncTask
Android SDK
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Back stack
36. Android provides this handy method to direct volume key presses to the audio stream the user specify.
setVolumeControlStream()
Account Manager
Emulator
Intents
37. This is the main class through which your application can access location services on Android.
PieChart
Layouts
LocationManager
single-pane
38. This is set up to animate for the duration of the fling.
ValueAnimator
Activity
onDraw()
Linux based
39. For example - a ____ might be a button that initiates an action when the user touches it.
Layouts
ViewStub
View
AudioManager
40. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Advanced Training
Full power
Layouts
searchable configuration
41. It is called to invoke the search dialog on older devices.
onSearchRequested()
BackupHelper
Google Play
BroadcastReceiver
42. It is available starting with API Level 14 and higher.
ShareActionProvider
onDestroy();
AsyncTask
SearchView
43. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
inflate()
Application footprint
getInputStream()
Implicit intent
44. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
searchable configuration
LocationManager
single-pane
Layouts
45. 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 _____
Serialize
Back stack
SurfaceHolder.Callback
onCreate() - onDestroy()
46. Perform background tasks without providing a user interface
onAudioFocusChange()
Dots per inch
SecurityException
Services
47. The minimal energy state during which no network connection is active or required.
SQLite
Standby
AsyncTask
SurfaceHolder.Callback
48. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
onStop();
Stack - back stack
OAuth2 protocol
onDraw()
49. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
Dalvik Debug Monitor Server
Canvas
ViewStub
SearchView
50. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Intent filters
Stack
android.hardware.touchscreen
Lifecycle callback methods