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 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
onResume();
Destroyed - previous
Widgets
Serialize
2. 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 ___ .
Implicit intent
Stack
ViewStub
Stack - back stack
3. This action is used in sending text content from one activity to another.
ACTION_SEND
onResume();
BroadcastReceiver
onStop();
4. In order to get a list of accounts on the device - your app needs this permission.
GET_ACCOUNTS
onAudioFocusChange()
auth scope
Google
5. This is the main class through which your application can access location services on Android.
BroadcastReceiver
Explicit intent
LocationManager
Component - screen
6. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
SQLite
Full power
Account Manager
ViewStub
7. Perform background tasks without providing a user interface
onMeasure()
NetworkInfo
SearchView
Services
8. Whenever the device is docked or undocked - this action is broadcast.
ACTION_DOCK_EVENT
PieChart
onStop();
searchable configuration
9. This class exposes a number of methods for applications to receive location updates.
ACTION_SEND
Stack
Activity
LocationManager
10. Relative to pixels and resolution screen
Dots per inch
Dalvik Debug Monitor Server
Geocoder
Application footprint
11. Converts XML Document to XML DOM
Parser
AndroidManifest.xml
onResume();
onStop();
12. 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.
AsyncTask
Android SDK
Ducking
PackageManager
13. To create an activity - you must create a subclass of
PackageManager
drawBitmap()
Objects Activity lifecycle
Activity
14. This is used to check that you're actually connected to the Internet and what type of connection is in place.
AudioManager
ConnectivityManager
onDraw()
resolveSizeAndState()
15. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
HTTP
Stack - back stack
onMeasure()
BackupHelper
16. Callback method: The activity has become visible.
Android SDK
Dots per inch
Account
onResume();
17. This is the simplest way to monitor device state changes.
Parser
BroadcastReceiver
onResume();
Activity
18. The helper method is used to create the final width and height values.
SearchView
resolveSizeAndState()
Geocoder
drawBitmap()
19. This is an interface which is used to pass image data from the camera hardware to the application.
HttpURLConnection
SurfaceHolder.Callback
Dalvik Debug Monitor Server
visible
20. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
EXTRA_STREAM
HTTP
LTE
onStart() - onStop()
21. A styleable entity that contains these two custom attributes: showText and labelPosition.
GestureDetector
drawText()
PieChart
PackageManager
22. Evaluation of registered components
Entire
Back stack
Implicit intent
onCreate() - onDestroy()
23. 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?
Serialize
AttributeSet
ETC1
Implicit intent
24. It is a string that defines the specific type of access your app is asking for.
SettingsActivity
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
auth scope
searchable configuration
25. Callback method: The activity is being created.
Standby
onCreate() - onDestroy()
onCreate();
virtual table
26. This includes tools to help you identify problems in your layout performance.
AccountAuthenticatorActivity
Destroyed - previous
Account
Android SDK
27. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
virtual table
onCreate() - onDestroy()
SQLiteOpenHelper
getInputStream()
28. 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.
ETC1
SearchView
AndroidManifest.xml
Widgets
29. 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
PackageManager
AsyncTask
Advanced Training
Android SDK
30. This is used to register and de-register your media button event receiver.
GestureDetector
Application resources
SettingsActivity
AudioManager
31. It is an efficient and maintainable way to parse XML on Android.
XmlPullParser
getInputStream()
GestureDetector
Entire
32. You can set the layout as the UI for your activity with passing the resource ID for the layout.
setVolumeControlStream()
setContentView
android.hardware.touchscreen
ACTION_DOCK_EVENT
33. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Account Manager
Full power
ActionProvider
Stack - back stack
34. It inform the system what intents an application component is willing to accept.
inflate()
onCreate() - onDestroy()
Intent filters
Fragments
35. 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.
AccountAuthenticatorActivity
View
Ducking
OAuth2
36. It is a set of rules for encoding documents in machine-readable form.
onCreate() - onDestroy()
security sandbox
Wi-Fi radio
Extensible Markup Language (XML)
37. This widget as an item in the action bar is the preferred way to provide search in your app.
Account Manager
onStop();
resolveSizeAndState()
SearchView
38. The dock-state details are included as an extra in a sticky broadcast of this action.
ACTION_DOCK_EVENT
onAudioFocusChange()
Stack
android.hardware.touchscreen
39. Android provides this handy method to direct volume key presses to the audio stream the user specify.
Hierarchy Viewer
View
HTTP
setVolumeControlStream()
40. Amode where the action bar is set up with tabs for navigation.
Component - screen
dual-
Scroller
ACTION_DOCK_EVENT
41. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Destroyed - previous
Scroller
GET_ACCOUNTS
OnCurrentItemChanged
42. The visible lifetime of an activity happens between the call to ____ and the call to ______
Google Cloud Messaging (GCM)
Google Play
Extensible Markup Language (XML)
onStart() - onStop()
43. A service in which programmers can offer their Android application to Android users.
SearchView
HTTP
onStop();
Google Play
44. Represents the visual representation of an Android application
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
security sandbox
SearchView
Activity
45. This class is the basis for handling flywheel-style fling gestures.
onDraw()
Activity
LocationManager
Scroller
46. It made implementing an effective and user friendly share action in your ActionBar even easier.
ActionProvider
EXTRA_STREAM
Hierarchy Viewer
dual-
47. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
NetworkInfo
GestureDetector
LTE
Lifecycle callback methods
48. Sharing of data in Android is done via________
BatteryManager
Service Content Provider
Wi-Fi radio
PieChart
49. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
dual-
Advanced Training
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Back stack
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.
Activity
android.hardware.touchscreen
SearchView
OAuth2