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. Perform background tasks without providing a user interface
onCreate() - onDestroy()
AsyncTask
setVolumeControlStream()
Services
2. This object contains an account name - which for Google accounts is an email address.
ACTION_SEND
Account
Emulator
LocationManager
3. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
getInputStream()
PackageManager
Paint
AbstractAccountAuthenticator
4. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
isConnected()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
AsyncTask
BatteryManager
5. It doesn't currently support the <merge/> tag in the layouts to be inflated.
SQLiteOpenHelper
ViewStub
Extensible Markup Language (XML)
setContentView
6. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
virtual table
Implicit intent
onCreate() - onDestroy()
7. The dock-state details are included as an extra in a sticky broadcast of this action.
Activity
Layouts
ACTION_DOCK_EVENT
Scroller
8. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
Extensible Markup Language (XML)
Scroller
When the activity resumes
ETC1
9. It is used to load images in a background thread - then apply them to the UI once finished.
AsyncTask
Entire
Android SDK
Activity
10. It is an efficient and maintainable way to parse XML on Android.
Google Cloud Messaging for Android (GCM)
XmlPullParser
Lifecycle callback methods
Back stack
11. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Widgets
EXTRA_STREAM
Scroller
ConnectivityManager
12. 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
adb
Advanced Training
Service Content Provider
Component - screen
13. Whenever the device is docked or undocked - this action is broadcast.
PackageManager
Stack - back stack
onCreate() - onDestroy()
ACTION_DOCK_EVENT
14. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Google Cloud Messaging for Android (GCM)
Google Play
Layouts
Stack - back stack
15. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
security sandbox
Dalvik Debug Monitor Server
Dalvik Virtual Machine
Full power
16. Necessary tools to develop Android applications
BroadcastReceiver
Intent filters
Scroller
Android SDK
17. Android provides this handy method to direct volume key presses to the audio stream the user specify.
Parser
LocationManager
Lifecycle callback methods
setVolumeControlStream()
18. This is set up to animate for the duration of the fling.
ValueAnimator
SecurityException
InputStream
OAuth2
19. An open source stand alone database
SQLite
BroadcastReceiver
SurfaceHolder.Callback
resolveSizeAndState()
20. Allow to combine loosely coupled components to perform certain tasks
Intents
auth scope
LocationManager
ConnectivityManager
21. 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.
PackageManager
Paint
Wi-Fi radio
Full power
22. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
isConnected()
onCreate() - onDestroy()
Paint
authenticator class
23. These helpers are specialized classes for backing up certain kinds of data.
LTE
BackupHelper
ShareActionProvider
Wi-Fi radio
24. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
XmlPullParser
AccountAuthenticatorActivity
onPause();
visible
25. The minimal energy state during which no network connection is active or required.
setVolumeControlStream()
Destroyed - previous
Standby
SQLite
26. The visible lifetime of an activity happens between the call to ____ and the call to ______
onStart() - onStop()
onAudioFocusChange()
Extensible Markup Language (XML)
Parser
27. 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 _____
Entire
onCreate() - onDestroy()
Standby
ConnectivityManager
28. For example - a ____ might be a button that initiates an action when the user touches it.
NetworkInfo
View
AudioManager
SecurityException
29. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
Activity
SearchView
LTE
BatteryManager
30. In order to get a list of accounts on the device - your app needs this permission.
GET_ACCOUNTS
AsyncTask
Service Content Provider
resolveSizeAndState()
31. Conversion of XML back to an object
Deserialize
dual-
isConnected()
Intents
32. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Geocoder
AccountAuthenticatorActivity
PieChart
onDraw()
33. Android system uses a special virtual machine to run java based applicatons
isConnected()
Dalvik Virtual Machine
Service Content Provider
Services
34. This is the main class through which your application can access location services on Android.
LocationManager
Lifecycle callback methods
NetworkInfo
Paint
35. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
Deserialize
onAudioFocusChange()
ViewStub
drawText()
36. The entire lifetime of an activity happens between the call to _____ and the call to _____
OnCurrentItemChanged
Layouts
onCreate() - onDestroy()
Lifecycle callback methods
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.
InputStream
SearchView
ETC1
Intent filters
38. To create an activity - you must create a subclass of
Fragments
AsyncTask
Activity
Android SDK
39. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
BatteryManager
onResume();
ConnectivityManager
ViewStub
40. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Lifecycle callback methods
EXTRA_STREAM
BatteryManager
Entire
41. It is a free service for sending messages to Android devices.
Dalvik Debug Monitor Server
Google Cloud Messaging (GCM)
resolveSizeAndState()
ACTION_DOCK_EVENT
42. It is available starting with API Level 14 and higher.
Layouts
ShareActionProvider
onStop();
HTTP
43. If permissions are missing - the application will get this at runtime.
ACTION_SEND
onCreate();
SecurityException
single-pane
44. Callback method: The activity is no longer visible.
Implicit intent
LocationManager
Android SDK
onStop();
45. When a new activity starts - it is pushed onto the ____ and takes user focus.
Back stack
setContentView
HTTP
onCreate() - onDestroy()
46. Direct component call in Android
virtual table
Explicit intent
visible
AsyncTask
47. It is a string that defines the specific type of access your app is asking for.
Stack
onCreate() - onDestroy()
auth scope
onDestroy();
48. is run when running Android on the pc
Stack
Emulator
BatteryManager
Ducking
49. This can be used to draw previews of what the camera sensor is picking up.
SurfaceView
Android SDK
HTTP
Stack - back stack
50. Callback method: The activity is no longer visible
Stack
Account Manager
drawBitmap()
onStop();