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 broadcasts an action whenever the device is connected or disconnected from power.
Stack
security sandbox
BatteryManager
Emulator
2. These helpers are specialized classes for backing up certain kinds of data.
Layouts
BackupHelper
AudioManager
android.hardware.touchscreen
3. It is a free service for sending messages to Android devices.
Layouts
Google Cloud Messaging (GCM)
ShareActionProvider
Canvas
4. A service in which programmers can offer their Android application to Android users.
onStop();
Google Play
Intents
SearchView
5. This action is used in sending text content from one activity to another.
ACTION_SEND
When the activity resumes
authenticator class
security sandbox
6. 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 _____
onPause();
setContentView
Destroyed - previous
onCreate() - onDestroy()
7. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Google Play
HttpURLConnection
Advanced Training
Implicit intent
8. Are used in activities to create the user interface and to interact with the user.
onDraw()
auth scope
Fragments
LocationManager
9. 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.
onAudioFocusChange()
Widgets
SearchView
ETC1
10. Shows the actual amount of memory the application uses
security sandbox
Application footprint
onAudioFocusChange()
Layouts
11. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
ACTION_DOCK_EVENT
onPause();
Standby
onDraw()
12. Necessary tools to develop Android applications
Deserialize
Android SDK
Account Manager
BackupHelper
13. This class provides one of the simplest ways to fire off a new task from the UI thread.
When the activity resumes
AsyncTask
HTTP
Application footprint
14. An open source stand alone database
View
SQLite
inflate()
Services
15. This class is the basis for handling flywheel-style fling gestures.
Advanced Training
onPause();
onDestroy();
Scroller
16. Use this to draw text.
Linux based
onPause();
drawText()
Google Cloud Messaging (GCM)
17. This is used for the need of finer control over your view's layout parameters.
Widgets
onPause();
onMeasure()
onCreate() - onDestroy()
18. Use this to draw bitmaps.
authenticator class
drawBitmap()
SQLiteOpenHelper
Lifecycle callback methods
19. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Deserialize
Component - screen
Objects Activity lifecycle
onCreate() - onDestroy()
20. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Scroller
ETC1
inflate()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
21. A mode where navigation is set up with a spinner widget.
Low power
single-pane
ActionProvider
PieChart
22. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Activity
onDraw()
Stack
Geocoder
23. Whenever the device is docked or undocked - this action is broadcast.
Stack - back stack
ACTION_DOCK_EVENT
SecurityException
Back stack
24. An intermediate state that uses around 50% of the battery power at the full state.
setContentView
touch
Emulator
Low power
25. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
Android SDK
onCreate() - onDestroy()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
PackageManager
26. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
AsyncTask
ViewStub
onDestroy();
Account
27. This is used to register and de-register your media button event receiver.
AudioManager
onStop();
View
ShareActionProvider
28. Where Android is currently primarily developed
Google
<declare-styleable>
Wi-Fi radio
Explicit intent
29. It inform the system what intents an application component is willing to accept.
Android SDK
ViewStub
Paint
Intent filters
30. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Google Cloud Messaging for Android (GCM)
inflate()
Implicit intent
isConnected()
31. The entire lifetime of an activity happens between the call to _____ and the call to _____
onCreate() - onDestroy()
Canvas
ACTION_SEND
Serialize
32. 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
OAuth2 protocol
Standby
SearchView
33. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
auth scope
BroadcastReceiver
AbstractAccountAuthenticator
onStart() - onStop()
34. It is an efficient and maintainable way to parse XML on Android.
XmlPullParser
Activity
Google
Full power
35. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
Scroller
When the activity resumes
ViewStub
Fragments
36. Android is __________.
Linux based
ActionProvider
Parser
Extensible Markup Language (XML)
37. The dock-state details are included as an extra in a sticky broadcast of this action.
EXTRA_STREAM
Wi-Fi radio
drawBitmap()
ACTION_DOCK_EVENT
38. In order to get a list of accounts on the device - your app needs this permission.
onStop();
Widgets
AsyncTask
GET_ACCOUNTS
39. Callback method: The activity has become visible.
onResume();
LTE
onDraw()
ViewStub
40. Most network-connected Android apps use this to send and receive data.
Ducking
HTTP
Open Handset Alliance
Android SDK
41. Android system uses a special virtual machine to run java based applicatons
Dalvik Virtual Machine
onResume();
Activity
Implicit intent
42. This can be used to draw previews of what the camera sensor is picking up.
Low power
View
HTTP
SurfaceView
43. It is called to invoke the search dialog on older devices.
onSearchRequested()
Services
Account
BroadcastReceiver
44. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
ValueAnimator
Dalvik Debug Monitor Server
Account
Wi-Fi radio
45. This is an interface which is used to pass image data from the camera hardware to the application.
Google
dual-
Account Manager
SurfaceHolder.Callback
46. Evaluation of registered components
LocationManager
Wi-Fi radio
Implicit intent
SecurityException
47. Perform background tasks without providing a user interface
Services
onStop();
security sandbox
LocationManager
48. 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.
setVolumeControlStream()
Ducking
PackageManager
EXTRA_STREAM
49. 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
Hierarchy Viewer
Standby
Scroller
50. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Activity
ShareActionProvider
ConnectivityManager