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. This is used to check that you're actually connected to the Internet and what type of connection is in place.
visible
inflate()
ConnectivityManager
View
2. Shows the actual amount of memory the application uses
Implicit intent
AudioManager
onResume();
Application footprint
3. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Google Cloud Messaging for Android (GCM)
SecurityException
SQLiteOpenHelper
Extensible Markup Language (XML)
4. When a new activity starts - it is pushed onto the ____ and takes user focus.
onDestroy();
GestureDetector
Back stack
Service Content Provider
5. ______ are views derived from ViewGroup that provide a unique layout model for its child views
SurfaceView
Back stack
AudioManager
Layouts
6. The minimal energy state during which no network connection is active or required.
inflate()
Service Content Provider
Standby
Intents
7. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
Back stack
Parser
isConnected()
HttpURLConnection
8. This action is used in sending text content from one activity to another.
ACTION_DOCK_EVENT
Low power
onCreate();
ACTION_SEND
9. 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
Component - screen
Stack - back stack
onStart() - onStop()
onDestroy();
10. The most common way to define a layout using views is with an XML layout file saved in your ______
SettingsActivity
Stack
Open Handset Alliance
Application resources
11. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
Hierarchy Viewer
Objects Activity lifecycle
Application footprint
View
12. 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.
Activity
Account
Application footprint
OnCurrentItemChanged
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.
onAudioFocusChange()
SQLiteOpenHelper
ACTION_SEND
PieChart
14. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
Layouts
virtual table
ActionProvider
onAudioFocusChange()
15. Android system uses a special virtual machine to run java based applicatons
Advanced Training
onSearchRequested()
auth scope
Dalvik Virtual Machine
16. It is a free service for sending messages to Android devices.
onDestroy();
Google Cloud Messaging (GCM)
ActionProvider
View
17. Where Android is currently primarily developed
getInputStream()
Google
AccountAuthenticatorActivity
onResume();
18. Android is __________.
onAudioFocusChange()
SearchView
Linux based
Explicit intent
19. A mode where navigation is set up with a spinner widget.
touch
ConnectivityManager
single-pane
auth scope
20. If permissions are missing - the application will get this at runtime.
SecurityException
dual-
onStop();
Destroyed - previous
21. Once installed on a device - each Android application lives in its own ______
Intent filters
Deserialize
security sandbox
Component - screen
22. Use this to draw text.
onStart() - onStop()
Emulator
drawText()
ActionProvider
23. It doesn't currently support the <merge/> tag in the layouts to be inflated.
Dalvik Debug Monitor Server
getInputStream()
ViewStub
SQLiteOpenHelper
24. The entire lifetime of an activity happens between the call to _____ and the call to _____
onPause();
SurfaceView
onCreate() - onDestroy()
isConnected()
25. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
drawText()
Canvas
onCreate() - onDestroy()
AsyncTask
26. For example - a ____ might be a button that initiates an action when the user touches it.
onStop();
SurfaceView
BatteryManager
View
27. This can be used to draw previews of what the camera sensor is picking up.
PackageManager
setVolumeControlStream()
GET_ACCOUNTS
SurfaceView
28. It is available starting with API Level 14 and higher.
onCreate() - onDestroy()
onCreate() - onDestroy()
ShareActionProvider
Geocoder
29. This is used for the need of finer control over your view's layout parameters.
Implicit intent
setVolumeControlStream()
Google Cloud Messaging for Android (GCM)
onMeasure()
30. Callback method: The activity is no longer visible
Linux based
onStop();
OAuth2 protocol
Deserialize
31. This is used to fetch the account names that the user has stored on their device.
Account Manager
Low power
authenticator class
Implicit intent
32. 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?
AttributeSet
auth scope
SecurityException
GestureDetector
33. It is an efficient and maintainable way to parse XML on Android.
XmlPullParser
SurfaceHolder.Callback
AudioManager
Deserialize
34. It is a subclass of PreferenceActivity.
SurfaceHolder.Callback
SettingsActivity
Account Manager
visible
35. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Account
SQLite
setContentView
android.hardware.touchscreen
36. Amode where the action bar is set up with tabs for navigation.
Geocoder
AudioManager
dual-
SQLite
37. This is used to register and de-register your media button event receiver.
<declare-styleable>
SurfaceHolder.Callback
AudioManager
BackupHelper
38. Represents the visual representation of an Android application
OAuth2
Activity
SurfaceHolder.Callback
PackageManager
39. The dock-state details are included as an extra in a sticky broadcast of this action.
Low power
ACTION_DOCK_EVENT
SecurityException
Destroyed - previous
40. Relative to pixels and resolution screen
Dots per inch
Android SDK
onResume();
setContentView
41. This is an interface which is used to pass image data from the camera hardware to the application.
Android SDK
onDraw()
Emulator
SurfaceHolder.Callback
42. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
Google
setVolumeControlStream()
Services
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
43. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
InputStream
Dalvik Virtual Machine
Widgets
Application resources
44. You can set the layout as the UI for your activity with passing the resource ID for the layout.
Dots per inch
setContentView
onCreate() - onDestroy()
virtual table
45. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
AccountAuthenticatorActivity
OAuth2 protocol
Dalvik Debug Monitor Server
ValueAnimator
46. Callback method: The activity is about to be destroyed.
drawBitmap()
Activity
onDestroy();
ValueAnimator
47. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
LTE
Implicit intent
adb
Scroller
48. It is used to load images in a background thread - then apply them to the UI once finished.
setVolumeControlStream()
AsyncTask
ConnectivityManager
onDestroy();
49. Converts XML Document to XML DOM
InputStream
drawBitmap()
Implicit intent
Parser
50. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
AttributeSet
ETC1
Serialize
NetworkInfo