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. The minimal energy state during which no network connection is active or required.
Standby
Google Play
onDraw()
Layouts
2. Conversion of an object to XML
Account Manager
Serialize
HttpURLConnection
BroadcastReceiver
3. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Widgets
ConnectivityManager
EXTRA_STREAM
Scroller
4. The most common way to define a layout using views is with an XML layout file saved in your ______
View
onPause();
Application resources
GestureDetector
5. 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.
Account Manager
Paint
OAuth2 protocol
Extensible Markup Language (XML)
6. Direct component call in Android
Explicit intent
ViewStub
ValueAnimator
isConnected()
7. Theseare a key part of Android applications that directly affect the user experience.
Layouts
security sandbox
Service Content Provider
AsyncTask
8. Android request its permission using its ________
ViewStub
AndroidManifest.xml
Serialize
onDraw()
9. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
onCreate();
LocationManager
SQLiteOpenHelper
GestureDetector
10. 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 ___ .
Intents
onStop();
Stack
Dalvik Debug Monitor Server
11. Allow to combine loosely coupled components to perform certain tasks
isConnected()
adb
Paint
Intents
12. Callback method: The activity is being created.
onCreate();
Linux based
Back stack
getInputStream()
13. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
Android SDK
<declare-styleable>
ViewStub
SearchView
14. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
ACTION_DOCK_EVENT
android.hardware.touchscreen
Extensible Markup Language (XML)
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
15. This is used to fetch the account names that the user has stored on their device.
AsyncTask
ConnectivityManager
Account Manager
android.hardware.touchscreen
16. Shows the actual amount of memory the application uses
Fragments
ACTION_DOCK_EVENT
SettingsActivity
Application footprint
17. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
OAuth2
LTE
onCreate() - onDestroy()
Google Cloud Messaging for Android (GCM)
18. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
<declare-styleable>
inflate()
Geocoder
Google
19. The entire lifetime of an activity happens between the call to _____ and the call to _____
OAuth2
Google Cloud Messaging (GCM)
onCreate() - onDestroy()
ACTION_DOCK_EVENT
20. This is set up to animate for the duration of the fling.
onCreate() - onDestroy()
security sandbox
ValueAnimator
View
21. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
touch
onAudioFocusChange()
Services
Fragments
22. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Google
Scroller
android.hardware.touchscreen
Dots per inch
23. Most network-connected Android apps use this to send and receive data.
AudioManager
Destroyed - previous
HTTP
onMeasure()
24. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
BroadcastReceiver
Scroller
Google Cloud Messaging for Android (GCM)
onAudioFocusChange()
25. It is an efficient and maintainable way to parse XML on Android.
HTTP
Serialize
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
XmlPullParser
26. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
onStart() - onStop()
Hierarchy Viewer
Emulator
Scroller
27. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
AccountAuthenticatorActivity
AbstractAccountAuthenticator
Linux based
Dalvik Debug Monitor Server
28. 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
Serialize
Application footprint
PackageManager
Parser
29. It is used to load images in a background thread - then apply them to the UI once finished.
ConnectivityManager
onCreate() - onDestroy()
auth scope
AsyncTask
30. Sharing of data in Android is done via________
Service Content Provider
ACTION_DOCK_EVENT
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
drawText()
31. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
ValueAnimator
View
Standby
onResume();
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.
InputStream
PackageManager
Layouts
virtual table
33. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
Activity
AbstractAccountAuthenticator
Dalvik Virtual Machine
Low power
34. Use this to draw text.
drawText()
Extensible Markup Language (XML)
Android SDK
AudioManager
35. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
ViewStub
Intents
OnCurrentItemChanged
<declare-styleable>
36. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Geocoder
SQLiteOpenHelper
auth scope
ConnectivityManager
37. Amode where the action bar is set up with tabs for navigation.
dual-
Paint
visible
HttpURLConnection
38. An intermediate state that uses around 50% of the battery power at the full state.
isConnected()
Scroller
getInputStream()
Low power
39. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Objects Activity lifecycle
Fragments
NetworkInfo
Services
40. A service in which programmers can offer their Android application to Android users.
Scroller
BackupHelper
Emulator
Google Play
41. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
dual-
Back stack
Wi-Fi radio
ConnectivityManager
42. It is available starting with API Level 14 and higher.
searchable configuration
ShareActionProvider
auth scope
ACTION_SEND
43. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Layouts
ValueAnimator
Lifecycle callback methods
isConnected()
44. The visible lifetime of an activity happens between the call to ____ and the call to ______
onStart() - onStop()
OnCurrentItemChanged
Google Play
Google Cloud Messaging for Android (GCM)
45. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
authenticator class
PieChart
AccountAuthenticatorActivity
BroadcastReceiver
46. Where Android is currently primarily developed
Application resources
Google
Deserialize
Dots per inch
47. 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
onCreate() - onDestroy()
SearchView
Google Cloud Messaging for Android (GCM)
48. Android provides this handy method to direct volume key presses to the audio stream the user specify.
AudioManager
ConnectivityManager
setVolumeControlStream()
inflate()
49. To create an activity - you must create a subclass of
BatteryManager
Activity
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Android SDK
50. Relative to pixels and resolution screen
onStop();
Dots per inch
AsyncTask
drawBitmap()