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. It is an efficient and maintainable way to parse XML on Android.
EXTRA_STREAM
XmlPullParser
Google Play
onCreate();
2. Callback method: Another activity is taking focus
Stack - back stack
Scroller
onPause();
BackupHelper
3. The back stack abides to the basic "last in - first out" stack mechanism - so - when the user is done with the current activity and presses the Back button - it is popped from the stack (and ____) and the ____ activity resumes
Destroyed - previous
SurfaceHolder.Callback
OnCurrentItemChanged
onStop();
4. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
isConnected()
onAudioFocusChange()
AttributeSet
Scroller
5. On a rooted device - the credentials would be readable by anyone with this access to the device.
LTE
Android SDK
ConnectivityManager
adb
6. This is the most common input event in the Android system.
touch
ACTION_DOCK_EVENT
getInputStream()
AsyncTask
7. This class exposes a number of methods for applications to receive location updates.
PieChart
LocationManager
View
Component - screen
8. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
Parser
Scroller
onPause();
LTE
9. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Advanced Training
OAuth2
Account Manager
Dalvik Debug Monitor Server
10. Amode where the action bar is set up with tabs for navigation.
AbstractAccountAuthenticator
onStop();
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
dual-
11. Theseare a key part of Android applications that directly affect the user experience.
Layouts
BackupHelper
ACTION_DOCK_EVENT
ACTION_DOCK_EVENT
12. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Component - screen
Low power
Stack - back stack
onStop();
13. 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
OAuth2
resolveSizeAndState()
Layouts
Component - screen
14. Conversion of an object to XML
Scroller
EXTRA_STREAM
Serialize
Dots per inch
15. Most network-connected Android apps use this to send and receive data.
SecurityException
inflate()
Advanced Training
HTTP
16. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Entire
ValueAnimator
Fragments
auth scope
17. For example - a ____ might be a button that initiates an action when the user touches it.
Canvas
View
Component - screen
onStart() - onStop()
18. The industry standard way to deal with authentication to third-party services.
Serialize
AndroidManifest.xml
OAuth2 protocol
Objects Activity lifecycle
19. To create an activity - you must create a subclass of
Paint
ActionProvider
Layouts
Activity
20. This widget as an item in the action bar is the preferred way to provide search in your app.
AsyncTask
ValueAnimator
ConnectivityManager
SearchView
21. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
onDraw()
Explicit intent
AsyncTask
Intents
22. Perform background tasks without providing a user interface
Emulator
Services
Google
Dots per inch
23. In order to get a list of accounts on the device - your app needs this permission.
GET_ACCOUNTS
SearchView
HTTP
adb
24. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
Dalvik Debug Monitor Server
SecurityException
InputStream
onAudioFocusChange()
25. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
When the activity resumes
resolveSizeAndState()
ShareActionProvider
Scroller
26. The most common way to define a layout using views is with an XML layout file saved in your ______
Implicit intent
Parser
onStart() - onStop()
Application resources
27. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
SecurityException
Widgets
AudioManager
Activity
28. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Stack
Account Manager
ShareActionProvider
Wi-Fi radio
29. This is used to check that you're actually connected to the Internet and what type of connection is in place.
When the activity resumes
ConnectivityManager
Google
adb
30. It doesn't currently support the <merge/> tag in the layouts to be inflated.
ViewStub
single-pane
ACTION_SEND
Geocoder
31. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
Full power
HttpURLConnection
LocationManager
View
32. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
AsyncTask
InputStream
Scroller
Fragments
33. 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
AsyncTask
Dalvik Virtual Machine
Parser
34. You can set the layout as the UI for your activity with passing the resource ID for the layout.
setContentView
getInputStream()
Canvas
Account
35. An intermediate state that uses around 50% of the battery power at the full state.
BatteryManager
Low power
Paint
Dalvik Virtual Machine
36. This is the simplest way to monitor device state changes.
Widgets
LocationManager
BroadcastReceiver
getInputStream()
37. Relative to pixels and resolution screen
Dots per inch
Service Content Provider
Fragments
onCreate();
38. Whenever the device is docked or undocked - this action is broadcast.
ACTION_DOCK_EVENT
Intent filters
Low power
AbstractAccountAuthenticator
39. A service in which programmers can offer their Android application to Android users.
Google Play
ViewStub
SQLiteOpenHelper
View
40. These helpers are specialized classes for backing up certain kinds of data.
onStop();
BackupHelper
dual-
onCreate() - onDestroy()
41. It is a subclass of PreferenceActivity.
security sandbox
LocationManager
SettingsActivity
PieChart
42. This is an interface which is used to pass image data from the camera hardware to the application.
GET_ACCOUNTS
OAuth2
Objects Activity lifecycle
SurfaceHolder.Callback
43. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Full power
onDraw()
inflate()
SearchView
44. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Activity
onStop();
AccountAuthenticatorActivity
Google Cloud Messaging for Android (GCM)
45. 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 ___ .
PackageManager
SecurityException
Stack
LTE
46. Android provides this handy method to direct volume key presses to the audio stream the user specify.
setVolumeControlStream()
<declare-styleable>
AsyncTask
Entire
47. Where Android is currently primarily developed
SearchView
Google
Stack - back stack
Layouts
48. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
onCreate() - onDestroy()
resolveSizeAndState()
onCreate() - onDestroy()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
49. Once installed on a device - each Android application lives in its own ______
Serialize
Intents
SQLiteOpenHelper
security sandbox
50. Callback method: The activity is no longer visible.
Layouts
onStop();
Destroyed - previous
Back stack