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. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Linux based
Ducking
HTTP
Stack - back stack
2. Android provides this handy method to direct volume key presses to the audio stream the user specify.
ETC1
auth scope
setVolumeControlStream()
Standby
3. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
Service Content Provider
AbstractAccountAuthenticator
touch
Implicit intent
4. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
Hierarchy Viewer
Google Cloud Messaging (GCM)
onCreate();
onCreate() - onDestroy()
5. This widget as an item in the action bar is the preferred way to provide search in your app.
Account
SQLite
SearchView
Activity
6. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
android.hardware.touchscreen
View
onDestroy();
LTE
7. It is a string that defines the specific type of access your app is asking for.
InputStream
auth scope
ActionProvider
security sandbox
8. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
Standby
BroadcastReceiver
NetworkInfo
Implicit intent
9. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Geocoder
Dalvik Virtual Machine
auth scope
Android SDK
10. Converts XML Document to XML DOM
BatteryManager
Parser
Scroller
dual-
11. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
Intents
GET_ACCOUNTS
ACTION_SEND
authenticator class
12. The visible lifetime of an activity happens between the call to ____ and the call to ______
AttributeSet
Scroller
Destroyed - previous
onStart() - onStop()
13. For example - a ____ might be a button that initiates an action when the user touches it.
touch
drawBitmap()
authenticator class
View
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 ___ .
Stack
Extensible Markup Language (XML)
auth scope
Implicit intent
15. It is a set of rules for encoding documents in machine-readable form.
Dots per inch
SurfaceView
Extensible Markup Language (XML)
LTE
16. This is set up to animate for the duration of the fling.
Destroyed - previous
Open Handset Alliance
ValueAnimator
Android SDK
17. Use this to draw bitmaps.
drawBitmap()
ACTION_DOCK_EVENT
Dalvik Debug Monitor Server
Activity
18. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
ShareActionProvider
PackageManager
onAudioFocusChange()
Stack
19. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
LTE
OAuth2
visible
searchable configuration
20. 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
SecurityException
ConnectivityManager
BatteryManager
21. The dock-state details are included as an extra in a sticky broadcast of this action.
ACTION_SEND
isConnected()
Activity
ACTION_DOCK_EVENT
22. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
touch
Scroller
Google Play
SearchView
23. Shows the actual amount of memory the application uses
Application footprint
onStop();
drawText()
onDraw()
24. Amode where the action bar is set up with tabs for navigation.
Standby
dual-
Geocoder
AsyncTask
25. The most common way to define a layout using views is with an XML layout file saved in your ______
ConnectivityManager
Application resources
ViewStub
Google Cloud Messaging for Android (GCM)
26. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
HttpURLConnection
SearchView
Activity
SurfaceView
27. It provides a simple way to perform your work outside the main thread.
AsyncTask
searchable configuration
Account
Open Handset Alliance
28. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
BroadcastReceiver
Low power
XmlPullParser
Google Cloud Messaging (GCM)
29. This is the simplest way to monitor device state changes.
virtual table
OnCurrentItemChanged
BroadcastReceiver
onStop();
30. 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?
Account Manager
touch
onCreate();
EXTRA_STREAM
31. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
AccountAuthenticatorActivity
onCreate() - onDestroy()
Low power
drawBitmap()
32. Conversion of XML back to an object
Account
Deserialize
HttpURLConnection
Parser
33. 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.
ACTION_DOCK_EVENT
Standby
OAuth2 protocol
Ducking
34. Theseare a key part of Android applications that directly affect the user experience.
ConnectivityManager
Layouts
ACTION_SEND
<declare-styleable>
35. Direct component call in Android
Explicit intent
onMeasure()
Activity
Service Content Provider
36. It is used to load images in a background thread - then apply them to the UI once finished.
Linux based
AsyncTask
Ducking
onStop();
37. It inform the system what intents an application component is willing to accept.
Android SDK
Intent filters
Google Cloud Messaging (GCM)
BroadcastReceiver
38. Most network-connected Android apps use this to send and receive data.
View
View
HTTP
resolveSizeAndState()
39. Callback method: The activity has become visible.
NetworkInfo
onResume();
Activity
Deserialize
40. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Full power
Component - screen
ACTION_DOCK_EVENT
setVolumeControlStream()
41. A service in which programmers can offer their Android application to Android users.
onStart() - onStop()
onPause();
Destroyed - previous
Google Play
42. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
HTTP
SurfaceView
Google
43. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
getInputStream()
resolveSizeAndState()
Dots per inch
onDraw()
44. 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
AndroidManifest.xml
Ducking
Component - screen
SettingsActivity
45. In most cases this will offer greater bandwidth at a significantly lower battery cost.
AccountAuthenticatorActivity
HttpURLConnection
Explicit intent
Wi-Fi radio
46. This is an interface which is used to pass image data from the camera hardware to the application.
SurfaceHolder.Callback
onPause();
Back stack
LocationManager
47. An open source stand alone database
AndroidManifest.xml
onPause();
SQLite
Application footprint
48. This is a readable source of bytes.
LocationManager
AccountAuthenticatorActivity
InputStream
OnCurrentItemChanged
49. Use this to draw text.
onCreate() - onDestroy()
drawText()
Dalvik Debug Monitor Server
ACTION_SEND
50. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
onDestroy();
AudioManager
android.hardware.touchscreen
security sandbox