SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
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. It is an efficient and maintainable way to parse XML on Android.
Service Content Provider
XmlPullParser
getInputStream()
Implicit intent
2. 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
ACTION_SEND
adb
Account Manager
3. Relative to pixels and resolution screen
virtual table
Dots per inch
authenticator class
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
4. is run when running Android on the pc
AsyncTask
Open Handset Alliance
Emulator
Intents
5. You can set the layout as the UI for your activity with passing the resource ID for the layout.
Widgets
Layouts
BatteryManager
setContentView
6. Use this to draw bitmaps.
SearchView
Dalvik Debug Monitor Server
searchable configuration
drawBitmap()
7. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
Scroller
Back stack
searchable configuration
ETC1
8. This object contains an account name - which for Google accounts is an email address.
Account
Scroller
AbstractAccountAuthenticator
Activity
9. Direct component call in Android
Explicit intent
BroadcastReceiver
Activity
AsyncTask
10. Android system uses a special virtual machine to run java based applicatons
Dalvik Virtual Machine
AsyncTask
Extensible Markup Language (XML)
OnCurrentItemChanged
11. This is an interface which is used to pass image data from the camera hardware to the application.
Application resources
SurfaceHolder.Callback
AsyncTask
HttpURLConnection
12. The dock-state details are included as an extra in a sticky broadcast of this action.
onMeasure()
ACTION_DOCK_EVENT
Wi-Fi radio
AsyncTask
13. On a rooted device - the credentials would be readable by anyone with this access to the device.
single-pane
adb
Activity
Paint
14. Callback method: The activity is being created.
onMeasure()
OAuth2
Activity
onCreate();
15. Android is __________.
Linux based
drawText()
Activity
Deserialize
16. When a new activity starts - it is pushed onto the ____ and takes user focus.
Back stack
Android SDK
Dots per inch
Dalvik Debug Monitor Server
17. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
ConnectivityManager
Stack - back stack
ValueAnimator
Dalvik Virtual Machine
18. 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.
authenticator class
Implicit intent
Paint
Dalvik Virtual Machine
19. Callback method: The activity is no longer visible.
onCreate() - onDestroy()
ConnectivityManager
isConnected()
onStop();
20. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Lifecycle callback methods
security sandbox
LocationManager
OAuth2
21. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
Standby
onSearchRequested()
onAudioFocusChange()
Lifecycle callback methods
22. 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?
EXTRA_STREAM
onStop();
SQLiteOpenHelper
Application resources
23. Most network-connected Android apps use this to send and receive data.
Dalvik Debug Monitor Server
HTTP
ActionProvider
Standby
24. This is the main class through which your application can access location services on Android.
LocationManager
Application resources
Intents
AndroidManifest.xml
25. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Dalvik Virtual Machine
Linux based
ACTION_SEND
Wi-Fi radio
26. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Android SDK
Scroller
OAuth2 protocol
Google Play
27. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
onDraw()
Implicit intent
OnCurrentItemChanged
onStart() - onStop()
28. Sharing of data in Android is done via________
Activity
LocationManager
Lifecycle callback methods
Service Content Provider
29. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
Dalvik Virtual Machine
onStop();
drawBitmap()
ViewStub
30. Allow to combine loosely coupled components to perform certain tasks
Intents
Fragments
Stack
HttpURLConnection
31. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
BatteryManager
OnCurrentItemChanged
HttpURLConnection
Entire
32. The entire lifetime of an activity happens between the call to _____ and the call to _____
onCreate() - onDestroy()
Component - screen
Intents
OnCurrentItemChanged
33. ______ are views derived from ViewGroup that provide a unique layout model for its child views
onCreate();
Activity
Implicit intent
Layouts
34. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
Advanced Training
drawText()
visible
Entire
35. Shows the actual amount of memory the application uses
AudioManager
Application footprint
Dalvik Virtual Machine
inflate()
36. Represents the visual representation of an Android application
Activity
PieChart
Account
InputStream
37. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Activity
Advanced Training
Dalvik Debug Monitor Server
OAuth2
38. This is used to register and de-register your media button event receiver.
PieChart
AudioManager
setContentView
virtual table
39. This action is used in sending text content from one activity to another.
ACTION_SEND
ConnectivityManager
Application footprint
ACTION_DOCK_EVENT
40. It is a free service for sending messages to Android devices.
SecurityException
When the activity resumes
ConnectivityManager
Google Cloud Messaging (GCM)
41. A styleable entity that contains these two custom attributes: showText and labelPosition.
onPause();
PieChart
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Stack - back stack
42. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
dual-
visible
android.hardware.touchscreen
Parser
43. The helper method is used to create the final width and height values.
Standby
Full power
authenticator class
resolveSizeAndState()
44. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
onDraw()
inflate()
ACTION_DOCK_EVENT
Emulator
45. 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.
Standby
Activity
Hierarchy Viewer
searchable configuration
46. This is set up to animate for the duration of the fling.
SettingsActivity
ValueAnimator
virtual table
Layouts
47. The minimal energy state during which no network connection is active or required.
BroadcastReceiver
Standby
HTTP
AndroidManifest.xml
48. Android provides this handy method to direct volume key presses to the audio stream the user specify.
setVolumeControlStream()
PieChart
Hierarchy Viewer
drawBitmap()
49. It is a subclass of PreferenceActivity.
onPause();
onSearchRequested()
Explicit intent
SettingsActivity
50. The most common way to define a layout using views is with an XML layout file saved in your ______
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Application resources
SecurityException
single-pane