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 receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
onSearchRequested()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
View
onDestroy();
2. 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?
LocationManager
Scroller
ACTION_DOCK_EVENT
AttributeSet
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
SQLiteOpenHelper
Open Handset Alliance
AttributeSet
Destroyed - previous
4. A styleable entity that contains these two custom attributes: showText and labelPosition.
LocationManager
authenticator class
Service Content Provider
PieChart
5. To define custom attributes - add this resources to your project.
Deserialize
LTE
virtual table
<declare-styleable>
6. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
onPause();
AttributeSet
Scroller
LTE
7. Callback method: The activity has become visible.
Intent filters
<declare-styleable>
onResume();
XmlPullParser
8. Whenever the device is docked or undocked - this action is broadcast.
ACTION_DOCK_EVENT
ACTION_SEND
InputStream
Services
9. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
drawBitmap()
LTE
BatteryManager
OnCurrentItemChanged
10. It is a free service for sending messages to Android devices.
onStop();
Stack - back stack
Google Cloud Messaging (GCM)
EXTRA_STREAM
11. Allow to combine loosely coupled components to perform certain tasks
Intents
Stack - back stack
Google Cloud Messaging for Android (GCM)
HTTP
12. It is called to invoke the search dialog on older devices.
drawBitmap()
onSearchRequested()
LocationManager
HttpURLConnection
13. Callback method: The activity is about to be destroyed.
BroadcastReceiver
NetworkInfo
AsyncTask
onDestroy();
14. Direct component call in Android
Back stack
Open Handset Alliance
onStop();
Explicit intent
15. Amode where the action bar is set up with tabs for navigation.
Implicit intent
Serialize
dual-
HTTP
16. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
visible
ViewStub
Standby
onAudioFocusChange()
17. Shows the actual amount of memory the application uses
NetworkInfo
Scroller
Application footprint
onSearchRequested()
18. Sharing of data in Android is done via________
onDraw()
Service Content Provider
drawBitmap()
AccountAuthenticatorActivity
19. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
onStop();
drawBitmap()
visible
SurfaceView
20. This broadcasts an action whenever the device is connected or disconnected from power.
BatteryManager
Deserialize
Stack
Account
21. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
adb
GestureDetector
onDraw()
View
22. The most common way to define a layout using views is with an XML layout file saved in your ______
View
onMeasure()
Application resources
onResume();
23. This is used to fetch the account names that the user has stored on their device.
onDraw()
Objects Activity lifecycle
Account Manager
dual-
24. ______ are views derived from ViewGroup that provide a unique layout model for its child views
onCreate();
EXTRA_STREAM
OAuth2 protocol
Layouts
25. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
onDraw()
ConnectivityManager
AndroidManifest.xml
Application resources
26. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
AccountAuthenticatorActivity
ACTION_DOCK_EVENT
LocationManager
OAuth2 protocol
27. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
Scroller
inflate()
View
EXTRA_STREAM
28. Android request its permission using its ________
<declare-styleable>
AndroidManifest.xml
inflate()
LocationManager
29. 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.
Geocoder
Back stack
Activity
GET_ACCOUNTS
30. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
ViewStub
Widgets
setVolumeControlStream()
InputStream
31. 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.
touch
PackageManager
Objects Activity lifecycle
SearchView
32. You can set the layout as the UI for your activity with passing the resource ID for the layout.
PieChart
Stack - back stack
GestureDetector
setContentView
33. The industry standard way to deal with authentication to third-party services.
Implicit intent
OAuth2 protocol
SearchView
When the activity resumes
34. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Intent filters
SQLiteOpenHelper
SecurityException
Canvas
35. If permissions are missing - the application will get this at runtime.
onCreate();
SecurityException
dual-
adb
36. This is an interface which is used to pass image data from the camera hardware to the application.
Fragments
SurfaceHolder.Callback
onPause();
Linux based
37. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Hierarchy Viewer
Stack
ETC1
AbstractAccountAuthenticator
38. is run when running Android on the pc
Extensible Markup Language (XML)
security sandbox
onAudioFocusChange()
Emulator
39. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
SecurityException
HttpURLConnection
Entire
LocationManager
40. Are used in activities to create the user interface and to interact with the user.
ACTION_DOCK_EVENT
onMeasure()
Fragments
Serialize
41. This is used for the need of finer control over your view's layout parameters.
onMeasure()
ShareActionProvider
Ducking
Canvas
42. For example - a ____ might be a button that initiates an action when the user touches it.
View
SearchView
GestureDetector
inflate()
43. 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.
Google
Ducking
Objects Activity lifecycle
ActionProvider
44. It inform the system what intents an application component is willing to accept.
Android SDK
Explicit intent
Extensible Markup Language (XML)
Intent filters
45. This action is used in sending text content from one activity to another.
drawBitmap()
ACTION_SEND
Android SDK
Activity
46. Once installed on a device - each Android application lives in its own ______
GET_ACCOUNTS
security sandbox
virtual table
ACTION_DOCK_EVENT
47. 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 ___ .
NetworkInfo
ShareActionProvider
Stack
Service Content Provider
48. This is the simplest way to monitor device state changes.
Google Cloud Messaging (GCM)
BroadcastReceiver
Widgets
visible
49. This is used to check that you're actually connected to the Internet and what type of connection is in place.
Application footprint
Explicit intent
Full power
ConnectivityManager
50. This object contains an account name - which for Google accounts is an email address.
SQLiteOpenHelper
Account
SurfaceHolder.Callback
Dalvik Debug Monitor Server