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 ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Lifecycle callback methods
onStop();
ViewStub
Entire
2. Amode where the action bar is set up with tabs for navigation.
android.hardware.touchscreen
ViewStub
Low power
dual-
3. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
AndroidManifest.xml
virtual table
Account Manager
SettingsActivity
4. Shows the actual amount of memory the application uses
Application footprint
Widgets
Serialize
Activity
5. Callback method: The activity is no longer visible.
onStop();
Google Play
Stack
Scroller
6. This widget as an item in the action bar is the preferred way to provide search in your app.
Dalvik Debug Monitor Server
SearchView
Explicit intent
View
7. It is a free service for sending messages to Android devices.
onDestroy();
Paint
Google Cloud Messaging (GCM)
View
8. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
Stack
HTTP
authenticator class
SettingsActivity
9. The dock-state details are included as an extra in a sticky broadcast of this action.
Services
setContentView
Standby
ACTION_DOCK_EVENT
10. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
auth scope
Account
visible
resolveSizeAndState()
11. Callback method: The activity is no longer visible
Hierarchy Viewer
Activity
onStop();
Objects Activity lifecycle
12. Evaluation of registered components
Account
BatteryManager
Fragments
Implicit intent
13. The most common way to define a layout using views is with an XML layout file saved in your ______
onStop();
touch
Application resources
OnCurrentItemChanged
14. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
SearchView
Full power
Objects Activity lifecycle
View
15. This is an interface which is used to pass image data from the camera hardware to the application.
Application footprint
NetworkInfo
onResume();
SurfaceHolder.Callback
16. This is used to convert raw touch events into gestures.
GestureDetector
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
onCreate() - onDestroy()
AsyncTask
17. Represents the visual representation of an Android application
BroadcastReceiver
Activity
ViewStub
<declare-styleable>
18. This is used to register and de-register your media button event receiver.
onStop();
SurfaceView
Full power
AudioManager
19. This class is the basis for handling flywheel-style fling gestures.
Entire
Scroller
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
SQLiteOpenHelper
20. When a new activity starts - it is pushed onto the ____ and takes user focus.
Activity
Layouts
Back stack
ViewStub
21. The industry standard way to deal with authentication to third-party services.
security sandbox
Back stack
onStop();
OAuth2 protocol
22. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
PieChart
onCreate() - onDestroy()
onDraw()
Service Content Provider
23. This is set up to animate for the duration of the fling.
Services
ValueAnimator
Geocoder
adb
24. The minimal energy state during which no network connection is active or required.
ETC1
AccountAuthenticatorActivity
NetworkInfo
Standby
25. Direct component call in Android
Ducking
Explicit intent
onStart() - onStop()
Activity
26. is run when running Android on the pc
security sandbox
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Emulator
Application footprint
27. 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?
drawText()
onCreate() - onDestroy()
SQLite
AttributeSet
28. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
BackupHelper
ETC1
Linux based
Geocoder
29. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Widgets
Application footprint
View
Low power
30. Android is __________.
Parser
Linux based
AsyncTask
inflate()
31. This class provides one of the simplest ways to fire off a new task from the UI thread.
AsyncTask
Emulator
onMeasure()
drawBitmap()
32. Conversion of an object to XML
Activity
Serialize
Android SDK
authenticator class
33. Where Android is currently primarily developed
ViewStub
drawText()
Intent filters
Google
34. Callback method: Another activity is taking focus
ViewStub
onPause();
SecurityException
onMeasure()
35. On a rooted device - the credentials would be readable by anyone with this access to the device.
dual-
adb
Objects Activity lifecycle
Account
36. Callback method: The activity is being created.
Application footprint
onCreate();
AndroidManifest.xml
Widgets
37. Sharing of data in Android is done via________
Stack
Advanced Training
Service Content Provider
onMeasure()
38. 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 ___ .
Parser
LocationManager
Stack
Wi-Fi radio
39. Whenever the device is docked or undocked - this action is broadcast.
ACTION_DOCK_EVENT
Stack
Objects Activity lifecycle
AudioManager
40. 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.
Scroller
ACTION_DOCK_EVENT
OAuth2 protocol
Paint
41. An open source stand alone database
virtual table
Layouts
Services
SQLite
42. It is used to load images in a background thread - then apply them to the UI once finished.
Application footprint
AsyncTask
Objects Activity lifecycle
When the activity resumes
43. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
ShareActionProvider
Scroller
Dalvik Debug Monitor Server
XmlPullParser
44. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
LTE
onCreate() - onDestroy()
onResume();
Application footprint
45. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
authenticator class
Implicit intent
Back stack
AccountAuthenticatorActivity
46. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
Entire
InputStream
ViewStub
dual-
47. For example - a ____ might be a button that initiates an action when the user touches it.
Layouts
BatteryManager
View
SurfaceHolder.Callback
48. In order to get a list of accounts on the device - your app needs this permission.
Ducking
Scroller
LTE
GET_ACCOUNTS
49. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
Stack - back stack
inflate()
Account
ConnectivityManager
50. 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
Service Content Provider
PackageManager
onResume();
Google Play