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 is used to fetch the account names that the user has stored on their device.
single-pane
Account Manager
PieChart
GET_ACCOUNTS
2. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
onSearchRequested()
LTE
onStart() - onStop()
searchable configuration
3. This is an interface which is used to pass image data from the camera hardware to the application.
Low power
AsyncTask
SurfaceHolder.Callback
BackupHelper
4. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
isConnected()
AbstractAccountAuthenticator
When the activity resumes
Service Content Provider
5. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Geocoder
Stack - back stack
Google Play
6. This can be used to draw previews of what the camera sensor is picking up.
virtual table
onSearchRequested()
SurfaceView
Google
7. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
ConnectivityManager
touch
Activity
View
8. On a rooted device - the credentials would be readable by anyone with this access to the device.
Extensible Markup Language (XML)
AbstractAccountAuthenticator
Android SDK
adb
9. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
Activity
View
ConnectivityManager
setContentView
10. This is a readable source of bytes.
Scroller
Application footprint
InputStream
Geocoder
11. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Scroller
Google Play
Extensible Markup Language (XML)
getInputStream()
12. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Entire
SurfaceHolder.Callback
Hierarchy Viewer
Intents
13. 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
security sandbox
visible
Component - screen
Emulator
14. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
SearchView
Service Content Provider
Scroller
AbstractAccountAuthenticator
15. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
onSearchRequested()
getInputStream()
onCreate();
Android SDK
16. The dock-state details are included as an extra in a sticky broadcast of this action.
Android SDK
ACTION_DOCK_EVENT
ConnectivityManager
SearchView
17. 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
Google Play
PackageManager
Emulator
Destroyed - previous
18. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Google Play
OnCurrentItemChanged
android.hardware.touchscreen
Paint
19. This class exposes a number of methods for applications to receive location updates.
LocationManager
ShareActionProvider
Account
Open Handset Alliance
20. This is the simplest way to monitor device state changes.
Scroller
BatteryManager
BroadcastReceiver
Services
21. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
Ducking
BroadcastReceiver
AccountAuthenticatorActivity
Layouts
22. This is the most common input event in the Android system.
PieChart
SearchView
touch
Layouts
23. Conversion of XML back to an object
onCreate();
Deserialize
ConnectivityManager
Application footprint
24. It is used to load images in a background thread - then apply them to the UI once finished.
Dalvik Debug Monitor Server
AsyncTask
Layouts
LocationManager
25. Callback method: The activity is no longer visible.
Stack - back stack
auth scope
onStop();
OnCurrentItemChanged
26. Conversion of an object to XML
SQLiteOpenHelper
onDestroy();
Serialize
Activity
27. Callback method: Another activity is taking focus
onCreate() - onDestroy()
onPause();
SearchView
Explicit intent
28. It made implementing an effective and user friendly share action in your ActionBar even easier.
Hierarchy Viewer
HttpURLConnection
ActionProvider
onCreate();
29. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
onStop();
PieChart
When the activity resumes
Google Cloud Messaging for Android (GCM)
30. This is set up to animate for the duration of the fling.
Full power
<declare-styleable>
ValueAnimator
LocationManager
31. Converts XML Document to XML DOM
Parser
Geocoder
onSearchRequested()
Wi-Fi radio
32. Callback method: The activity has become visible.
onResume();
AccountAuthenticatorActivity
Destroyed - previous
AsyncTask
33. Are used in activities to create the user interface and to interact with the user.
touch
single-pane
Fragments
onStart() - onStop()
34. This is the main class through which your application can access location services on Android.
Google Cloud Messaging for Android (GCM)
LocationManager
Android SDK
Application footprint
35. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
Open Handset Alliance
AudioManager
Dalvik Virtual Machine
onDraw()
36. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Android SDK
visible
Canvas
37. Relative to pixels and resolution screen
Intent filters
Dots per inch
PackageManager
Android SDK
38. 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.
ConnectivityManager
Paint
OAuth2 protocol
onDestroy();
39. 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.
Application resources
Widgets
Ducking
ACTION_SEND
40. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
visible
touch
Canvas
virtual table
41. Callback method: The activity is about to be destroyed.
ACTION_SEND
dual-
onDestroy();
OAuth2 protocol
42. Theseare a key part of Android applications that directly affect the user experience.
AsyncTask
Account
onStop();
Layouts
43. It is a string that defines the specific type of access your app is asking for.
Geocoder
onCreate() - onDestroy()
SettingsActivity
auth scope
44. This object contains an account name - which for Google accounts is an email address.
visible
Account
Component - screen
When the activity resumes
45. is run when running Android on the pc
Account Manager
LTE
Emulator
onAudioFocusChange()
46. It inform the system what intents an application component is willing to accept.
Intent filters
setVolumeControlStream()
Layouts
GET_ACCOUNTS
47. 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.
OAuth2
LTE
drawBitmap()
LocationManager
48. Once installed on a device - each Android application lives in its own ______
security sandbox
Google Cloud Messaging for Android (GCM)
android.hardware.touchscreen
single-pane
49. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Standby
SQLiteOpenHelper
EXTRA_STREAM
inflate()
50. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
visible
AudioManager
onStop();
authenticator class