SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
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 class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
ViewStub
Canvas
Dalvik Virtual Machine
Paint
2. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
onCreate() - onDestroy()
android.hardware.touchscreen
Stack
AccountAuthenticatorActivity
3. This is used to convert raw touch events into gestures.
Objects Activity lifecycle
Google Play
GestureDetector
Google
4. A styleable entity that contains these two custom attributes: showText and labelPosition.
ETC1
resolveSizeAndState()
PieChart
Implicit intent
5. Allow to combine loosely coupled components to perform certain tasks
BatteryManager
Intents
ShareActionProvider
GET_ACCOUNTS
6. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
adb
OAuth2 protocol
ConnectivityManager
ACTION_DOCK_EVENT
7. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
View
inflate()
Layouts
Android SDK
8. This can be used to draw previews of what the camera sensor is picking up.
View
SurfaceView
EXTRA_STREAM
Geocoder
9. 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
Explicit intent
Paint
ValueAnimator
10. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Hierarchy Viewer
Geocoder
setVolumeControlStream()
Paint
11. The visible lifetime of an activity happens between the call to ____ and the call to ______
onStart() - onStop()
Lifecycle callback methods
auth scope
Hierarchy Viewer
12. Are used in activities to create the user interface and to interact with the user.
SQLiteOpenHelper
AttributeSet
Fragments
Ducking
13. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
isConnected()
getInputStream()
Intents
onStart() - onStop()
14. This widget as an item in the action bar is the preferred way to provide search in your app.
SQLite
SearchView
ShareActionProvider
Intents
15. The industry standard way to deal with authentication to third-party services.
Google Cloud Messaging for Android (GCM)
inflate()
OAuth2 protocol
Intent filters
16. Once installed on a device - each Android application lives in its own ______
security sandbox
Emulator
onCreate();
ConnectivityManager
17. This action is used in sending text content from one activity to another.
onDraw()
dual-
ACTION_SEND
HTTP
18. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
<declare-styleable>
Destroyed - previous
authenticator class
searchable configuration
19. 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.
Ducking
onDraw()
AndroidManifest.xml
Dalvik Debug Monitor Server
20. Callback method: The activity is no longer visible
adb
Account Manager
onStop();
AsyncTask
21. This class exposes a number of methods for applications to receive location updates.
AbstractAccountAuthenticator
ShareActionProvider
HttpURLConnection
LocationManager
22. It is available starting with API Level 14 and higher.
onMeasure()
Entire
Deserialize
ShareActionProvider
23. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
LTE
onMeasure()
Canvas
InputStream
24. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
isConnected()
onDestroy();
auth scope
Dalvik Debug Monitor Server
25. This is the simplest way to monitor device state changes.
Open Handset Alliance
ConnectivityManager
BroadcastReceiver
onStop();
26. This is the most common input event in the Android system.
SearchView
Linux based
Dots per inch
touch
27. It is a string that defines the specific type of access your app is asking for.
ViewStub
searchable configuration
Paint
auth scope
28. Represents the visual representation of an Android application
Component - screen
Dalvik Virtual Machine
Extensible Markup Language (XML)
Activity
29. It is called to invoke the search dialog on older devices.
auth scope
single-pane
SearchView
onSearchRequested()
30. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
ACTION_DOCK_EVENT
ViewStub
HttpURLConnection
EXTRA_STREAM
31. Use this to draw bitmaps.
ViewStub
SurfaceView
View
drawBitmap()
32. You can set the layout as the UI for your activity with passing the resource ID for the layout.
setContentView
Layouts
BatteryManager
SurfaceHolder.Callback
33. Callback method: The activity has become visible.
onResume();
onStart() - onStop()
onSearchRequested()
Implicit intent
34. In order to get a list of accounts on the device - your app needs this permission.
Advanced Training
Parser
HttpURLConnection
GET_ACCOUNTS
35. Perform background tasks without providing a user interface
onCreate();
inflate()
ShareActionProvider
Services
36. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
visible
adb
inflate()
ETC1
37. 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 _____
onCreate() - onDestroy()
onPause();
SQLite
Open Handset Alliance
38. A mode where navigation is set up with a spinner widget.
touch
single-pane
visible
BatteryManager
39. 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
Entire
AsyncTask
LocationManager
PackageManager
40. Theseare a key part of Android applications that directly affect the user experience.
Layouts
security sandbox
LocationManager
Extensible Markup Language (XML)
41. Most network-connected Android apps use this to send and receive data.
HTTP
Service Content Provider
Canvas
Ducking
42. Necessary tools to develop Android applications
GET_ACCOUNTS
XmlPullParser
Android SDK
BatteryManager
43. An intermediate state that uses around 50% of the battery power at the full state.
AccountAuthenticatorActivity
Low power
Account Manager
Service Content Provider
44. Android request its permission using its ________
Activity
AttributeSet
searchable configuration
AndroidManifest.xml
45. It is a free service for sending messages to Android devices.
Activity
XmlPullParser
Google Cloud Messaging (GCM)
BroadcastReceiver
46. Relative to pixels and resolution screen
Layouts
Dots per inch
Objects Activity lifecycle
HTTP
47. Android provides this handy method to direct volume key presses to the audio stream the user specify.
setVolumeControlStream()
GET_ACCOUNTS
Google Play
OAuth2 protocol
48. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Wi-Fi radio
Scroller
LTE
PackageManager
49. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
OAuth2 protocol
Widgets
View
searchable configuration
50. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
Open Handset Alliance
Activity
AbstractAccountAuthenticator
adb