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. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
ACTION_DOCK_EVENT
onStop();
Widgets
Activity
2. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
BroadcastReceiver
Stack - back stack
isConnected()
SQLiteOpenHelper
3. Whenever the device is docked or undocked - this action is broadcast.
AsyncTask
ACTION_DOCK_EVENT
resolveSizeAndState()
Low power
4. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Activity
Full power
Objects Activity lifecycle
onAudioFocusChange()
5. For example - a ____ might be a button that initiates an action when the user touches it.
Ducking
BroadcastReceiver
View
Service Content Provider
6. An open source stand alone database
OAuth2 protocol
SQLite
Google
ShareActionProvider
7. It is an efficient and maintainable way to parse XML on Android.
onCreate();
XmlPullParser
setVolumeControlStream()
Stack
8. This is the simplest way to monitor device state changes.
SurfaceHolder.Callback
Hierarchy Viewer
Dalvik Virtual Machine
BroadcastReceiver
9. This widget as an item in the action bar is the preferred way to provide search in your app.
visible
SearchView
Canvas
Dots per inch
10. This is used to fetch the account names that the user has stored on their device.
Account Manager
Layouts
HTTP
ActionProvider
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 ___ .
ValueAnimator
Stack
Destroyed - previous
Objects Activity lifecycle
12. When a new activity starts - it is pushed onto the ____ and takes user focus.
ActionProvider
SurfaceView
Back stack
OAuth2
13. 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
Dalvik Debug Monitor Server
Geocoder
AccountAuthenticatorActivity
14. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
EXTRA_STREAM
Dalvik Debug Monitor Server
Activity
adb
15. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
ShareActionProvider
SearchView
SurfaceHolder.Callback
onCreate() - onDestroy()
16. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
touch
onDestroy();
SecurityException
android.hardware.touchscreen
17. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
auth scope
Dalvik Virtual Machine
searchable configuration
authenticator class
18. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
onStop();
Scroller
View
Fragments
19. It provides a simple way to perform your work outside the main thread.
Lifecycle callback methods
LocationManager
Google Cloud Messaging (GCM)
AsyncTask
20. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Objects Activity lifecycle
single-pane
ETC1
Open Handset Alliance
21. The dock-state details are included as an extra in a sticky broadcast of this action.
ACTION_DOCK_EVENT
Destroyed - previous
ActionProvider
Account Manager
22. A service in which programmers can offer their Android application to Android users.
onCreate() - onDestroy()
Google Play
onSearchRequested()
ETC1
23. Callback method: The activity is about to be destroyed.
single-pane
onDestroy();
onStop();
Back stack
24. Callback method: The activity has become visible.
onResume();
Destroyed - previous
adb
onAudioFocusChange()
25. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
onDraw()
Hierarchy Viewer
Intents
ViewStub
26. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
Google Cloud Messaging for Android (GCM)
Activity
BatteryManager
GET_ACCOUNTS
27. Theseare a key part of Android applications that directly affect the user experience.
AttributeSet
Layouts
BackupHelper
auth scope
28. It inform the system what intents an application component is willing to accept.
Google Cloud Messaging (GCM)
Parser
ViewStub
Intent filters
29. Necessary tools to develop Android applications
SearchView
Account Manager
Android SDK
touch
30. 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.
ViewStub
SearchView
Component - screen
ACTION_SEND
31. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
LTE
BroadcastReceiver
setVolumeControlStream()
PackageManager
32. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
AccountAuthenticatorActivity
ShareActionProvider
When the activity resumes
Intent filters
33. The entire lifetime of an activity happens between the call to _____ and the call to _____
Emulator
Stack - back stack
onCreate() - onDestroy()
ValueAnimator
34. Where Android is currently primarily developed
Google
Fragments
Component - screen
dual-
35. Android request its permission using its ________
ConnectivityManager
Scroller
getInputStream()
AndroidManifest.xml
36. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
Emulator
virtual table
Lifecycle callback methods
View
37. Most network-connected Android apps use this to send and receive data.
View
Entire
onPause();
HTTP
38. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Activity
SettingsActivity
Scroller
Paint
39. It is a set of rules for encoding documents in machine-readable form.
ShareActionProvider
ACTION_DOCK_EVENT
When the activity resumes
Extensible Markup Language (XML)
40. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Advanced Training
BroadcastReceiver
Application resources
Full power
41. Once installed on a device - each Android application lives in its own ______
Standby
Scroller
GET_ACCOUNTS
security sandbox
42. 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.
onPause();
AsyncTask
ETC1
Intent filters
43. This broadcasts an action whenever the device is connected or disconnected from power.
BroadcastReceiver
Service Content Provider
Fragments
BatteryManager
44. Callback method: The activity is no longer visible
BroadcastReceiver
Linux based
onStop();
Fragments
45. Conversion of XML back to an object
EXTRA_STREAM
ValueAnimator
Deserialize
Parser
46. These helpers are specialized classes for backing up certain kinds of data.
searchable configuration
Android SDK
BackupHelper
AbstractAccountAuthenticator
47. A styleable entity that contains these two custom attributes: showText and labelPosition.
HTTP
PieChart
Open Handset Alliance
NetworkInfo
48. Converts XML Document to XML DOM
ConnectivityManager
Layouts
resolveSizeAndState()
Parser
49. This class provides one of the simplest ways to fire off a new task from the UI thread.
isConnected()
NetworkInfo
ShareActionProvider
AsyncTask
50. 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
AndroidManifest.xml
ACTION_DOCK_EVENT
Destroyed - previous
Dalvik Virtual Machine