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. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
Activity
onDraw()
Account Manager
PackageManager
2. 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
ACTION_SEND
Intent filters
Explicit intent
3. The dock-state details are included as an extra in a sticky broadcast of this action.
security sandbox
SQLiteOpenHelper
onCreate() - onDestroy()
ACTION_DOCK_EVENT
4. 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.
LTE
Layouts
Activity
Ducking
5. This is used for the need of finer control over your view's layout parameters.
Dots per inch
onMeasure()
onDraw()
PieChart
6. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
SurfaceHolder.Callback
Back stack
PieChart
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
7. It provides a simple way to perform your work outside the main thread.
SecurityException
HttpURLConnection
Account
AsyncTask
8. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
Intent filters
BatteryManager
ActionProvider
onStop();
9. Where Android is currently primarily developed
HTTP
OAuth2 protocol
dual-
Google
10. You can set the layout as the UI for your activity with passing the resource ID for the layout.
setContentView
Ducking
Lifecycle callback methods
onDestroy();
11. This is an interface which is used to pass image data from the camera hardware to the application.
SurfaceHolder.Callback
ACTION_SEND
Implicit intent
When the activity resumes
12. On a rooted device - the credentials would be readable by anyone with this access to the device.
adb
BatteryManager
Services
<declare-styleable>
13. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Google Cloud Messaging for Android (GCM)
Application resources
Stack - back stack
Dalvik Debug Monitor Server
14. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
GET_ACCOUNTS
onCreate() - onDestroy()
Google Play
Widgets
15. This is used to check that you're actually connected to the Internet and what type of connection is in place.
Intents
ConnectivityManager
Standby
Ducking
16. It is used to load images in a background thread - then apply them to the UI once finished.
SQLite
ShareActionProvider
View
AsyncTask
17. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
virtual table
ViewStub
Stack
HTTP
18. To define custom attributes - add this resources to your project.
<declare-styleable>
Stack - back stack
Canvas
EXTRA_STREAM
19. Callback method: Another activity is taking focus
isConnected()
ShareActionProvider
onPause();
Lifecycle callback methods
20. It inform the system what intents an application component is willing to accept.
Stack - back stack
drawText()
Intent filters
Full power
21. It made implementing an effective and user friendly share action in your ActionBar even easier.
ActionProvider
Emulator
ValueAnimator
onDestroy();
22. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
GET_ACCOUNTS
searchable configuration
AsyncTask
Fragments
23. Android provides this handy method to direct volume key presses to the audio stream the user specify.
Serialize
setVolumeControlStream()
inflate()
Application resources
24. Necessary tools to develop Android applications
Hierarchy Viewer
SurfaceHolder.Callback
ACTION_DOCK_EVENT
Android SDK
25. An intermediate state that uses around 50% of the battery power at the full state.
ViewStub
Low power
ValueAnimator
Advanced Training
26. This is the main class through which your application can access location services on Android.
Layouts
ValueAnimator
LocationManager
ViewStub
27. The helper method is used to create the final width and height values.
SettingsActivity
resolveSizeAndState()
SurfaceView
When the activity resumes
28. Relative to pixels and resolution screen
visible
Widgets
Dots per inch
touch
29. An _______ is an application component that provides a screen 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.
Activity
Google Cloud Messaging (GCM)
Canvas
authenticator class
30. Android system uses a special virtual machine to run java based applicatons
Dalvik Virtual Machine
Layouts
onSearchRequested()
drawBitmap()
31. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Fragments
SQLiteOpenHelper
Application resources
virtual table
32. This is used to fetch the account names that the user has stored on their device.
Low power
ConnectivityManager
Account Manager
Dots per inch
33. Callback method: The activity has become visible.
onResume();
AttributeSet
dual-
ConnectivityManager
34. This includes tools to help you identify problems in your layout performance.
Android SDK
View
onAudioFocusChange()
Stack - back stack
35. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Back stack
SQLiteOpenHelper
Wi-Fi radio
onPause();
36. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Lifecycle callback methods
Advanced Training
SQLite
Activity
37. Conversion of an object to XML
ShareActionProvider
SecurityException
Standby
Serialize
38. It is a set of rules for encoding documents in machine-readable form.
SecurityException
Activity
Extensible Markup Language (XML)
GestureDetector
39. Once installed on a device - each Android application lives in its own ______
HTTP
AndroidManifest.xml
security sandbox
SQLite
40. This broadcasts an action whenever the device is connected or disconnected from power.
BatteryManager
BackupHelper
Scroller
isConnected()
41. It is a subclass of PreferenceActivity.
SettingsActivity
View
Dalvik Virtual Machine
Back stack
42. This class provides one of the simplest ways to fire off a new task from the UI thread.
Serialize
onDraw()
inflate()
AsyncTask
43. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
adb
HTTP
AttributeSet
Geocoder
44. Callback method: The activity is being created.
onCreate();
onDestroy();
Standby
Component - screen
45. Android request its permission using its ________
InputStream
authenticator class
AndroidManifest.xml
Intents
46. This is the simplest way to monitor device state changes.
Component - screen
BroadcastReceiver
drawText()
Advanced Training
47. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
XmlPullParser
Services
virtual table
Paint
48. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Objects Activity lifecycle
Full power
AsyncTask
Account
49. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
onMeasure()
LTE
SearchView
AttributeSet
50. The industry standard way to deal with authentication to third-party services.
<declare-styleable>
OAuth2 protocol
ActionProvider
adb