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. A mode where navigation is set up with a spinner widget.
single-pane
ViewStub
Component - screen
Full power
2. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Wi-Fi radio
Objects Activity lifecycle
inflate()
android.hardware.touchscreen
3. This class provides one of the simplest ways to fire off a new task from the UI thread.
Hierarchy Viewer
AsyncTask
Full power
Activity
4. Whenever the device is docked or undocked - this action is broadcast.
isConnected()
Account
virtual table
ACTION_DOCK_EVENT
5. An intermediate state that uses around 50% of the battery power at the full state.
View
Activity
Low power
Google Play
6. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
HTTP
Open Handset Alliance
Dots per inch
visible
7. Relative to pixels and resolution screen
Dots per inch
Service Content Provider
Account
View
8. ______ are views derived from ViewGroup that provide a unique layout model for its child views
OAuth2
Scroller
Layouts
onDestroy();
9. 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?
View
ValueAnimator
AttributeSet
dual-
10. 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
AttributeSet
ConnectivityManager
Component - screen
LocationManager
11. Most network-connected Android apps use this to send and receive data.
HTTP
ACTION_DOCK_EVENT
Paint
Application footprint
12. Android is __________.
OnCurrentItemChanged
Application resources
Linux based
LocationManager
13. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Google
SQLiteOpenHelper
inflate()
LocationManager
14. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
AccountAuthenticatorActivity
ACTION_DOCK_EVENT
SQLiteOpenHelper
virtual table
15. You can set the layout as the UI for your activity with passing the resource ID for the layout.
AttributeSet
setContentView
security sandbox
Parser
16. Converts XML Document to XML DOM
Explicit intent
touch
Open Handset Alliance
Parser
17. Conversion of an object to XML
inflate()
Low power
Google Play
Serialize
18. When a new activity starts - it is pushed onto the ____ and takes user focus.
Back stack
Intents
BatteryManager
Service Content Provider
19. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Full power
Account Manager
PieChart
SQLiteOpenHelper
20. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
SQLite
Lifecycle callback methods
LTE
AccountAuthenticatorActivity
21. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
SecurityException
ViewStub
BroadcastReceiver
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
22. The helper method is used to create the final width and height values.
resolveSizeAndState()
getInputStream()
Account Manager
AudioManager
23. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
ConnectivityManager
resolveSizeAndState()
Dalvik Debug Monitor Server
BroadcastReceiver
24. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Geocoder
Dalvik Virtual Machine
Explicit intent
SurfaceHolder.Callback
25. These helpers are specialized classes for backing up certain kinds of data.
BackupHelper
AsyncTask
Extensible Markup Language (XML)
Low power
26. The visible lifetime of an activity happens between the call to ____ and the call to ______
Intent filters
setContentView
onStart() - onStop()
Fragments
27. Android provides this handy method to direct volume key presses to the audio stream the user specify.
Application resources
Canvas
setVolumeControlStream()
SurfaceHolder.Callback
28. An open source group led by Google
onResume();
setVolumeControlStream()
Open Handset Alliance
Dalvik Virtual Machine
29. is run when running Android on the pc
SurfaceView
Scroller
Emulator
onCreate() - onDestroy()
30. This is an interface which is used to pass image data from the camera hardware to the application.
onPause();
onCreate() - onDestroy()
Advanced Training
SurfaceHolder.Callback
31. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Serialize
Hierarchy Viewer
Dots per inch
onCreate() - onDestroy()
32. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
onCreate() - onDestroy()
adb
setVolumeControlStream()
Widgets
33. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
SearchView
Stack - back stack
XmlPullParser
Google Play
34. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
Objects Activity lifecycle
ViewStub
Dots per inch
onStop();
35. 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 ___ .
Lifecycle callback methods
Stack
Account Manager
Layouts
36. This is used to register and de-register your media button event receiver.
touch
AudioManager
onPause();
Stack - back stack
37. Use this to draw text.
Canvas
Stack
setContentView
drawText()
38. It is an efficient and maintainable way to parse XML on Android.
Account
XmlPullParser
HTTP
Account Manager
39. To create an activity - you must create a subclass of
LocationManager
Dalvik Virtual Machine
ConnectivityManager
Activity
40. Shows the actual amount of memory the application uses
OnCurrentItemChanged
Standby
Application footprint
onDraw()
41. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
Wi-Fi radio
LocationManager
inflate()
isConnected()
42. Callback method: The activity has become visible.
onStart() - onStop()
getInputStream()
onResume();
Google Play
43. This object contains an account name - which for Google accounts is an email address.
dual-
Account
Emulator
setVolumeControlStream()
44. Android system uses a special virtual machine to run java based applicatons
BroadcastReceiver
Dalvik Virtual Machine
Android SDK
onCreate() - onDestroy()
45. This search feature was introduced in Android 3.0 and can maintain backward compatibility with older versions of Android by using the default search dialog provided by the system.
HTTP
SearchView
isConnected()
SQLiteOpenHelper
46. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Google Play
Widgets
onCreate();
Entire
47. This is the main class through which your application can access location services on Android.
LocationManager
authenticator class
Intents
SQLiteOpenHelper
48. Android request its permission using its ________
adb
AndroidManifest.xml
Service Content Provider
resolveSizeAndState()
49. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
SurfaceView
Activity
LTE
BroadcastReceiver
50. To define custom attributes - add this resources to your project.
<declare-styleable>
Google Play
HttpURLConnection
Google