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. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
SearchView
Activity
AudioManager
BroadcastReceiver
2. Necessary tools to develop Android applications
Standby
Linux based
onStop();
Android SDK
3. Android provides this handy method to direct volume key presses to the audio stream the user specify.
BroadcastReceiver
ValueAnimator
Account
setVolumeControlStream()
4. 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.
Paint
Account Manager
Stack
AttributeSet
5. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
SQLiteOpenHelper
When the activity resumes
ConnectivityManager
LocationManager
6. Converts XML Document to XML DOM
Geocoder
ConnectivityManager
Android SDK
Parser
7. This is an interface which is used to pass image data from the camera hardware to the application.
Widgets
HTTP
single-pane
SurfaceHolder.Callback
8. Once installed on a device - each Android application lives in its own ______
security sandbox
Android SDK
EXTRA_STREAM
AndroidManifest.xml
9. Android request its permission using its ________
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
onMeasure()
Standby
AndroidManifest.xml
10. This is the most common input event in the Android system.
touch
Objects Activity lifecycle
AudioManager
onResume();
11. This is used to check that you're actually connected to the Internet and what type of connection is in place.
Lifecycle callback methods
Fragments
ConnectivityManager
LocationManager
12. It doesn't currently support the <merge/> tag in the layouts to be inflated.
android.hardware.touchscreen
drawText()
Scroller
ViewStub
13. Theseare a key part of Android applications that directly affect the user experience.
Stack - back stack
BatteryManager
ETC1
Layouts
14. This includes tools to help you identify problems in your layout performance.
ETC1
Android SDK
Google
SurfaceHolder.Callback
15. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
Google Cloud Messaging for Android (GCM)
onDraw()
SurfaceHolder.Callback
Dots per inch
16. This widget as an item in the action bar is the preferred way to provide search in your app.
ValueAnimator
SQLite
auth scope
SearchView
17. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
searchable configuration
Wi-Fi radio
Entire
ValueAnimator
18. Whenever the device is docked or undocked - this action is broadcast.
Paint
ACTION_DOCK_EVENT
single-pane
isConnected()
19. An open source stand alone database
SQLite
SettingsActivity
Ducking
Extensible Markup Language (XML)
20. When a new activity starts - it is pushed onto the ____ and takes user focus.
Application resources
Back stack
ValueAnimator
SurfaceView
21. For example - a ____ might be a button that initiates an action when the user touches it.
Application footprint
Serialize
View
onResume();
22. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
SurfaceHolder.Callback
Widgets
onCreate();
HTTP
23. Conversion of XML back to an object
onStop();
ConnectivityManager
Deserialize
Google Cloud Messaging (GCM)
24. 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?
Activity
SecurityException
onMeasure()
EXTRA_STREAM
25. The entire lifetime of an activity happens between the call to _____ and the call to _____
onCreate() - onDestroy()
Widgets
Advanced Training
Android SDK
26. Android is __________.
SurfaceView
android.hardware.touchscreen
Linux based
Application resources
27. It is a subclass of PreferenceActivity.
Extensible Markup Language (XML)
View
SettingsActivity
ViewStub
28. Relative to pixels and resolution screen
SearchView
Account
Dots per inch
ETC1
29. The minimal energy state during which no network connection is active or required.
Application resources
Standby
setContentView
Layouts
30. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
ActionProvider
Stack - back stack
OnCurrentItemChanged
OAuth2
31. This is a readable source of bytes.
Google
InputStream
Activity
ACTION_SEND
32. An intermediate state that uses around 50% of the battery power at the full state.
OAuth2 protocol
Low power
Back stack
Geocoder
33. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Advanced Training
drawBitmap()
Explicit intent
onStop();
34. Android system uses a special virtual machine to run java based applicatons
single-pane
AsyncTask
Dalvik Virtual Machine
Full power
35. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
onSearchRequested()
ViewStub
setContentView
Dalvik Virtual Machine
36. On a rooted device - the credentials would be readable by anyone with this access to the device.
Fragments
auth scope
EXTRA_STREAM
adb
37. Are used in activities to create the user interface and to interact with the user.
AsyncTask
onAudioFocusChange()
Lifecycle callback methods
Fragments
38. The dock-state details are included as an extra in a sticky broadcast of this action.
onCreate() - onDestroy()
ACTION_DOCK_EVENT
Dalvik Debug Monitor Server
BatteryManager
39. Sharing of data in Android is done via________
ValueAnimator
Low power
onCreate();
Service Content Provider
40. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
Fragments
View
Dalvik Virtual Machine
Android SDK
41. This class provides one of the simplest ways to fire off a new task from the UI thread.
AsyncTask
Google
onPause();
Dalvik Debug Monitor Server
42. You can set the layout as the UI for your activity with passing the resource ID for the layout.
OAuth2
Scroller
Intents
setContentView
43. This is the main class through which your application can access location services on Android.
LocationManager
Linux based
virtual table
AttributeSet
44. A styleable entity that contains these two custom attributes: showText and labelPosition.
BatteryManager
AudioManager
PieChart
Google Cloud Messaging for Android (GCM)
45. To define custom attributes - add this resources to your project.
Wi-Fi radio
NetworkInfo
Standby
<declare-styleable>
46. Callback method: The activity is being created.
BroadcastReceiver
onCreate();
Widgets
Implicit intent
47. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Scroller
Advanced Training
GET_ACCOUNTS
Full power
48. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
LocationManager
Advanced Training
Scroller
Fragments
49. 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.
android.hardware.touchscreen
Activity
onCreate() - onDestroy()
onStart() - onStop()
50. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Ducking
SettingsActivity
Canvas
AsyncTask