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. Callback method: The activity is being created.
PieChart
AsyncTask
onCreate();
Emulator
2. Android is __________.
Services
Deserialize
Linux based
GestureDetector
3. This is the main class through which your application can access location services on Android.
Layouts
SearchView
onResume();
LocationManager
4. Relative to pixels and resolution screen
Dalvik Debug Monitor Server
setVolumeControlStream()
Scroller
Dots per inch
5. The helper method is used to create the final width and height values.
Paint
Intents
resolveSizeAndState()
Google
6. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
onDraw()
Android SDK
Widgets
OnCurrentItemChanged
7. Conversion of XML back to an object
drawBitmap()
ShareActionProvider
Deserialize
Full power
8. The visible lifetime of an activity happens between the call to ____ and the call to ______
Geocoder
onStart() - onStop()
onCreate() - onDestroy()
View
9. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
BroadcastReceiver
Hierarchy Viewer
Wi-Fi radio
AudioManager
10. Callback method: The activity is no longer visible
Activity
auth scope
isConnected()
onStop();
11. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
Full power
onCreate() - onDestroy()
BackupHelper
PieChart
12. The industry standard way to deal with authentication to third-party services.
Activity
Application footprint
Widgets
OAuth2 protocol
13. Callback method: The activity has become visible.
BackupHelper
visible
onResume();
Account
14. Use this to draw bitmaps.
HTTP
drawBitmap()
AudioManager
Extensible Markup Language (XML)
15. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
BroadcastReceiver
ACTION_SEND
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
View
16. Sharing of data in Android is done via________
LocationManager
Service Content Provider
Services
Objects Activity lifecycle
17. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
Dalvik Debug Monitor Server
SearchView
View
18. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
InputStream
onPause();
Application resources
authenticator class
19. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
NetworkInfo
resolveSizeAndState()
Standby
Advanced Training
20. To create an activity - you must create a subclass of
Widgets
adb
Activity
single-pane
21. On a rooted device - the credentials would be readable by anyone with this access to the device.
onResume();
ACTION_DOCK_EVENT
Google
adb
22. This class provides one of the simplest ways to fire off a new task from the UI thread.
BatteryManager
onAudioFocusChange()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
AsyncTask
23. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
onPause();
Objects Activity lifecycle
touch
ConnectivityManager
24. This action is used in sending text content from one activity to another.
GestureDetector
ACTION_SEND
onSearchRequested()
Android SDK
25. It is used to load images in a background thread - then apply them to the UI once finished.
XmlPullParser
virtual table
AsyncTask
HttpURLConnection
26. This broadcasts an action whenever the device is connected or disconnected from power.
Fragments
BatteryManager
SQLiteOpenHelper
Account Manager
27. Callback method: The activity is about to be destroyed.
onDestroy();
onMeasure()
Android SDK
Scroller
28. An intermediate state that uses around 50% of the battery power at the full state.
Application footprint
setVolumeControlStream()
Application resources
Low power
29. This is used for the need of finer control over your view's layout parameters.
LocationManager
BroadcastReceiver
BatteryManager
onMeasure()
30. Android request its permission using its ________
Advanced Training
AndroidManifest.xml
Serialize
Android SDK
31. 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.
SearchView
Objects Activity lifecycle
View
Dots per inch
32. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
onMeasure()
Emulator
AbstractAccountAuthenticator
Google Cloud Messaging for Android (GCM)
33. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
Implicit intent
AccountAuthenticatorActivity
Emulator
ACTION_DOCK_EVENT
34. It is a free service for sending messages to Android devices.
Activity
Google Cloud Messaging (GCM)
SurfaceView
BroadcastReceiver
35. A mode where navigation is set up with a spinner widget.
onMeasure()
single-pane
Advanced Training
Destroyed - previous
36. This includes tools to help you identify problems in your layout performance.
Android SDK
OAuth2 protocol
isConnected()
AudioManager
37. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
dual-
isConnected()
Account
<declare-styleable>
38. This can be used to draw previews of what the camera sensor is picking up.
SettingsActivity
SurfaceView
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
onCreate() - onDestroy()
39. This is used to convert raw touch events into gestures.
GestureDetector
SurfaceView
BroadcastReceiver
setContentView
40. It is a string that defines the specific type of access your app is asking for.
OAuth2
Paint
Geocoder
auth scope
41. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Serialize
android.hardware.touchscreen
Application footprint
SurfaceView
42. 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 ___ .
Standby
Stack
BroadcastReceiver
LTE
43. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
HttpURLConnection
BatteryManager
SearchView
OnCurrentItemChanged
44. Perform background tasks without providing a user interface
Services
AccountAuthenticatorActivity
Lifecycle callback methods
Explicit intent
45. It inform the system what intents an application component is willing to accept.
Scroller
Intent filters
Full power
HttpURLConnection
46. 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
ACTION_SEND
setVolumeControlStream()
AsyncTask
47. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Widgets
Dots per inch
Back stack
Android SDK
48. This is the simplest way to monitor device state changes.
Objects Activity lifecycle
AccountAuthenticatorActivity
BroadcastReceiver
android.hardware.touchscreen
49. This is an interface which is used to pass image data from the camera hardware to the application.
Open Handset Alliance
onDraw()
Standby
SurfaceHolder.Callback
50. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
SearchView
onCreate() - onDestroy()
View
Emulator