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 behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
setVolumeControlStream()
Account Manager
BackupHelper
virtual table
2. The back stack abides to the basic "last in - first out" stack mechanism - so - when the user is done with the current activity and presses the Back button - it is popped from the stack (and ____) and the ____ activity resumes
onStop();
isConnected()
onPause();
Destroyed - previous
3. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
onDraw()
android.hardware.touchscreen
When the activity resumes
Advanced Training
4. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
ViewStub
GET_ACCOUNTS
Extensible Markup Language (XML)
Widgets
5. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
AudioManager
Destroyed - previous
android.hardware.touchscreen
SurfaceView
6. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
BatteryManager
Full power
Activity
Dots per inch
7. 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
onStop();
PackageManager
SecurityException
AndroidManifest.xml
8. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
onDraw()
setVolumeControlStream()
adb
BackupHelper
9. Conversion of XML back to an object
Deserialize
visible
Account Manager
Application footprint
10. This action is used in sending text content from one activity to another.
virtual table
ACTION_SEND
Stack
ShareActionProvider
11. The helper method is used to create the final width and height values.
onMeasure()
resolveSizeAndState()
setVolumeControlStream()
drawBitmap()
12. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Canvas
PackageManager
AsyncTask
Activity
13. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Entire
Ducking
Paint
single-pane
14. This is the simplest way to monitor device state changes.
drawText()
Paint
BroadcastReceiver
Layouts
15. It is a free service for sending messages to Android devices.
onAudioFocusChange()
PieChart
BroadcastReceiver
Google Cloud Messaging (GCM)
16. It is a set of rules for encoding documents in machine-readable form.
BackupHelper
Canvas
Extensible Markup Language (XML)
Explicit intent
17. It is an efficient and maintainable way to parse XML on Android.
onCreate() - onDestroy()
Full power
Fragments
XmlPullParser
18. This can be used to draw previews of what the camera sensor is picking up.
Google Cloud Messaging for Android (GCM)
onStop();
Emulator
SurfaceView
19. When a new activity starts - it is pushed onto the ____ and takes user focus.
<declare-styleable>
Back stack
Lifecycle callback methods
ValueAnimator
20. These helpers are specialized classes for backing up certain kinds of data.
Dalvik Debug Monitor Server
BackupHelper
Application resources
adb
21. Callback method: The activity is being created.
security sandbox
HTTP
onCreate();
dual-
22. The entire lifetime of an activity happens between the call to _____ and the call to _____
Wi-Fi radio
EXTRA_STREAM
SQLiteOpenHelper
onCreate() - onDestroy()
23. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
adb
ConnectivityManager
OnCurrentItemChanged
InputStream
24. For example - a ____ might be a button that initiates an action when the user touches it.
Activity
Stack
View
Linux based
25. It made implementing an effective and user friendly share action in your ActionBar even easier.
View
ActionProvider
Scroller
setVolumeControlStream()
26. Evaluation of registered components
SearchView
Dalvik Virtual Machine
BroadcastReceiver
Implicit intent
27. It inform the system what intents an application component is willing to accept.
Intent filters
When the activity resumes
Activity
Scroller
28. Allow to combine loosely coupled components to perform certain tasks
Intents
Scroller
EXTRA_STREAM
ACTION_SEND
29. 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
Component - screen
AsyncTask
Services
onPause();
30. 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 ___ .
Widgets
ConnectivityManager
Stack
AbstractAccountAuthenticator
31. Direct component call in Android
Service Content Provider
Google Play
Explicit intent
BroadcastReceiver
32. 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.
Fragments
Ducking
onResume();
EXTRA_STREAM
33. This is used to check that you're actually connected to the Internet and what type of connection is in place.
Back stack
Dalvik Debug Monitor Server
SettingsActivity
ConnectivityManager
34. 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 _____
Account
ShareActionProvider
ConnectivityManager
onCreate() - onDestroy()
35. 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.
Paint
single-pane
SearchView
ACTION_DOCK_EVENT
36. This search feature was introduced in Android 3.0 and can maintain backward compatibility with older versions of Android by using the default search dialog provided by the system.
OnCurrentItemChanged
SearchView
ValueAnimator
Activity
37. Android request its permission using its ________
SurfaceHolder.Callback
Stack
AsyncTask
AndroidManifest.xml
38. The dock-state details are included as an extra in a sticky broadcast of this action.
ACTION_DOCK_EVENT
onAudioFocusChange()
SettingsActivity
ETC1
39. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
onStop();
ActionProvider
InputStream
40. Where Android is currently primarily developed
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
LTE
HTTP
Google
41. 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?
AbstractAccountAuthenticator
Intents
AndroidManifest.xml
AttributeSet
42. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
ConnectivityManager
View
ViewStub
AbstractAccountAuthenticator
43. Are used in activities to create the user interface and to interact with the user.
onDestroy();
Fragments
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Hierarchy Viewer
44. 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?
Layouts
Hierarchy Viewer
Scroller
EXTRA_STREAM
45. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
ConnectivityManager
authenticator class
AbstractAccountAuthenticator
Scroller
46. The industry standard way to deal with authentication to third-party services.
OAuth2 protocol
Wi-Fi radio
<declare-styleable>
Services
47. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Stack
SettingsActivity
Geocoder
AttributeSet
48. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
Scroller
BackupHelper
HTTP
NetworkInfo
49. This widget as an item in the action bar is the preferred way to provide search in your app.
Activity
SearchView
AccountAuthenticatorActivity
Stack
50. Perform background tasks without providing a user interface
SearchView
inflate()
PieChart
Services