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. You can set the layout as the UI for your activity with passing the resource ID for the layout.
android.hardware.touchscreen
Objects Activity lifecycle
setContentView
single-pane
2. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Dalvik Debug Monitor Server
Advanced Training
AttributeSet
Deserialize
3. This provides methods to define line's color - whether to fill a rectangle with a color or leave it empty - and defines the color - style - font - and so forth of each shape you draw.
LocationManager
Services
Widgets
Paint
4. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Dots per inch
AudioManager
searchable configuration
Full power
5. Where Android is currently primarily developed
BackupHelper
Google
AccountAuthenticatorActivity
<declare-styleable>
6. The dock-state details are included as an extra in a sticky broadcast of this action.
EXTRA_STREAM
Paint
getInputStream()
ACTION_DOCK_EVENT
7. Represents the visual representation of an Android application
Explicit intent
Wi-Fi radio
Application footprint
Activity
8. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
<declare-styleable>
Stack - back stack
Widgets
onCreate() - onDestroy()
9. This can be used to draw previews of what the camera sensor is picking up.
InputStream
SurfaceView
AsyncTask
ActionProvider
10. Callback method: Another activity is taking focus
Geocoder
onCreate();
onPause();
Scroller
11. It is used to load images in a background thread - then apply them to the UI once finished.
visible
touch
AsyncTask
ShareActionProvider
12. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
GET_ACCOUNTS
Extensible Markup Language (XML)
AbstractAccountAuthenticator
AsyncTask
13. An open source group led by Google
Wi-Fi radio
Open Handset Alliance
Dots per inch
onStop();
14. 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?
LTE
AttributeSet
GET_ACCOUNTS
Canvas
15. The minimal energy state during which no network connection is active or required.
Google Cloud Messaging (GCM)
<declare-styleable>
Application resources
Standby
16. Callback method: The activity is being created.
Intents
AndroidManifest.xml
onCreate();
HTTP
17. Use this to draw bitmaps.
HttpURLConnection
isConnected()
drawBitmap()
AsyncTask
18. It is called to invoke the search dialog on older devices.
NetworkInfo
onSearchRequested()
ACTION_SEND
ACTION_DOCK_EVENT
19. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
android.hardware.touchscreen
Geocoder
Layouts
ValueAnimator
20. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
View
onAudioFocusChange()
Application footprint
setVolumeControlStream()
21. It doesn't currently support the <merge/> tag in the layouts to be inflated.
BackupHelper
drawText()
AsyncTask
ViewStub
22. In most cases this will offer greater bandwidth at a significantly lower battery cost.
security sandbox
Wi-Fi radio
onStart() - onStop()
Extensible Markup Language (XML)
23. This is the most common input event in the Android system.
touch
AsyncTask
ViewStub
onCreate() - onDestroy()
24. This object contains an account name - which for Google accounts is an email address.
onAudioFocusChange()
adb
Scroller
Account
25. Conversion of an object to XML
GET_ACCOUNTS
onCreate() - onDestroy()
Serialize
LocationManager
26. If permissions are missing - the application will get this at runtime.
LocationManager
Android SDK
Serialize
SecurityException
27. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
touch
Implicit intent
Standby
virtual table
28. A styleable entity that contains these two custom attributes: showText and labelPosition.
onCreate() - onDestroy()
PieChart
Intent filters
Wi-Fi radio
29. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
virtual table
AbstractAccountAuthenticator
When the activity resumes
ConnectivityManager
30. Once installed on a device - each Android application lives in its own ______
BackupHelper
Layouts
Fragments
security sandbox
31. Sharing of data in Android is done via________
Android SDK
Hierarchy Viewer
Service Content Provider
BroadcastReceiver
32. Direct component call in Android
PieChart
Low power
LocationManager
Explicit intent
33. This is used to fetch the account names that the user has stored on their device.
Stack
SearchView
Service Content Provider
Account Manager
34. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
Scroller
BatteryManager
ConnectivityManager
AsyncTask
35. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
View
Wi-Fi radio
ViewStub
Android SDK
36. Callback method: The activity is about to be destroyed.
AsyncTask
Layouts
Serialize
onDestroy();
37. An intermediate state that uses around 50% of the battery power at the full state.
BroadcastReceiver
SurfaceView
single-pane
Low power
38. It is a string that defines the specific type of access your app is asking for.
auth scope
Account Manager
Layouts
ConnectivityManager
39. Perform background tasks without providing a user interface
AsyncTask
Services
Layouts
ValueAnimator
40. To define custom attributes - add this resources to your project.
<declare-styleable>
Extensible Markup Language (XML)
Account
searchable configuration
41. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Low power
onStop();
Entire
Wi-Fi radio
42. Android is __________.
Linux based
Application resources
setContentView
SearchView
43. This is an interface which is used to pass image data from the camera hardware to the application.
drawBitmap()
GestureDetector
setContentView
SurfaceHolder.Callback
44. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Layouts
onCreate() - onDestroy()
SearchView
AbstractAccountAuthenticator
45. This broadcasts an action whenever the device is connected or disconnected from power.
OAuth2 protocol
virtual table
ValueAnimator
BatteryManager
46. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
Service Content Provider
security sandbox
searchable configuration
AttributeSet
47. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
setContentView
LocationManager
android.hardware.touchscreen
SettingsActivity
48. Android provides this handy method to direct volume key presses to the audio stream the user specify.
setVolumeControlStream()
ViewStub
searchable configuration
Activity
49. A service in which programmers can offer their Android application to Android users.
AttributeSet
Emulator
BatteryManager
Google Play
50. An Activity is an application ______ that provides a _______ 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
Application footprint
Component - screen
Activity
SQLiteOpenHelper