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. Converts XML Document to XML DOM
Parser
BatteryManager
Intent filters
Stack - back stack
2. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
onAudioFocusChange()
Google Play
Paint
ACTION_DOCK_EVENT
3. For example - if your activity has a thread running in the background to download data from the network - it might create that thread in _____ and then stop the thread in _____
Dots per inch
onCreate() - onDestroy()
AttributeSet
searchable configuration
4. 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
Application footprint
dual-
AbstractAccountAuthenticator
5. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
OnCurrentItemChanged
Hierarchy Viewer
Destroyed - previous
HttpURLConnection
6. For example - a ____ might be a button that initiates an action when the user touches it.
View
OAuth2 protocol
AbstractAccountAuthenticator
Objects Activity lifecycle
7. 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
SQLite
Implicit intent
Open Handset Alliance
Component - screen
8. It provides a simple way to perform your work outside the main thread.
Android SDK
onStart() - onStop()
AsyncTask
Account Manager
9. An open source stand alone database
AsyncTask
ValueAnimator
SQLite
BackupHelper
10. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
HttpURLConnection
Activity
Widgets
Dalvik Virtual Machine
11. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
Activity
LTE
Ducking
<declare-styleable>
12. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Component - screen
onStop();
Hierarchy Viewer
Implicit intent
13. This is used to check that you're actually connected to the Internet and what type of connection is in place.
onCreate() - onDestroy()
ViewStub
OAuth2
ConnectivityManager
14. Where Android is currently primarily developed
onCreate() - onDestroy()
Layouts
LocationManager
Google
15. This is used to register and de-register your media button event receiver.
AudioManager
Open Handset Alliance
Canvas
EXTRA_STREAM
16. Android provides this handy method to direct volume key presses to the audio stream the user specify.
ActionProvider
SettingsActivity
setVolumeControlStream()
PieChart
17. This is set up to animate for the duration of the fling.
AndroidManifest.xml
ValueAnimator
Dots per inch
BackupHelper
18. The dock-state details are included as an extra in a sticky broadcast of this action.
Services
SQLite
BackupHelper
ACTION_DOCK_EVENT
19. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
dual-
Destroyed - previous
android.hardware.touchscreen
Google Cloud Messaging (GCM)
20. This is a readable source of bytes.
InputStream
resolveSizeAndState()
AsyncTask
Extensible Markup Language (XML)
21. In order to get a list of accounts on the device - your app needs this permission.
View
GET_ACCOUNTS
Intents
SQLite
22. 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
BroadcastReceiver
android.hardware.touchscreen
onStop();
23. It is a set of rules for encoding documents in machine-readable form.
SearchView
Account Manager
Extensible Markup Language (XML)
Implicit intent
24. Callback method: The activity is no longer visible
Destroyed - previous
onPause();
Stack - back stack
onStop();
25. Callback method: The activity is about to be destroyed.
AttributeSet
Account
onDestroy();
onAudioFocusChange()
26. The industry standard way to deal with authentication to third-party services.
OAuth2 protocol
Widgets
Lifecycle callback methods
BroadcastReceiver
27. When a new activity starts - it is pushed onto the ____ and takes user focus.
Back stack
GestureDetector
Geocoder
Wi-Fi radio
28. An open source group led by Google
Paint
Open Handset Alliance
Google
AccountAuthenticatorActivity
29. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
onMeasure()
BatteryManager
Objects Activity lifecycle
AsyncTask
30. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
isConnected()
ShareActionProvider
Canvas
OnCurrentItemChanged
31. This broadcasts an action whenever the device is connected or disconnected from power.
PieChart
BatteryManager
PackageManager
onDraw()
32. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
View
ViewStub
ValueAnimator
Destroyed - previous
33. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
onDraw()
Intents
resolveSizeAndState()
AbstractAccountAuthenticator
34. It is a free service for sending messages to Android devices.
ShareActionProvider
Destroyed - previous
Google Cloud Messaging (GCM)
resolveSizeAndState()
35. 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
Component - screen
ACTION_SEND
Destroyed - previous
Paint
36. It made implementing an effective and user friendly share action in your ActionBar even easier.
onStop();
ActionProvider
Dalvik Virtual Machine
Account
37. It's generally a good idea for one of your APKs to support this texture format as it is supported by all Android-powered devices that support the OpenGL ES 2.0 spec.
ActionProvider
Activity
<declare-styleable>
ETC1
38. This includes tools to help you identify problems in your layout performance.
AndroidManifest.xml
ValueAnimator
Android SDK
onAudioFocusChange()
39. Whenever the device is docked or undocked - this action is broadcast.
Wi-Fi radio
Explicit intent
onStart() - onStop()
ACTION_DOCK_EVENT
40. 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 ___ .
Standby
ConnectivityManager
Layouts
Stack
41. 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.
SearchView
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Parser
onResume();
42. Are used in activities to create the user interface and to interact with the user.
onStart() - onStop()
Fragments
security sandbox
OAuth2 protocol
43. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
OAuth2 protocol
single-pane
Full power
inflate()
44. is run when running Android on the pc
<declare-styleable>
Dalvik Debug Monitor Server
LTE
Emulator
45. Perform background tasks without providing a user interface
Services
onCreate() - onDestroy()
onCreate() - onDestroy()
onDraw()
46. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
ShareActionProvider
android.hardware.touchscreen
Google Cloud Messaging for Android (GCM)
dual-
47. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
visible
Implicit intent
Fragments
Serialize
48. Conversion of an object to XML
OAuth2
Serialize
onDestroy();
Wi-Fi radio
49. The entire lifetime of an activity happens between the call to _____ and the call to _____
When the activity resumes
SearchView
Widgets
onCreate() - onDestroy()
50. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
onDraw()
inflate()
SearchView
Wi-Fi radio