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. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
Scroller
Lifecycle callback methods
isConnected()
onStop();
2. Relative to pixels and resolution screen
PieChart
Dots per inch
onStop();
Layouts
3. This is used for the need of finer control over your view's layout parameters.
Parser
Fragments
onMeasure()
Dots per inch
4. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
ACTION_SEND
setContentView
Component - screen
SQLiteOpenHelper
5. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
OAuth2 protocol
PackageManager
getInputStream()
touch
6. 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.
touch
Dots per inch
SearchView
Widgets
7. Where Android is currently primarily developed
AudioManager
Google
LTE
Destroyed - previous
8. This is set up to animate for the duration of the fling.
onStop();
ValueAnimator
searchable configuration
Dots per inch
9. This is used to fetch the account names that the user has stored on their device.
Account Manager
Activity
Back stack
drawBitmap()
10. Android provides this handy method to direct volume key presses to the audio stream the user specify.
SQLite
Hierarchy Viewer
setVolumeControlStream()
single-pane
11. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
Fragments
SurfaceView
authenticator class
Destroyed - previous
12. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Canvas
Advanced Training
android.hardware.touchscreen
AsyncTask
13. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
BroadcastReceiver
adb
When the activity resumes
PieChart
14. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Account
getInputStream()
Canvas
onCreate();
15. 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
ACTION_SEND
Canvas
PackageManager
ACTION_DOCK_EVENT
16. This is the simplest way to monitor device state changes.
Stack
BroadcastReceiver
PieChart
Application resources
17. Android system uses a special virtual machine to run java based applicatons
Dalvik Virtual Machine
AndroidManifest.xml
Google Cloud Messaging for Android (GCM)
OnCurrentItemChanged
18. This class is the basis for handling flywheel-style fling gestures.
Paint
auth scope
Services
Scroller
19. This is an interface which is used to pass image data from the camera hardware to the application.
authenticator class
EXTRA_STREAM
SurfaceHolder.Callback
Hierarchy Viewer
20. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Entire
Stack - back stack
OAuth2
Service Content Provider
21. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
onCreate();
View
Application footprint
Widgets
22. An open source stand alone database
SQLite
Activity
onStop();
PieChart
23. The dock-state details are included as an extra in a sticky broadcast of this action.
ACTION_DOCK_EVENT
onStart() - onStop()
<declare-styleable>
GestureDetector
24. Android request its permission using its ________
Low power
SearchView
AndroidManifest.xml
Back stack
25. It is called to invoke the search dialog on older devices.
AudioManager
Stack
adb
onSearchRequested()
26. This is the main class through which your application can access location services on Android.
Stack
resolveSizeAndState()
LocationManager
View
27. This can be used to draw previews of what the camera sensor is picking up.
onCreate() - onDestroy()
onAudioFocusChange()
Activity
SurfaceView
28. An intermediate state that uses around 50% of the battery power at the full state.
Services
Low power
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
single-pane
29. Conversion of XML back to an object
XmlPullParser
Android SDK
LTE
Deserialize
30. Use this to draw text.
drawText()
AccountAuthenticatorActivity
SurfaceHolder.Callback
security sandbox
31. The visible lifetime of an activity happens between the call to ____ and the call to ______
Intent filters
onStart() - onStop()
Activity
Full power
32. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
SettingsActivity
Scroller
touch
When the activity resumes
33. This object contains an account name - which for Google accounts is an email address.
Account
BroadcastReceiver
Google Cloud Messaging for Android (GCM)
BatteryManager
34. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
onMeasure()
Serialize
Google Cloud Messaging for Android (GCM)
getInputStream()
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 ___ .
Fragments
onResume();
Stack
Stack - back stack
36. Converts XML Document to XML DOM
Parser
Open Handset Alliance
Extensible Markup Language (XML)
Full power
37. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
ActionProvider
LocationManager
ViewStub
NetworkInfo
38. This is used to register and de-register your media button event receiver.
Google Cloud Messaging (GCM)
ShareActionProvider
AudioManager
Geocoder
39. The helper method is used to create the final width and height values.
AsyncTask
Dots per inch
Services
resolveSizeAndState()
40. Perform background tasks without providing a user interface
Advanced Training
Services
Linux based
XmlPullParser
41. 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
ActionProvider
Dots per inch
Emulator
42. This is a readable source of bytes.
SettingsActivity
Stack
onStop();
InputStream
43. This is the most common input event in the Android system.
onStop();
touch
Dalvik Debug Monitor Server
Linux based
44. It is an efficient and maintainable way to parse XML on Android.
Objects Activity lifecycle
XmlPullParser
SurfaceHolder.Callback
AccountAuthenticatorActivity
45. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
OAuth2 protocol
BroadcastReceiver
virtual table
onAudioFocusChange()
46. Use this to draw bitmaps.
drawBitmap()
InputStream
OnCurrentItemChanged
Implicit intent
47. Necessary tools to develop Android applications
single-pane
Android SDK
Advanced Training
Ducking
48. For example - a ____ might be a button that initiates an action when the user touches it.
onCreate();
View
isConnected()
drawText()
49. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
LocationManager
security sandbox
LTE
onAudioFocusChange()
50. 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.
Ducking
HTTP
Services
LTE