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. It is used to load images in a background thread - then apply them to the UI once finished.
Application footprint
AsyncTask
Account Manager
security sandbox
2. This is the simplest way to monitor device state changes.
onAudioFocusChange()
BroadcastReceiver
AsyncTask
BatteryManager
3. This object contains an account name - which for Google accounts is an email address.
OAuth2 protocol
SearchView
Account
BackupHelper
4. Android request its permission using its ________
AndroidManifest.xml
Linux based
Application footprint
isConnected()
5. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Stack - back stack
SettingsActivity
searchable configuration
ConnectivityManager
6. 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
ETC1
Google Play
SurfaceView
7. Callback method: The activity is being created.
GET_ACCOUNTS
setContentView
onCreate();
EXTRA_STREAM
8. Once installed on a device - each Android application lives in its own ______
ConnectivityManager
AccountAuthenticatorActivity
security sandbox
ShareActionProvider
9. An open source group led by Google
SurfaceHolder.Callback
Serialize
onAudioFocusChange()
Open Handset Alliance
10. Conversion of an object to XML
Dalvik Virtual Machine
isConnected()
View
Serialize
11. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Canvas
ACTION_DOCK_EVENT
Intent filters
SearchView
12. 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.
SurfaceHolder.Callback
Google
Intents
SearchView
13. 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.
Activity
Full power
onMeasure()
LocationManager
14. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
HTTP
Layouts
Full power
Extensible Markup Language (XML)
15. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Hierarchy Viewer
Intents
Explicit intent
android.hardware.touchscreen
16. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
EXTRA_STREAM
Wi-Fi radio
getInputStream()
Parser
17. It is a string that defines the specific type of access your app is asking for.
Paint
auth scope
Implicit intent
Emulator
18. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
View
ViewStub
HTTP
onSearchRequested()
19. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Entire
OAuth2 protocol
View
onDraw()
20. Use this to draw text.
Ducking
Destroyed - previous
Hierarchy Viewer
drawText()
21. Callback method: The activity is no longer visible
PackageManager
onStop();
Stack - back stack
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
22. This is used to convert raw touch events into gestures.
GestureDetector
ACTION_DOCK_EVENT
onStop();
touch
23. This action is used in sending text content from one activity to another.
AccountAuthenticatorActivity
visible
onResume();
ACTION_SEND
24. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
BroadcastReceiver
onMeasure()
Extensible Markup Language (XML)
Hierarchy Viewer
25. Relative to pixels and resolution screen
visible
Deserialize
Dots per inch
SettingsActivity
26. Callback method: The activity is no longer visible.
AudioManager
SecurityException
onStop();
Widgets
27. This is the main class through which your application can access location services on Android.
Lifecycle callback methods
LocationManager
When the activity resumes
ValueAnimator
28. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
onResume();
OAuth2 protocol
onCreate() - onDestroy()
XmlPullParser
29. It is available starting with API Level 14 and higher.
onMeasure()
Serialize
AudioManager
ShareActionProvider
30. This class exposes a number of methods for applications to receive location updates.
LocationManager
SearchView
Scroller
onStop();
31. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
virtual table
ConnectivityManager
SurfaceView
View
32. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
ACTION_DOCK_EVENT
Intents
Lifecycle callback methods
Hierarchy Viewer
33. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Android SDK
SQLite
ACTION_DOCK_EVENT
SQLiteOpenHelper
34. This is set up to animate for the duration of the fling.
ValueAnimator
Hierarchy Viewer
Services
Explicit intent
35. It is an efficient and maintainable way to parse XML on Android.
Extensible Markup Language (XML)
Deserialize
AudioManager
XmlPullParser
36. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Stack
Widgets
onResume();
virtual table
37. This is used to check that you're actually connected to the Internet and what type of connection is in place.
touch
ConnectivityManager
AbstractAccountAuthenticator
drawBitmap()
38. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Hierarchy Viewer
GestureDetector
HttpURLConnection
39. This can be used to draw previews of what the camera sensor is picking up.
ValueAnimator
SurfaceView
HttpURLConnection
AttributeSet
40. Conversion of XML back to an object
onMeasure()
Implicit intent
Deserialize
OAuth2 protocol
41. Android is __________.
SearchView
AccountAuthenticatorActivity
ConnectivityManager
Linux based
42. When a view is created from an XML layout - all of the attributes in the XML tag are read from the resource bundle and passed into the view's constructor as a what?
AttributeSet
Paint
LocationManager
ConnectivityManager
43. A styleable entity that contains these two custom attributes: showText and labelPosition.
Android SDK
BroadcastReceiver
PieChart
inflate()
44. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
onSearchRequested()
virtual table
ConnectivityManager
BroadcastReceiver
45. It made implementing an effective and user friendly share action in your ActionBar even easier.
onResume();
onCreate() - onDestroy()
ActionProvider
authenticator class
46. is run when running Android on the pc
android.hardware.touchscreen
onStop();
Scroller
Emulator
47. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
onCreate() - onDestroy()
LTE
Back stack
View
48. A mode where navigation is set up with a spinner widget.
onCreate();
single-pane
Canvas
HTTP
49. This broadcasts an action whenever the device is connected or disconnected from power.
GestureDetector
Paint
BatteryManager
Android SDK
50. This includes tools to help you identify problems in your layout performance.
PackageManager
Objects Activity lifecycle
Android SDK
Application footprint