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 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.
Component - screen
onStop();
OAuth2
Paint
2. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Stack - back stack
BatteryManager
InputStream
Account
3. When a new activity starts - it is pushed onto the ____ and takes user focus.
View
single-pane
Back stack
Service Content Provider
4. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
drawBitmap()
ACTION_DOCK_EVENT
isConnected()
onResume();
5. 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
Destroyed - previous
NetworkInfo
AsyncTask
OnCurrentItemChanged
6. This can be used to draw previews of what the camera sensor is picking up.
Implicit intent
Google Cloud Messaging for Android (GCM)
SurfaceView
ValueAnimator
7. Conversion of an object to XML
SQLiteOpenHelper
Component - screen
Account
Serialize
8. It is a subclass of PreferenceActivity.
SettingsActivity
Layouts
onSearchRequested()
Account Manager
9. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
OAuth2 protocol
onAudioFocusChange()
AccountAuthenticatorActivity
Entire
10. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
SecurityException
View
Component - screen
Destroyed - previous
11. It made implementing an effective and user friendly share action in your ActionBar even easier.
Back stack
GET_ACCOUNTS
ActionProvider
Activity
12. Callback method: The activity is about to be destroyed.
getInputStream()
onDestroy();
Intents
setVolumeControlStream()
13. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
SQLiteOpenHelper
auth scope
drawText()
Extensible Markup Language (XML)
14. It is available starting with API Level 14 and higher.
onPause();
GestureDetector
Application resources
ShareActionProvider
15. This is a readable source of bytes.
Google
ShareActionProvider
Intents
InputStream
16. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
onCreate() - onDestroy()
HTTP
Lifecycle callback methods
BackupHelper
17. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
searchable configuration
Android SDK
Dalvik Debug Monitor Server
BroadcastReceiver
18. This includes tools to help you identify problems in your layout performance.
SettingsActivity
Android SDK
onDraw()
GET_ACCOUNTS
19. This is the simplest way to monitor device state changes.
HttpURLConnection
Android SDK
View
BroadcastReceiver
20. Are used in activities to create the user interface and to interact with the user.
Account Manager
ViewStub
Fragments
Parser
21. Sharing of data in Android is done via________
NetworkInfo
adb
Service Content Provider
ACTION_DOCK_EVENT
22. A mode where navigation is set up with a spinner widget.
Extensible Markup Language (XML)
drawBitmap()
ActionProvider
single-pane
23. This broadcasts an action whenever the device is connected or disconnected from power.
Component - screen
GET_ACCOUNTS
BatteryManager
SearchView
24. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
SQLiteOpenHelper
BatteryManager
Linux based
BackupHelper
25. The visible lifetime of an activity happens between the call to ____ and the call to ______
AsyncTask
onStart() - onStop()
Stack - back stack
Hierarchy Viewer
26. A styleable entity that contains these two custom attributes: showText and labelPosition.
PieChart
onMeasure()
NetworkInfo
HTTP
27. In order to get a list of accounts on the device - your app needs this permission.
Google
XmlPullParser
GET_ACCOUNTS
ACTION_DOCK_EVENT
28. 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
OAuth2
Activity
Emulator
29. On a rooted device - the credentials would be readable by anyone with this access to the device.
onResume();
adb
Hierarchy Viewer
BatteryManager
30. 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.
onAudioFocusChange()
Activity
SearchView
onDestroy();
31. If permissions are missing - the application will get this at runtime.
SecurityException
Low power
When the activity resumes
Android SDK
32. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ViewStub
ConnectivityManager
Hierarchy Viewer
onCreate() - onDestroy()
33. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
LTE
Services
AudioManager
Dalvik Debug Monitor Server
34. Represents the visual representation of an Android application
Activity
View
OAuth2 protocol
Google Cloud Messaging (GCM)
35. It is used to load images in a background thread - then apply them to the UI once finished.
ACTION_DOCK_EVENT
AsyncTask
Emulator
SQLiteOpenHelper
36. Necessary tools to develop Android applications
Services
When the activity resumes
Android SDK
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
37. This is used for the need of finer control over your view's layout parameters.
AsyncTask
GestureDetector
onMeasure()
touch
38. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
Advanced Training
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
android.hardware.touchscreen
ViewStub
39. Use this to draw bitmaps.
Emulator
drawBitmap()
PieChart
Service Content Provider
40. 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?
Paint
Component - screen
Implicit intent
AttributeSet
41. This object contains an account name - which for Google accounts is an email address.
Linux based
BroadcastReceiver
Android SDK
Account
42. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Full power
Services
Hierarchy Viewer
When the activity resumes
43. The dock-state details are included as an extra in a sticky broadcast of this action.
Advanced Training
onCreate();
Widgets
ACTION_DOCK_EVENT
44. This is the main class through which your application can access location services on Android.
Destroyed - previous
onCreate() - onDestroy()
PackageManager
LocationManager
45. Android request its permission using its ________
AndroidManifest.xml
ACTION_DOCK_EVENT
Dots per inch
Dalvik Virtual Machine
46. The entire lifetime of an activity happens between the call to _____ and the call to _____
android.hardware.touchscreen
onCreate() - onDestroy()
authenticator class
onDestroy();
47. Most network-connected Android apps use this to send and receive data.
Google Cloud Messaging (GCM)
HTTP
Google Cloud Messaging for Android (GCM)
LocationManager
48. Allow to combine loosely coupled components to perform certain tasks
Layouts
onStop();
Intents
ConnectivityManager
49. Use this to draw text.
dual-
drawText()
ACTION_SEND
EXTRA_STREAM
50. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
BroadcastReceiver
Layouts
Widgets
onPause();