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. Callback method: The activity has become visible.
onResume();
ActionProvider
Account Manager
drawBitmap()
2. Shows the actual amount of memory the application uses
Application footprint
visible
AsyncTask
GET_ACCOUNTS
3. The visible lifetime of an activity happens between the call to ____ and the call to ______
ActionProvider
onStart() - onStop()
Google Play
Layouts
4. It is a string that defines the specific type of access your app is asking for.
auth scope
Stack
Low power
BroadcastReceiver
5. 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
Activity
onStop();
Dalvik Debug Monitor Server
6. The back stack abides to the basic "last in - first out" stack mechanism - so - when the user is done with the current activity and presses the Back button - it is popped from the stack (and ____) and the ____ activity resumes
Android SDK
Emulator
ACTION_SEND
Destroyed - previous
7. 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
AsyncTask
onSearchRequested()
Back stack
8. This is an interface which is used to pass image data from the camera hardware to the application.
BatteryManager
SurfaceHolder.Callback
Open Handset Alliance
Widgets
9. This is used for the need of finer control over your view's layout parameters.
onMeasure()
AsyncTask
Fragments
When the activity resumes
10. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Dalvik Virtual Machine
BatteryManager
Layouts
XmlPullParser
11. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
visible
SQLiteOpenHelper
SurfaceHolder.Callback
virtual table
12. An intermediate state that uses around 50% of the battery power at the full state.
SQLite
Intents
Low power
Wi-Fi radio
13. Represents the visual representation of an Android application
Activity
Fragments
NetworkInfo
XmlPullParser
14. It provides a simple way to perform your work outside the main thread.
Emulator
BroadcastReceiver
Scroller
AsyncTask
15. Callback method: The activity is being created.
onCreate();
HttpURLConnection
Explicit intent
authenticator class
16. Android provides this handy method to direct volume key presses to the audio stream the user specify.
Standby
Deserialize
setVolumeControlStream()
AttributeSet
17. Android system uses a special virtual machine to run java based applicatons
Geocoder
dual-
Parser
Dalvik Virtual Machine
18. A styleable entity that contains these two custom attributes: showText and labelPosition.
Layouts
PieChart
AccountAuthenticatorActivity
setVolumeControlStream()
19. 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.
Extensible Markup Language (XML)
Fragments
Ducking
drawBitmap()
20. This class exposes a number of methods for applications to receive location updates.
GestureDetector
auth scope
LocationManager
onResume();
21. It is a subclass of PreferenceActivity.
Geocoder
AttributeSet
LocationManager
SettingsActivity
22. Most network-connected Android apps use this to send and receive data.
Android SDK
onStop();
HttpURLConnection
HTTP
23. 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
Dalvik Virtual Machine
BroadcastReceiver
PackageManager
Standby
24. Theseare a key part of Android applications that directly affect the user experience.
Entire
Layouts
ConnectivityManager
drawBitmap()
25. 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
Dots per inch
Service Content Provider
Wi-Fi radio
26. is run when running Android on the pc
Serialize
SearchView
View
Emulator
27. 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
ViewStub
AsyncTask
LocationManager
Component - screen
28. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
ConnectivityManager
Google Cloud Messaging for Android (GCM)
Stack
Canvas
29. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
Emulator
Stack
ViewStub
resolveSizeAndState()
30. You can set the layout as the UI for your activity with passing the resource ID for the layout.
Back stack
setContentView
Intents
SearchView
31. 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 ___ .
EXTRA_STREAM
Stack
onCreate() - onDestroy()
onCreate();
32. Where Android is currently primarily developed
onDraw()
Google
BroadcastReceiver
SearchView
33. An open source group led by Google
Open Handset Alliance
SurfaceView
Deserialize
Fragments
34. Use this to draw text.
drawText()
Open Handset Alliance
SecurityException
Dots per inch
35. It is an efficient and maintainable way to parse XML on Android.
onDraw()
InputStream
AbstractAccountAuthenticator
XmlPullParser
36. Relative to pixels and resolution screen
BroadcastReceiver
drawBitmap()
AsyncTask
Dots per inch
37. It inform the system what intents an application component is willing to accept.
Intent filters
AudioManager
SurfaceView
Extensible Markup Language (XML)
38. A service in which programmers can offer their Android application to Android users.
Wi-Fi radio
Google Play
Android SDK
ConnectivityManager
39. Use this to draw bitmaps.
Serialize
View
BroadcastReceiver
drawBitmap()
40. The dock-state details are included as an extra in a sticky broadcast of this action.
ConnectivityManager
Services
ACTION_DOCK_EVENT
auth scope
41. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
BatteryManager
PieChart
Scroller
Application footprint
42. The most common way to define a layout using views is with an XML layout file saved in your ______
OnCurrentItemChanged
ShareActionProvider
AsyncTask
Application resources
43. The helper method is used to create the final width and height values.
resolveSizeAndState()
authenticator class
drawText()
Dalvik Debug Monitor Server
44. This action is used in sending text content from one activity to another.
Application footprint
onPause();
AbstractAccountAuthenticator
ACTION_SEND
45. This is set up to animate for the duration of the fling.
ACTION_DOCK_EVENT
onCreate();
onDestroy();
ValueAnimator
46. The minimal energy state during which no network connection is active or required.
Emulator
Hierarchy Viewer
NetworkInfo
Standby
47. This includes tools to help you identify problems in your layout performance.
Stack - back stack
Ducking
OAuth2
Android SDK
48. Conversion of an object to XML
Implicit intent
Advanced Training
Serialize
Fragments
49. It is available starting with API Level 14 and higher.
Dalvik Virtual Machine
XmlPullParser
inflate()
ShareActionProvider
50. It made implementing an effective and user friendly share action in your ActionBar even easier.
ActionProvider
AsyncTask
Canvas
LTE