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. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
GestureDetector
XmlPullParser
onAudioFocusChange()
Hierarchy Viewer
2. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
BroadcastReceiver
touch
BatteryManager
Dots per inch
3. Amode where the action bar is set up with tabs for navigation.
onCreate();
Application resources
ACTION_DOCK_EVENT
dual-
4. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
resolveSizeAndState()
onCreate() - onDestroy()
Google Cloud Messaging for Android (GCM)
ViewStub
5. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
onPause();
InputStream
Advanced Training
Serialize
6. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
Geocoder
Intent filters
NetworkInfo
resolveSizeAndState()
7. It is used to load images in a background thread - then apply them to the UI once finished.
Application resources
Component - screen
Fragments
AsyncTask
8. In order to get a list of accounts on the device - your app needs this permission.
GET_ACCOUNTS
BroadcastReceiver
auth scope
Application footprint
9. The industry standard way to deal with authentication to third-party services.
Extensible Markup Language (XML)
OAuth2 protocol
ACTION_DOCK_EVENT
Android SDK
10. It is an efficient and maintainable way to parse XML on Android.
Google Play
XmlPullParser
getInputStream()
View
11. Callback method: The activity has become visible.
Fragments
Android SDK
onResume();
Wi-Fi radio
12. It made implementing an effective and user friendly share action in your ActionBar even easier.
Intent filters
BroadcastReceiver
Advanced Training
ActionProvider
13. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
onDestroy();
authenticator class
Google Cloud Messaging for Android (GCM)
Intents
14. 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.
Services
adb
Activity
PieChart
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
setVolumeControlStream()
Layouts
onResume();
PackageManager
16. Most network-connected Android apps use this to send and receive data.
Emulator
isConnected()
HTTP
security sandbox
17. The most common way to define a layout using views is with an XML layout file saved in your ______
Component - screen
Google Cloud Messaging for Android (GCM)
onCreate();
Application resources
18. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
HTTP
onAudioFocusChange()
inflate()
LocationManager
19. This is a readable source of bytes.
Account Manager
InputStream
inflate()
drawBitmap()
20. Where Android is currently primarily developed
AttributeSet
Back stack
Google
ConnectivityManager
21. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
isConnected()
Application footprint
Dalvik Virtual Machine
Account
22. This widget as an item in the action bar is the preferred way to provide search in your app.
Intent filters
Fragments
setContentView
SearchView
23. This is the most common input event in the Android system.
inflate()
Standby
touch
onCreate() - onDestroy()
24. Represents the visual representation of an Android application
Activity
Account Manager
single-pane
AudioManager
25. Allow to combine loosely coupled components to perform certain tasks
SecurityException
Intents
Linux based
XmlPullParser
26. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
View
BroadcastReceiver
Lifecycle callback methods
Standby
27. Are used in activities to create the user interface and to interact with the user.
Objects Activity lifecycle
Fragments
Google
Back stack
28. Android request its permission using its ________
onStart() - onStop()
AttributeSet
AndroidManifest.xml
Widgets
29. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
Intent filters
Low power
AccountAuthenticatorActivity
Destroyed - previous
30. It provides a single value - called an auth token that represents both the user's identity and the application's authorization to act on the user's behalf.
AsyncTask
ACTION_SEND
OAuth2
AsyncTask
31. It is available starting with API Level 14 and higher.
Explicit intent
XmlPullParser
View
ShareActionProvider
32. To define custom attributes - add this resources to your project.
Application footprint
Full power
<declare-styleable>
LocationManager
33. This is set up to animate for the duration of the fling.
Activity
ValueAnimator
AsyncTask
android.hardware.touchscreen
34. 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
Component - screen
Dots per inch
Account Manager
BroadcastReceiver
35. The dock-state details are included as an extra in a sticky broadcast of this action.
Lifecycle callback methods
Advanced Training
ACTION_DOCK_EVENT
SurfaceHolder.Callback
36. An open source group led by Google
Google Play
InputStream
Open Handset Alliance
AccountAuthenticatorActivity
37. 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()
Widgets
onDraw()
Hierarchy Viewer
38. An intermediate state that uses around 50% of the battery power at the full state.
ACTION_DOCK_EVENT
Fragments
Low power
Standby
39. This is used to fetch the account names that the user has stored on their device.
Layouts
Explicit intent
Objects Activity lifecycle
Account Manager
40. This class provides one of the simplest ways to fire off a new task from the UI thread.
onSearchRequested()
Scroller
Android SDK
AsyncTask
41. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
onCreate() - onDestroy()
setContentView
Extensible Markup Language (XML)
onStart() - onStop()
42. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
HttpURLConnection
setContentView
Application footprint
visible
43. This is used to register and de-register your media button event receiver.
Open Handset Alliance
AudioManager
SearchView
BackupHelper
44. For example - a ____ might be a button that initiates an action when the user touches it.
Standby
View
<declare-styleable>
onDestroy();
45. 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 _____
EXTRA_STREAM
onCreate() - onDestroy()
virtual table
getInputStream()
46. The visible lifetime of an activity happens between the call to ____ and the call to ______
LocationManager
onStart() - onStop()
AsyncTask
Android SDK
47. Converts XML Document to XML DOM
Parser
touch
BroadcastReceiver
PackageManager
48. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
isConnected()
getInputStream()
Objects Activity lifecycle
AsyncTask
49. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
ValueAnimator
onCreate();
Widgets
Objects Activity lifecycle
50. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
Geocoder
AsyncTask
ConnectivityManager
Layouts