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. Callback method: Another activity is taking focus
Parser
android.hardware.touchscreen
SurfaceView
onPause();
2. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
Intents
View
OnCurrentItemChanged
SurfaceView
3. It is a set of rules for encoding documents in machine-readable form.
Application resources
InputStream
Extensible Markup Language (XML)
Dalvik Debug Monitor Server
4. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
Low power
Scroller
BatteryManager
Google Cloud Messaging for Android (GCM)
5. It is a free service for sending messages to Android devices.
Scroller
PackageManager
Google Cloud Messaging (GCM)
single-pane
6. Once installed on a device - each Android application lives in its own ______
security sandbox
Canvas
Services
ConnectivityManager
7. When a new activity starts - it is pushed onto the ____ and takes user focus.
SearchView
Intent filters
Back stack
onMeasure()
8. Theseare a key part of Android applications that directly affect the user experience.
Layouts
Linux based
ETC1
ACTION_SEND
9. 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.
Component - screen
OAuth2
BatteryManager
getInputStream()
10. This is used to fetch the account names that the user has stored on their device.
onCreate() - onDestroy()
isConnected()
Activity
Account Manager
11. ______ are views derived from ViewGroup that provide a unique layout model for its child views
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
AccountAuthenticatorActivity
Component - screen
Layouts
12. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
EXTRA_STREAM
Full power
Scroller
Linux based
13. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
AsyncTask
onAudioFocusChange()
Paint
Stack
14. 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 ___ .
onStop();
Destroyed - previous
Stack
Google Play
15. This class provides one of the simplest ways to fire off a new task from the UI thread.
Emulator
Destroyed - previous
AsyncTask
ViewStub
16. Whenever the device is docked or undocked - this action is broadcast.
OAuth2 protocol
ACTION_DOCK_EVENT
AttributeSet
Dalvik Virtual Machine
17. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
OAuth2 protocol
AsyncTask
resolveSizeAndState()
onDraw()
18. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
drawBitmap()
inflate()
SettingsActivity
Stack
19. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
LTE
Hierarchy Viewer
AsyncTask
resolveSizeAndState()
20. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
SQLite
visible
AbstractAccountAuthenticator
Emulator
21. 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?
onDestroy();
View
OAuth2
AttributeSet
22. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ACTION_SEND
OAuth2 protocol
ConnectivityManager
LTE
23. On a rooted device - the credentials would be readable by anyone with this access to the device.
Google
setVolumeControlStream()
AsyncTask
adb
24. Callback method: The activity is no longer visible.
Open Handset Alliance
onStop();
Entire
auth scope
25. You can set the layout as the UI for your activity with passing the resource ID for the layout.
setContentView
Google
Stack
Account
26. It is a subclass of PreferenceActivity.
Google Play
Intents
SettingsActivity
android.hardware.touchscreen
27. Where Android is currently primarily developed
LocationManager
Google
drawText()
ACTION_DOCK_EVENT
28. It is a string that defines the specific type of access your app is asking for.
auth scope
AttributeSet
single-pane
InputStream
29. This is the simplest way to monitor device state changes.
BroadcastReceiver
Activity
ACTION_DOCK_EVENT
onCreate() - onDestroy()
30. Android provides this handy method to direct volume key presses to the audio stream the user specify.
PieChart
AccountAuthenticatorActivity
Parser
setVolumeControlStream()
31. Represents the visual representation of an Android application
SearchView
Layouts
Activity
onCreate() - onDestroy()
32. To define custom attributes - add this resources to your project.
Canvas
<declare-styleable>
Objects Activity lifecycle
getInputStream()
33. This class exposes a number of methods for applications to receive location updates.
Full power
Ducking
LocationManager
When the activity resumes
34. This includes tools to help you identify problems in your layout performance.
Android SDK
ShareActionProvider
Open Handset Alliance
SQLiteOpenHelper
35. Evaluation of registered components
Implicit intent
Advanced Training
Activity
searchable configuration
36. Callback method: The activity is no longer visible
onSearchRequested()
Ducking
onStop();
onCreate();
37. The minimal energy state during which no network connection is active or required.
onResume();
Serialize
Standby
Explicit intent
38. It inform the system what intents an application component is willing to accept.
Application resources
Intent filters
Layouts
Layouts
39. Binary data is shared using the ACTION_SEND action combined with setting the appropriate MIME type and placing the URI to the data in an extra named called?
adb
View
SecurityException
EXTRA_STREAM
40. Sharing of data in Android is done via________
Service Content Provider
Application resources
Explicit intent
PieChart
41. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
Dots per inch
getInputStream()
HttpURLConnection
Entire
42. The helper method is used to create the final width and height values.
ACTION_SEND
onStop();
resolveSizeAndState()
ACTION_DOCK_EVENT
43. This is used to register and de-register your media button event receiver.
ActionProvider
Intents
AudioManager
Objects Activity lifecycle
44. Amode where the action bar is set up with tabs for navigation.
dual-
Geocoder
Activity
XmlPullParser
45. The dock-state details are included as an extra in a sticky broadcast of this action.
ViewStub
Application resources
ACTION_DOCK_EVENT
SearchView
46. This is used for the need of finer control over your view's layout parameters.
SurfaceHolder.Callback
onMeasure()
OAuth2 protocol
auth scope
47. If permissions are missing - the application will get this at runtime.
Destroyed - previous
AudioManager
onResume();
SecurityException
48. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Component - screen
onCreate() - onDestroy()
Geocoder
49. For example - a ____ might be a button that initiates an action when the user touches it.
View
Activity
onDestroy();
Application footprint
50. Conversion of XML back to an object
Account
View
Deserialize
BatteryManager