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. is run when running Android on the pc
Activity
Emulator
Google Cloud Messaging (GCM)
AndroidManifest.xml
2. It is a free service for sending messages to Android devices.
Extensible Markup Language (XML)
drawBitmap()
Google Cloud Messaging (GCM)
SearchView
3. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
onResume();
Advanced Training
ACTION_DOCK_EVENT
Dalvik Debug Monitor Server
4. It doesn't currently support the <merge/> tag in the layouts to be inflated.
searchable configuration
onDestroy();
ViewStub
AbstractAccountAuthenticator
5. This class exposes a number of methods for applications to receive location updates.
Intents
LocationManager
ViewStub
Standby
6. The entire lifetime of an activity happens between the call to _____ and the call to _____
onResume();
BroadcastReceiver
onCreate() - onDestroy()
Entire
7. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Full power
Google
<declare-styleable>
ACTION_DOCK_EVENT
8. This is used to convert raw touch events into gestures.
HttpURLConnection
When the activity resumes
GestureDetector
security sandbox
9. On a rooted device - the credentials would be readable by anyone with this access to the device.
adb
ConnectivityManager
onCreate() - onDestroy()
ACTION_SEND
10. This class provides one of the simplest ways to fire off a new task from the UI thread.
GestureDetector
ACTION_DOCK_EVENT
AsyncTask
onMeasure()
11. Callback method: The activity is no longer visible.
inflate()
onStop();
PackageManager
Canvas
12. It inform the system what intents an application component is willing to accept.
onMeasure()
Intent filters
ShareActionProvider
SettingsActivity
13. It is a string that defines the specific type of access your app is asking for.
auth scope
authenticator class
Google Cloud Messaging for Android (GCM)
BatteryManager
14. Android provides this handy method to direct volume key presses to the audio stream the user specify.
LTE
setVolumeControlStream()
SearchView
NetworkInfo
15. An intermediate state that uses around 50% of the battery power at the full state.
Application footprint
<declare-styleable>
Low power
ACTION_DOCK_EVENT
16. Allow to combine loosely coupled components to perform certain tasks
Intents
ACTION_DOCK_EVENT
Dalvik Virtual Machine
Open Handset Alliance
17. It is used to load images in a background thread - then apply them to the UI once finished.
ShareActionProvider
SecurityException
LTE
AsyncTask
18. 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.
Hierarchy Viewer
ETC1
Objects Activity lifecycle
GET_ACCOUNTS
19. Most network-connected Android apps use this to send and receive data.
HTTP
onStop();
Hierarchy Viewer
onPause();
20. 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.
Android SDK
ValueAnimator
Ducking
ConnectivityManager
21. A mode where navigation is set up with a spinner widget.
single-pane
SurfaceHolder.Callback
Dalvik Debug Monitor Server
Layouts
22. To create an activity - you must create a subclass of
GET_ACCOUNTS
AccountAuthenticatorActivity
Activity
SearchView
23. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
OnCurrentItemChanged
Widgets
onPause();
ConnectivityManager
24. It is a subclass of PreferenceActivity.
Layouts
SettingsActivity
Low power
dual-
25. 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 _____
adb
onCreate() - onDestroy()
ConnectivityManager
SQLite
26. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
NetworkInfo
Scroller
BatteryManager
Parser
27. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
Activity
BatteryManager
onDraw()
visible
28. It provides a simple way to perform your work outside the main thread.
OAuth2
SQLiteOpenHelper
virtual table
AsyncTask
29. This is the simplest way to monitor device state changes.
HTTP
Canvas
Google Cloud Messaging (GCM)
BroadcastReceiver
30. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
ConnectivityManager
BroadcastReceiver
Scroller
Full power
31. This is a readable source of bytes.
Scroller
Open Handset Alliance
InputStream
Full power
32. The most common way to define a layout using views is with an XML layout file saved in your ______
View
isConnected()
ActionProvider
Application resources
33. Use this to draw text.
Hierarchy Viewer
drawText()
security sandbox
AbstractAccountAuthenticator
34. For example - a ____ might be a button that initiates an action when the user touches it.
Widgets
EXTRA_STREAM
ConnectivityManager
View
35. Theseare a key part of Android applications that directly affect the user experience.
Layouts
SearchView
LTE
getInputStream()
36. 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()
getInputStream()
Extensible Markup Language (XML)
BroadcastReceiver
37. Perform background tasks without providing a user interface
View
Services
onDraw()
Parser
38. This widget as an item in the action bar is the preferred way to provide search in your app.
SearchView
Widgets
adb
OnCurrentItemChanged
39. This is used to register and de-register your media button event receiver.
Google Cloud Messaging for Android (GCM)
GET_ACCOUNTS
AudioManager
Android SDK
40. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
Advanced Training
Dalvik Virtual Machine
BroadcastReceiver
security sandbox
41. Callback method: The activity is being created.
Google Cloud Messaging (GCM)
onCreate();
virtual table
adb
42. This is the main class through which your application can access location services on Android.
LocationManager
onSearchRequested()
SQLite
setVolumeControlStream()
43. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
inflate()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
View
SurfaceHolder.Callback
44. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
searchable configuration
onDestroy();
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
OnCurrentItemChanged
45. 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
Layouts
Explicit intent
ConnectivityManager
46. It is a set of rules for encoding documents in machine-readable form.
Extensible Markup Language (XML)
AsyncTask
Activity
setVolumeControlStream()
47. The industry standard way to deal with authentication to third-party services.
OAuth2 protocol
ViewStub
Intent filters
Google
48. The dock-state details are included as an extra in a sticky broadcast of this action.
Wi-Fi radio
ACTION_DOCK_EVENT
LocationManager
onResume();
49. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
GestureDetector
ViewStub
Objects Activity lifecycle
ValueAnimator
50. This is an interface which is used to pass image data from the camera hardware to the application.
onStart() - onStop()
SurfaceHolder.Callback
ETC1
PieChart