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. If permissions are missing - the application will get this at runtime.
Canvas
single-pane
SecurityException
getInputStream()
2. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
AttributeSet
SurfaceView
ACTION_DOCK_EVENT
onDraw()
3. The helper method is used to create the final width and height values.
Emulator
Stack
resolveSizeAndState()
Standby
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.
AbstractAccountAuthenticator
GET_ACCOUNTS
Ducking
auth scope
5. These helpers are specialized classes for backing up certain kinds of data.
OnCurrentItemChanged
dual-
Activity
BackupHelper
6. To define custom attributes - add this resources to your project.
<declare-styleable>
onCreate() - onDestroy()
Extensible Markup Language (XML)
Google Play
7. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
XmlPullParser
EXTRA_STREAM
visible
security sandbox
8. 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
Implicit intent
Google Cloud Messaging for Android (GCM)
onResume();
9. This class exposes a number of methods for applications to receive location updates.
resolveSizeAndState()
LTE
LocationManager
Android SDK
10. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
Stack - back stack
AsyncTask
onDraw()
onCreate() - onDestroy()
11. Use this to draw bitmaps.
Stack
auth scope
drawBitmap()
Hierarchy Viewer
12. Sharing of data in Android is done via________
onStart() - onStop()
BroadcastReceiver
Service Content Provider
OAuth2
13. It is a string that defines the specific type of access your app is asking for.
<declare-styleable>
AndroidManifest.xml
auth scope
Scroller
14. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Layouts
ActionProvider
Objects Activity lifecycle
single-pane
15. It provides a single value - called an auth token that represents both the user's identity and the application's authorization to act on the user's behalf.
HTTP
Google Cloud Messaging (GCM)
OAuth2
AccountAuthenticatorActivity
16. This class provides one of the simplest ways to fire off a new task from the UI thread.
Activity
XmlPullParser
AsyncTask
AttributeSet
17. It provides a simple way to perform your work outside the main thread.
ViewStub
Stack - back stack
AsyncTask
resolveSizeAndState()
18. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
onStop();
Google Cloud Messaging (GCM)
Paint
View
19. It's generally a good idea for one of your APKs to support this texture format as it is supported by all Android-powered devices that support the OpenGL ES 2.0 spec.
Google
NetworkInfo
Geocoder
ETC1
20. Most network-connected Android apps use this to send and receive data.
Activity
inflate()
onPause();
HTTP
21. This broadcasts an action whenever the device is connected or disconnected from power.
onStop();
onMeasure()
Android SDK
BatteryManager
22. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
AsyncTask
Android SDK
SurfaceView
OnCurrentItemChanged
23. A styleable entity that contains these two custom attributes: showText and labelPosition.
onAudioFocusChange()
PieChart
BatteryManager
Advanced Training
24. For example - a ____ might be a button that initiates an action when the user touches it.
View
Application resources
AsyncTask
Objects Activity lifecycle
25. It is called to invoke the search dialog on older devices.
Account Manager
searchable configuration
single-pane
onSearchRequested()
26. It inform the system what intents an application component is willing to accept.
OnCurrentItemChanged
Intent filters
Services
Activity
27. This is used to fetch the account names that the user has stored on their device.
ViewStub
Account Manager
getInputStream()
View
28. Relative to pixels and resolution screen
ValueAnimator
ConnectivityManager
Dots per inch
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
29. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
security sandbox
XmlPullParser
android.hardware.touchscreen
inflate()
30. Amode where the action bar is set up with tabs for navigation.
onCreate() - onDestroy()
dual-
onStop();
Open Handset Alliance
31. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Layouts
Service Content Provider
Back stack
Emulator
32. Callback method: Another activity is taking focus
Linux based
Layouts
onPause();
Service Content Provider
33. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
ViewStub
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
onPause();
Dalvik Debug Monitor Server
34. 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
Geocoder
Explicit intent
Google Play
35. Use this to draw text.
SurfaceHolder.Callback
drawText()
virtual table
Entire
36. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
onCreate();
Dalvik Virtual Machine
authenticator class
Stack
37. It is an efficient and maintainable way to parse XML on Android.
security sandbox
Deserialize
XmlPullParser
Serialize
38. It is a free service for sending messages to Android devices.
Google Cloud Messaging (GCM)
onCreate() - onDestroy()
Service Content Provider
onDestroy();
39. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
setContentView
AttributeSet
virtual table
XmlPullParser
40. Callback method: The activity is no longer visible.
Intents
Entire
Scroller
onStop();
41. Perform background tasks without providing a user interface
SearchView
SearchView
onCreate() - onDestroy()
Services
42. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
SettingsActivity
ViewStub
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
BroadcastReceiver
43. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
BroadcastReceiver
HttpURLConnection
EXTRA_STREAM
android.hardware.touchscreen
44. This is the simplest way to monitor device state changes.
onCreate() - onDestroy()
BroadcastReceiver
ACTION_DOCK_EVENT
LTE
45. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
searchable configuration
ViewStub
Hierarchy Viewer
SQLite
46. Android is __________.
Activity
AsyncTask
Linux based
SecurityException
47. A service in which programmers can offer their Android application to Android users.
Google Play
Advanced Training
drawText()
SecurityException
48. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Objects Activity lifecycle
Wi-Fi radio
onStop();
Parser
49. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
onMeasure()
Serialize
AbstractAccountAuthenticator
Extensible Markup Language (XML)
50. Android request its permission using its ________
OAuth2 protocol
single-pane
Hierarchy Viewer
AndroidManifest.xml