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 minimal energy state during which no network connection is active or required.
Google Cloud Messaging (GCM)
setContentView
Standby
ConnectivityManager
2. A mode where navigation is set up with a spinner widget.
single-pane
GET_ACCOUNTS
Layouts
NetworkInfo
3. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
ViewStub
adb
BatteryManager
OnCurrentItemChanged
4. Most network-connected Android apps use this to send and receive data.
onCreate() - onDestroy()
single-pane
Wi-Fi radio
HTTP
5. It doesn't currently support the <merge/> tag in the layouts to be inflated.
security sandbox
SettingsActivity
When the activity resumes
ViewStub
6. A styleable entity that contains these two custom attributes: showText and labelPosition.
PieChart
onCreate() - onDestroy()
AbstractAccountAuthenticator
View
7. The helper method is used to create the final width and height values.
AsyncTask
Stack
resolveSizeAndState()
SettingsActivity
8. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
onCreate() - onDestroy()
BackupHelper
OnCurrentItemChanged
ViewStub
9. Callback method: The activity is about to be destroyed.
setVolumeControlStream()
onDestroy();
isConnected()
InputStream
10. This includes tools to help you identify problems in your layout performance.
Android SDK
searchable configuration
Low power
Google Cloud Messaging for Android (GCM)
11. Android request its permission using its ________
NetworkInfo
AndroidManifest.xml
View
Serialize
12. On a rooted device - the credentials would be readable by anyone with this access to the device.
SQLiteOpenHelper
Activity
adb
Emulator
13. Are used in activities to create the user interface and to interact with the user.
BatteryManager
Scroller
visible
Fragments
14. Use this to draw text.
Paint
Stack - back stack
BroadcastReceiver
drawText()
15. To define custom attributes - add this resources to your project.
PackageManager
Advanced Training
onResume();
<declare-styleable>
16. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
Google Play
OAuth2 protocol
AccountAuthenticatorActivity
Activity
17. These helpers are specialized classes for backing up certain kinds of data.
SQLiteOpenHelper
BackupHelper
LocationManager
onDestroy();
18. Perform background tasks without providing a user interface
OnCurrentItemChanged
Application footprint
Services
Serialize
19. A service in which programmers can offer their Android application to Android users.
ShareActionProvider
SearchView
ActionProvider
Google Play
20. In order to get a list of accounts on the device - your app needs this permission.
GET_ACCOUNTS
AttributeSet
searchable configuration
HTTP
21. Whenever the device is docked or undocked - this action is broadcast.
BroadcastReceiver
ACTION_DOCK_EVENT
Linux based
Objects Activity lifecycle
22. It is a set of rules for encoding documents in machine-readable form.
Extensible Markup Language (XML)
BroadcastReceiver
PackageManager
Widgets
23. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
onCreate() - onDestroy()
OAuth2
NetworkInfo
ViewStub
24. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
authenticator class
PackageManager
onMeasure()
Implicit intent
25. The dock-state details are included as an extra in a sticky broadcast of this action.
ACTION_DOCK_EVENT
setVolumeControlStream()
Deserialize
Destroyed - previous
26. 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
LocationManager
Linux based
SurfaceHolder.Callback
27. Android is __________.
Hierarchy Viewer
Ducking
Linux based
AccountAuthenticatorActivity
28. Necessary tools to develop Android applications
Android SDK
inflate()
EXTRA_STREAM
PieChart
29. Android system uses a special virtual machine to run java based applicatons
Dalvik Virtual Machine
Extensible Markup Language (XML)
Emulator
ACTION_SEND
30. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
onDraw()
Advanced Training
adb
Fragments
31. This widget as an item in the action bar is the preferred way to provide search in your app.
onStart() - onStop()
onResume();
Stack - back stack
SearchView
32. If permissions are missing - the application will get this at runtime.
onCreate();
OAuth2 protocol
SecurityException
Service Content Provider
33. When a new activity starts - it is pushed onto the ____ and takes user focus.
onDestroy();
Back stack
View
LTE
34. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Entire
Google Cloud Messaging for Android (GCM)
onStop();
AsyncTask
35. This is the simplest way to monitor device state changes.
touch
authenticator class
BroadcastReceiver
Linux based
36. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
LTE
ACTION_DOCK_EVENT
Explicit intent
onAudioFocusChange()
37. It is an efficient and maintainable way to parse XML on Android.
XmlPullParser
Entire
Stack
Geocoder
38. is run when running Android on the pc
Account Manager
Canvas
Emulator
GestureDetector
39. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Geocoder
ActionProvider
onDestroy();
BatteryManager
40. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
single-pane
SettingsActivity
Full power
auth scope
41. 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.
AbstractAccountAuthenticator
auth scope
XmlPullParser
Ducking
42. Relative to pixels and resolution screen
setVolumeControlStream()
PackageManager
Dots per inch
SettingsActivity
43. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
android.hardware.touchscreen
HttpURLConnection
Layouts
Google Cloud Messaging for Android (GCM)
44. It made implementing an effective and user friendly share action in your ActionBar even easier.
Open Handset Alliance
adb
ActionProvider
onStop();
45. Allow to combine loosely coupled components to perform certain tasks
Intents
AudioManager
GestureDetector
Android SDK
46. Sharing of data in Android is done via________
touch
Activity
drawBitmap()
Service Content Provider
47. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
Explicit intent
OAuth2
BatteryManager
HttpURLConnection
48. Conversion of XML back to an object
HTTP
Deserialize
GestureDetector
Back stack
49. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Lifecycle callback methods
AsyncTask
virtual table
EXTRA_STREAM
50. This class provides one of the simplest ways to fire off a new task from the UI thread.
ACTION_SEND
AsyncTask
adb
onDestroy();