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. Converts XML Document to XML DOM
Dalvik Debug Monitor Server
Extensible Markup Language (XML)
Back stack
Parser
2. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Activity
onAudioFocusChange()
single-pane
Stack - back stack
3. is run when running Android on the pc
Full power
setContentView
Google
Emulator
4. This is used to register and de-register your media button event receiver.
AudioManager
security sandbox
ACTION_SEND
Intents
5. This is the simplest way to monitor device state changes.
onDestroy();
BroadcastReceiver
Destroyed - previous
AudioManager
6. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
onStop();
Ducking
AbstractAccountAuthenticator
InputStream
7. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
SearchView
onCreate() - onDestroy()
ConnectivityManager
searchable configuration
8. This is used to convert raw touch events into gestures.
drawBitmap()
onCreate() - onDestroy()
ACTION_SEND
GestureDetector
9. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Google Cloud Messaging for Android (GCM)
AudioManager
ACTION_DOCK_EVENT
Dots per inch
10. Callback method: The activity is no longer visible
onCreate() - onDestroy()
Hierarchy Viewer
BroadcastReceiver
onStop();
11. This can be used to draw previews of what the camera sensor is picking up.
SurfaceView
SQLite
Objects Activity lifecycle
GET_ACCOUNTS
12. In order to get a list of accounts on the device - your app needs this permission.
BackupHelper
GET_ACCOUNTS
Google
PackageManager
13. Callback method: The activity is being created.
GET_ACCOUNTS
onCreate();
Standby
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
14. 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
Extensible Markup Language (XML)
LocationManager
Account Manager
Component - screen
15. A styleable entity that contains these two custom attributes: showText and labelPosition.
Google Play
PieChart
ConnectivityManager
android.hardware.touchscreen
16. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Component - screen
BatteryManager
Widgets
Layouts
17. Represents the visual representation of an Android application
SurfaceHolder.Callback
PackageManager
ShareActionProvider
Activity
18. 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.
Low power
Account Manager
AndroidManifest.xml
Ducking
19. It is used to load images in a background thread - then apply them to the UI once finished.
Services
visible
AsyncTask
BroadcastReceiver
20. These helpers are specialized classes for backing up certain kinds of data.
LocationManager
HttpURLConnection
Android SDK
BackupHelper
21. Perform background tasks without providing a user interface
Service Content Provider
Services
ETC1
SQLite
22. It is a subclass of PreferenceActivity.
ValueAnimator
SettingsActivity
onStart() - onStop()
resolveSizeAndState()
23. A service in which programmers can offer their Android application to Android users.
Google Play
Serialize
inflate()
NetworkInfo
24. This includes tools to help you identify problems in your layout performance.
Full power
Stack - back stack
Google
Android SDK
25. Android is __________.
SecurityException
Linux based
Service Content Provider
Services
26. It made implementing an effective and user friendly share action in your ActionBar even easier.
security sandbox
onPause();
Fragments
ActionProvider
27. It is a free service for sending messages to Android devices.
setContentView
AudioManager
Google Cloud Messaging (GCM)
Open Handset Alliance
28. This broadcasts an action whenever the device is connected or disconnected from power.
BatteryManager
BroadcastReceiver
Extensible Markup Language (XML)
Deserialize
29. To define custom attributes - add this resources to your project.
onCreate() - onDestroy()
Objects Activity lifecycle
<declare-styleable>
Emulator
30. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Geocoder
drawBitmap()
Canvas
AndroidManifest.xml
31. Once installed on a device - each Android application lives in its own ______
Layouts
Scroller
security sandbox
Destroyed - previous
32. An intermediate state that uses around 50% of the battery power at the full state.
Low power
onCreate() - onDestroy()
Dots per inch
Android SDK
33. It is an efficient and maintainable way to parse XML on Android.
XmlPullParser
getInputStream()
setVolumeControlStream()
Dalvik Virtual Machine
34. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
Scroller
Serialize
BatteryManager
Google Cloud Messaging (GCM)
35. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
Parser
isConnected()
authenticator class
LocationManager
36. Conversion of XML back to an object
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Layouts
Deserialize
OnCurrentItemChanged
37. 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.
Activity
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
visible
Paint
38. 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?
When the activity resumes
Google Cloud Messaging for Android (GCM)
EXTRA_STREAM
PieChart
39. Evaluation of registered components
Widgets
SurfaceHolder.Callback
Google Play
Implicit intent
40. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
Emulator
ViewStub
Google Play
OAuth2 protocol
41. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
HTTP
authenticator class
SearchView
searchable configuration
42. Use this to draw text.
Open Handset Alliance
SettingsActivity
OnCurrentItemChanged
drawText()
43. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Lifecycle callback methods
drawBitmap()
Application resources
Advanced Training
44. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
authenticator class
visible
Objects Activity lifecycle
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
45. This is used for the need of finer control over your view's layout parameters.
Activity
onMeasure()
Stack - back stack
Application resources
46. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Lifecycle callback methods
Objects Activity lifecycle
Stack - back stack
Application footprint
47. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
setVolumeControlStream()
View
SettingsActivity
dual-
48. 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.
onSearchRequested()
Objects Activity lifecycle
ETC1
Dalvik Debug Monitor Server
49. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
SQLite
Hierarchy Viewer
onSearchRequested()
Deserialize
50. This widget as an item in the action bar is the preferred way to provide search in your app.
Account Manager
Google
OnCurrentItemChanged
SearchView