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. Use this to draw bitmaps.
Widgets
Entire
onStop();
drawBitmap()
2. It is used to toggle the enabled state on any component defined in the manifest - including whichever broadcast receivers you wish to enable or disable
Hierarchy Viewer
Application footprint
PackageManager
ETC1
3. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Services
onDestroy();
InputStream
Dalvik Debug Monitor Server
4. This broadcasts an action whenever the device is connected or disconnected from power.
Stack - back stack
inflate()
BatteryManager
AsyncTask
5. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
ShareActionProvider
Ducking
BatteryManager
touch
6. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
Activity
authenticator class
onStart() - onStop()
AccountAuthenticatorActivity
7. For example - a ____ might be a button that initiates an action when the user touches it.
Android SDK
Implicit intent
View
onCreate() - onDestroy()
8. 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?
EXTRA_STREAM
Low power
android.hardware.touchscreen
Application footprint
9. It is available starting with API Level 14 and higher.
onMeasure()
Layouts
ShareActionProvider
adb
10. is run when running Android on the pc
Emulator
Hierarchy Viewer
Wi-Fi radio
InputStream
11. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
HTTP
ActionProvider
Google
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
12. Use this to draw text.
touch
android.hardware.touchscreen
drawText()
GestureDetector
13. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
BroadcastReceiver
ACTION_SEND
Extensible Markup Language (XML)
getInputStream()
14. Direct component call in Android
ConnectivityManager
XmlPullParser
View
Explicit intent
15. Callback method: The activity is about to be destroyed.
onPause();
onDestroy();
drawText()
Deserialize
16. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
When the activity resumes
Service Content Provider
SearchView
AbstractAccountAuthenticator
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()
single-pane
Dots per inch
Fragments
18. It is used to load images in a background thread - then apply them to the UI once finished.
Parser
Service Content Provider
AsyncTask
Lifecycle callback methods
19. This class is the basis for handling flywheel-style fling gestures.
dual-
searchable configuration
onDraw()
Scroller
20. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
Advanced Training
NetworkInfo
Account
visible
21. The minimal energy state during which no network connection is active or required.
Standby
Scroller
ActionProvider
Low power
22. 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.
ETC1
HTTP
Scroller
onStart() - onStop()
23. 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.
onStart() - onStop()
OAuth2
View
SQLiteOpenHelper
24. It is a string that defines the specific type of access your app is asking for.
<declare-styleable>
GET_ACCOUNTS
onStop();
auth scope
25. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Activity
Google Cloud Messaging for Android (GCM)
View
SQLiteOpenHelper
26. Android request its permission using its ________
LocationManager
AsyncTask
AndroidManifest.xml
SQLiteOpenHelper
27. Android provides this handy method to direct volume key presses to the audio stream the user specify.
setVolumeControlStream()
PackageManager
ConnectivityManager
XmlPullParser
28. Allow to combine loosely coupled components to perform certain tasks
Application footprint
Intents
HttpURLConnection
Widgets
29. This is the simplest way to monitor device state changes.
BroadcastReceiver
Fragments
SearchView
inflate()
30. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
View
onDraw()
PieChart
onPause();
31. Android system uses a special virtual machine to run java based applicatons
dual-
ETC1
onCreate() - onDestroy()
Dalvik Virtual Machine
32. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
Component - screen
isConnected()
Explicit intent
setContentView
33. This is a readable source of bytes.
Application footprint
GET_ACCOUNTS
InputStream
Destroyed - previous
34. The industry standard way to deal with authentication to third-party services.
Geocoder
SearchView
Application footprint
OAuth2 protocol
35. The entire lifetime of an activity happens between the call to _____ and the call to _____
ACTION_SEND
Intent filters
Destroyed - previous
onCreate() - onDestroy()
36. It is called to invoke the search dialog on older devices.
ACTION_DOCK_EVENT
Open Handset Alliance
onSearchRequested()
Low power
37. An open source group led by Google
adb
Open Handset Alliance
Service Content Provider
PackageManager
38. Theseare a key part of Android applications that directly affect the user experience.
Application footprint
Google Play
dual-
Layouts
39. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
Objects Activity lifecycle
onDestroy();
NetworkInfo
BatteryManager
40. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Google Cloud Messaging for Android (GCM)
SearchView
Account Manager
onCreate() - onDestroy()
41. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Parser
Full power
onStart() - onStop()
virtual table
42. Evaluation of registered components
Dots per inch
Implicit intent
Extensible Markup Language (XML)
View
43. This class exposes a number of methods for applications to receive location updates.
Android SDK
LocationManager
<declare-styleable>
Application resources
44. This is an interface which is used to pass image data from the camera hardware to the application.
Emulator
Widgets
SurfaceHolder.Callback
ConnectivityManager
45. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
<declare-styleable>
AsyncTask
HttpURLConnection
Advanced Training
46. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
Layouts
AccountAuthenticatorActivity
InputStream
HttpURLConnection
47. This is the most common input event in the Android system.
Activity
AccountAuthenticatorActivity
touch
onCreate() - onDestroy()
48. Callback method: The activity is being created.
security sandbox
onCreate();
Android SDK
Extensible Markup Language (XML)
49. Most network-connected Android apps use this to send and receive data.
ValueAnimator
HTTP
searchable configuration
Dalvik Virtual Machine
50. Sharing of data in Android is done via________
SecurityException
Service Content Provider
security sandbox
ActionProvider