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. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
ConnectivityManager
ACTION_DOCK_EVENT
XmlPullParser
When the activity resumes
2. It is used to load images in a background thread - then apply them to the UI once finished.
AsyncTask
Account Manager
adb
Layouts
3. Shows the actual amount of memory the application uses
onMeasure()
Extensible Markup Language (XML)
onDraw()
Application footprint
4. This is used for the need of finer control over your view's layout parameters.
BatteryManager
onMeasure()
Stack
View
5. It is a string that defines the specific type of access your app is asking for.
Service Content Provider
auth scope
EXTRA_STREAM
ConnectivityManager
6. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
searchable configuration
GET_ACCOUNTS
Widgets
ConnectivityManager
7. This is used to fetch the account names that the user has stored on their device.
Account Manager
android.hardware.touchscreen
onSearchRequested()
LTE
8. If permissions are missing - the application will get this at runtime.
SecurityException
onSearchRequested()
onCreate();
Scroller
9. 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
BroadcastReceiver
Destroyed - previous
Explicit intent
AbstractAccountAuthenticator
10. Callback method: Another activity is taking focus
ACTION_DOCK_EVENT
Layouts
onPause();
Activity
11. 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 _____
Emulator
ValueAnimator
Stack - back stack
onCreate() - onDestroy()
12. is run when running Android on the pc
single-pane
Activity
Emulator
setVolumeControlStream()
13. Converts XML Document to XML DOM
Lifecycle callback methods
Parser
onPause();
Dalvik Debug Monitor Server
14. This is a readable source of bytes.
InputStream
BroadcastReceiver
Component - screen
Full power
15. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Entire
Services
Google Cloud Messaging (GCM)
resolveSizeAndState()
16. A mode where navigation is set up with a spinner widget.
Deserialize
OnCurrentItemChanged
single-pane
AccountAuthenticatorActivity
17. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
inflate()
Parser
isConnected()
LocationManager
18. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
Activity
HttpURLConnection
security sandbox
onCreate() - onDestroy()
19. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
AccountAuthenticatorActivity
AsyncTask
ActionProvider
Google Cloud Messaging (GCM)
20. Android provides this handy method to direct volume key presses to the audio stream the user specify.
auth scope
Dalvik Virtual Machine
BatteryManager
setVolumeControlStream()
21. Android request its permission using its ________
AndroidManifest.xml
Wi-Fi radio
Low power
InputStream
22. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Stack - back stack
Dalvik Virtual Machine
Layouts
Dalvik Debug Monitor Server
23. The minimal energy state during which no network connection is active or required.
Emulator
Extensible Markup Language (XML)
onMeasure()
Standby
24. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
AsyncTask
Extensible Markup Language (XML)
GET_ACCOUNTS
Scroller
25. Necessary tools to develop Android applications
BroadcastReceiver
Android SDK
Scroller
AudioManager
26. Amode where the action bar is set up with tabs for navigation.
Low power
dual-
ACTION_DOCK_EVENT
When the activity resumes
27. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
ETC1
BatteryManager
SecurityException
onCreate() - onDestroy()
28. It provides a simple way to perform your work outside the main thread.
Linux based
SQLiteOpenHelper
AsyncTask
Destroyed - previous
29. Conversion of XML back to an object
Application resources
Android SDK
Services
Deserialize
30. Binary data is shared using the ACTION_SEND action combined with setting the appropriate MIME type and placing the URI to the data in an extra named called?
touch
GET_ACCOUNTS
EXTRA_STREAM
HttpURLConnection
31. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
Back stack
Deserialize
Service Content Provider
View
32. 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.
XmlPullParser
Serialize
Emulator
Ducking
33. An intermediate state that uses around 50% of the battery power at the full state.
Account Manager
Low power
SurfaceHolder.Callback
Stack - back stack
34. Each activity can then start another activity in order to perform different actions. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a ___ .
Activity
Application resources
<declare-styleable>
Stack
35. It made implementing an effective and user friendly share action in your ActionBar even easier.
Google
Activity
onStop();
ActionProvider
36. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
SQLite
visible
onAudioFocusChange()
When the activity resumes
37. Sharing of data in Android is done via________
Service Content Provider
onStop();
Account Manager
onPause();
38. In most cases this will offer greater bandwidth at a significantly lower battery cost.
ActionProvider
Google
Wi-Fi radio
GET_ACCOUNTS
39. This object contains an account name - which for Google accounts is an email address.
LocationManager
Account
SecurityException
When the activity resumes
40. 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
drawText()
setContentView
Scroller
Component - screen
41. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Hierarchy Viewer
Services
ETC1
ActionProvider
42. The entire lifetime of an activity happens between the call to _____ and the call to _____
onAudioFocusChange()
SurfaceHolder.Callback
onCreate() - onDestroy()
When the activity resumes
43. 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
visible
LocationManager
GET_ACCOUNTS
44. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
Extensible Markup Language (XML)
Dalvik Virtual Machine
Implicit intent
onDraw()
45. In order to get a list of accounts on the device - your app needs this permission.
android.hardware.touchscreen
Google Cloud Messaging (GCM)
GET_ACCOUNTS
AbstractAccountAuthenticator
46. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
BroadcastReceiver
Deserialize
Linux based
Activity
47. Evaluation of registered components
Implicit intent
Google Cloud Messaging for Android (GCM)
ACTION_SEND
LTE
48. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
GET_ACCOUNTS
Entire
Deserialize
virtual table
49. The industry standard way to deal with authentication to third-party services.
Hierarchy Viewer
SurfaceHolder.Callback
virtual table
OAuth2 protocol
50. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Full power
Dalvik Virtual Machine
visible
SurfaceView