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. It is an efficient and maintainable way to parse XML on Android.
XmlPullParser
BatteryManager
virtual table
Intent filters
2. The entire lifetime of an activity happens between the call to _____ and the call to _____
Low power
Google Cloud Messaging (GCM)
Application footprint
onCreate() - onDestroy()
3. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
onDestroy();
OAuth2
Back stack
BroadcastReceiver
4. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
BroadcastReceiver
Scroller
Serialize
OAuth2
5. It is a string that defines the specific type of access your app is asking for.
auth scope
SearchView
resolveSizeAndState()
onCreate() - onDestroy()
6. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
XmlPullParser
Widgets
onStop();
Activity
7. The helper method is used to create the final width and height values.
getInputStream()
resolveSizeAndState()
View
BackupHelper
8. 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
onSearchRequested()
Component - screen
security sandbox
SurfaceView
9. Direct component call in Android
Explicit intent
Account
BroadcastReceiver
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
10. If permissions are missing - the application will get this at runtime.
adb
Hierarchy Viewer
Stack - back stack
SecurityException
11. This can be used to draw previews of what the camera sensor is picking up.
Lifecycle callback methods
AsyncTask
dual-
SurfaceView
12. The most common way to define a layout using views is with an XML layout file saved in your ______
ACTION_DOCK_EVENT
Serialize
adb
Application resources
13. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
AttributeSet
virtual table
BroadcastReceiver
onCreate() - onDestroy()
14. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Canvas
onCreate() - onDestroy()
inflate()
AsyncTask
15. This is the most common input event in the Android system.
onDraw()
LocationManager
AudioManager
touch
16. Allow to combine loosely coupled components to perform certain tasks
AsyncTask
SurfaceHolder.Callback
Intents
BackupHelper
17. Represents the visual representation of an Android application
Activity
Android SDK
setContentView
onCreate() - onDestroy()
18. 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?
security sandbox
AttributeSet
Low power
Intents
19. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Scroller
SurfaceView
drawBitmap()
Dalvik Debug Monitor Server
20. This is the simplest way to monitor device state changes.
BroadcastReceiver
Ducking
ActionProvider
onStop();
21. This class provides one of the simplest ways to fire off a new task from the UI thread.
EXTRA_STREAM
onStop();
OAuth2 protocol
AsyncTask
22. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
Dalvik Debug Monitor Server
ActionProvider
ViewStub
Full power
23. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
onDraw()
AudioManager
ConnectivityManager
InputStream
24. This is set up to animate for the duration of the fling.
Standby
ValueAnimator
onCreate();
LocationManager
25. This is an interface which is used to pass image data from the camera hardware to the application.
Services
BroadcastReceiver
SQLite
SurfaceHolder.Callback
26. It doesn't currently support the <merge/> tag in the layouts to be inflated.
ViewStub
Explicit intent
Account
single-pane
27. An open source stand alone database
ViewStub
SQLite
Widgets
Component - screen
28. It is a set of rules for encoding documents in machine-readable form.
Extensible Markup Language (XML)
SurfaceView
Emulator
Destroyed - previous
29. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
Dalvik Virtual Machine
isConnected()
AndroidManifest.xml
AsyncTask
30. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Google Cloud Messaging for Android (GCM)
onStop();
dual-
Google
31. Evaluation of registered components
Implicit intent
Linux based
XmlPullParser
Emulator
32. It is a free service for sending messages to Android devices.
Emulator
Account
Google Cloud Messaging (GCM)
HttpURLConnection
33. Whenever the device is docked or undocked - this action is broadcast.
Stack
isConnected()
BatteryManager
ACTION_DOCK_EVENT
34. Android request its permission using its ________
AndroidManifest.xml
dual-
Google Cloud Messaging (GCM)
onCreate() - onDestroy()
35. Relative to pixels and resolution screen
SecurityException
Low power
Service Content Provider
Dots per inch
36. Where Android is currently primarily developed
Dalvik Virtual Machine
Google
security sandbox
onCreate() - onDestroy()
37. Callback method: The activity has become visible.
Ducking
Lifecycle callback methods
AsyncTask
onResume();
38. 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.
getInputStream()
onDraw()
Ducking
Services
39. To define custom attributes - add this resources to your project.
Paint
ConnectivityManager
<declare-styleable>
AsyncTask
40. It inform the system what intents an application component is willing to accept.
Stack - back stack
Services
Intent filters
onMeasure()
41. Use this to draw bitmaps.
SurfaceHolder.Callback
inflate()
drawBitmap()
adb
42. The dock-state details are included as an extra in a sticky broadcast of this action.
Destroyed - previous
ACTION_DOCK_EVENT
Android SDK
AttributeSet
43. Once installed on a device - each Android application lives in its own ______
Activity
LTE
Google Cloud Messaging for Android (GCM)
security sandbox
44. 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 ___ .
AudioManager
SQLite
Stack
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
45. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
onStop();
Geocoder
Android SDK
visible
46. Shows the actual amount of memory the application uses
PackageManager
android.hardware.touchscreen
Android SDK
Application footprint
47. 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.
Lifecycle callback methods
authenticator class
drawText()
Paint
48. A service in which programmers can offer their Android application to Android users.
Google Play
ValueAnimator
GestureDetector
Service Content Provider
49. It is a subclass of PreferenceActivity.
SettingsActivity
onDestroy();
android.hardware.touchscreen
InputStream
50. On a rooted device - the credentials would be readable by anyone with this access to the device.
onAudioFocusChange()
resolveSizeAndState()
adb
SearchView