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. The entire lifetime of an activity happens between the call to _____ and the call to _____
Implicit intent
onCreate() - onDestroy()
Hierarchy Viewer
onSearchRequested()
2. The dock-state details are included as an extra in a sticky broadcast of this action.
Implicit intent
ACTION_DOCK_EVENT
AsyncTask
PackageManager
3. Android system uses a special virtual machine to run java based applicatons
BatteryManager
inflate()
onCreate();
Dalvik Virtual Machine
4. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
LocationManager
Extensible Markup Language (XML)
ConnectivityManager
AccountAuthenticatorActivity
5. Necessary tools to develop Android applications
Google Play
Destroyed - previous
PieChart
Android SDK
6. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
ETC1
EXTRA_STREAM
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Widgets
7. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Wi-Fi radio
ETC1
Full power
onCreate() - onDestroy()
8. Callback method: Another activity is taking focus
Dalvik Virtual Machine
Canvas
ConnectivityManager
onPause();
9. On a rooted device - the credentials would be readable by anyone with this access to the device.
Hierarchy Viewer
onCreate();
adb
BatteryManager
10. It is available starting with API Level 14 and higher.
ShareActionProvider
Layouts
AsyncTask
OAuth2
11. When a new activity starts - it is pushed onto the ____ and takes user focus.
Back stack
ACTION_DOCK_EVENT
onStop();
touch
12. A styleable entity that contains these two custom attributes: showText and labelPosition.
AndroidManifest.xml
SQLiteOpenHelper
SecurityException
PieChart
13. Callback method: The activity is being created.
Deserialize
virtual table
onCreate();
Layouts
14. Android provides this handy method to direct volume key presses to the audio stream the user specify.
Google Cloud Messaging for Android (GCM)
<declare-styleable>
LocationManager
setVolumeControlStream()
15. This is the main class through which your application can access location services on Android.
visible
LocationManager
adb
SurfaceHolder.Callback
16. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
Component - screen
ACTION_DOCK_EVENT
getInputStream()
BackupHelper
17. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Layouts
ViewStub
BatteryManager
OnCurrentItemChanged
18. 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.
BatteryManager
Android SDK
SearchView
virtual table
19. Once installed on a device - each Android application lives in its own ______
Implicit intent
drawText()
security sandbox
ConnectivityManager
20. Callback method: The activity is no longer visible
ShareActionProvider
onStop();
Entire
BackupHelper
21. Conversion of an object to XML
Intents
virtual table
Deserialize
Serialize
22. It is called to invoke the search dialog on older devices.
Objects Activity lifecycle
Dalvik Debug Monitor Server
onDestroy();
onSearchRequested()
23. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
drawBitmap()
BatteryManager
LTE
AndroidManifest.xml
24. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
ViewStub
SQLite
Deserialize
BroadcastReceiver
25. It is used to load images in a background thread - then apply them to the UI once finished.
Back stack
Application footprint
authenticator class
AsyncTask
26. The helper method is used to create the final width and height values.
Account Manager
android.hardware.touchscreen
resolveSizeAndState()
ValueAnimator
27. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
LocationManager
touch
View
SQLite
28. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
onCreate() - onDestroy()
Dalvik Virtual Machine
Canvas
Google Cloud Messaging for Android (GCM)
29. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
Back stack
isConnected()
View
drawBitmap()
30. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Scroller
onStop();
SecurityException
OAuth2 protocol
31. 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
Hierarchy Viewer
Dalvik Debug Monitor Server
Paint
32. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Full power
onStart() - onStop()
Component - screen
Google
33. It is a set of rules for encoding documents in machine-readable form.
Extensible Markup Language (XML)
drawText()
ViewStub
onDraw()
34. Perform background tasks without providing a user interface
adb
SurfaceHolder.Callback
SearchView
Services
35. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
Canvas
SearchView
onDraw()
Advanced Training
36. The visible lifetime of an activity happens between the call to ____ and the call to ______
Dots per inch
Services
SearchView
onStart() - onStop()
37. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
onCreate() - onDestroy()
Services
touch
NetworkInfo
38. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
SettingsActivity
Open Handset Alliance
Canvas
onAudioFocusChange()
39. It is a subclass of PreferenceActivity.
BackupHelper
SettingsActivity
When the activity resumes
onAudioFocusChange()
40. Use this to draw text.
Account Manager
drawText()
virtual table
auth scope
41. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Dots per inch
Serialize
Dalvik Debug Monitor Server
When the activity resumes
42. Converts XML Document to XML DOM
Entire
onStop();
SQLiteOpenHelper
Parser
43. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
AsyncTask
virtual table
Account
security sandbox
44. This class provides one of the simplest ways to fire off a new task from the UI thread.
GET_ACCOUNTS
AsyncTask
SurfaceView
ConnectivityManager
45. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
OnCurrentItemChanged
searchable configuration
Layouts
HttpURLConnection
46. It provides a single value - called an auth token that represents both the user's identity and the application's authorization to act on the user's behalf.
OAuth2
Extensible Markup Language (XML)
Layouts
ActionProvider
47. If permissions are missing - the application will get this at runtime.
SecurityException
single-pane
onDraw()
Destroyed - previous
48. This includes tools to help you identify problems in your layout performance.
XmlPullParser
Android SDK
ACTION_DOCK_EVENT
OnCurrentItemChanged
49. This can be used to draw previews of what the camera sensor is picking up.
NetworkInfo
HTTP
Activity
SurfaceView
50. Shows the actual amount of memory the application uses
Geocoder
onCreate() - onDestroy()
Application footprint
Layouts