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. This is used to register and de-register your media button event receiver.
Google Cloud Messaging (GCM)
HttpURLConnection
isConnected()
AudioManager
2. To define custom attributes - add this resources to your project.
BackupHelper
<declare-styleable>
Wi-Fi radio
Account
3. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
onStart() - onStop()
Hierarchy Viewer
virtual table
AsyncTask
4. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Dalvik Debug Monitor Server
BackupHelper
PieChart
Stack
5. It is a set of rules for encoding documents in machine-readable form.
HTTP
Extensible Markup Language (XML)
dual-
Activity
6. The entire lifetime of an activity happens between the call to _____ and the call to _____
SettingsActivity
onDestroy();
onCreate() - onDestroy()
onAudioFocusChange()
7. The most common way to define a layout using views is with an XML layout file saved in your ______
setContentView
SurfaceView
Application resources
Back stack
8. It is an efficient and maintainable way to parse XML on Android.
XmlPullParser
BatteryManager
isConnected()
Canvas
9. The back stack abides to the basic "last in - first out" stack mechanism - so - when the user is done with the current activity and presses the Back button - it is popped from the stack (and ____) and the ____ activity resumes
Widgets
onMeasure()
Destroyed - previous
ConnectivityManager
10. 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
ShareActionProvider
Hierarchy Viewer
Application resources
11. Most network-connected Android apps use this to send and receive data.
Standby
android.hardware.touchscreen
getInputStream()
HTTP
12. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
AccountAuthenticatorActivity
onStop();
Intent filters
Implicit intent
13. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Paint
Destroyed - previous
Google Play
Full power
14. Use this to draw text.
Component - screen
AudioManager
PackageManager
drawText()
15. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
onCreate() - onDestroy()
ViewStub
drawText()
<declare-styleable>
16. It doesn't currently support the <merge/> tag in the layouts to be inflated.
onPause();
Open Handset Alliance
Explicit intent
ViewStub
17. A service in which programmers can offer their Android application to Android users.
Destroyed - previous
LTE
onAudioFocusChange()
Google Play
18. This is the main class through which your application can access location services on Android.
AttributeSet
Parser
LocationManager
onAudioFocusChange()
19. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
SettingsActivity
OnCurrentItemChanged
Activity
20. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
ConnectivityManager
Services
inflate()
HTTP
21. Callback method: The activity is no longer visible
<declare-styleable>
Dalvik Virtual Machine
onStop();
onMeasure()
22. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Widgets
LocationManager
Account Manager
ETC1
23. It inform the system what intents an application component is willing to accept.
BatteryManager
Intent filters
Activity
SearchView
24. This action is used in sending text content from one activity to another.
adb
searchable configuration
SearchView
ACTION_SEND
25. 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
LocationManager
ConnectivityManager
BroadcastReceiver
26. It provides a simple way to perform your work outside the main thread.
Service Content Provider
AsyncTask
BroadcastReceiver
Google
27. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
resolveSizeAndState()
onStart() - onStop()
AbstractAccountAuthenticator
Back stack
28. It is available starting with API Level 14 and higher.
onCreate();
AndroidManifest.xml
ShareActionProvider
Application footprint
29. Use this to draw bitmaps.
LocationManager
Paint
Google Cloud Messaging (GCM)
drawBitmap()
30. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Geocoder
Stack - back stack
onCreate();
Paint
31. Amode where the action bar is set up with tabs for navigation.
View
dual-
searchable configuration
Linux based
32. This can be used to draw previews of what the camera sensor is picking up.
SurfaceView
SearchView
searchable configuration
SettingsActivity
33. This class is the basis for handling flywheel-style fling gestures.
AudioManager
ShareActionProvider
Geocoder
Scroller
34. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
Application footprint
NetworkInfo
PieChart
LTE
35. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
XmlPullParser
onResume();
single-pane
searchable configuration
36. is run when running Android on the pc
Implicit intent
Emulator
BroadcastReceiver
SearchView
37. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
GET_ACCOUNTS
View
AsyncTask
adb
38. 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 ___ .
Google Cloud Messaging for Android (GCM)
drawText()
Back stack
Stack
39. In most cases this will offer greater bandwidth at a significantly lower battery cost.
dual-
ConnectivityManager
Wi-Fi radio
Extensible Markup Language (XML)
40. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
onAudioFocusChange()
Scroller
Destroyed - previous
OnCurrentItemChanged
41. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
onDraw()
onDestroy();
Back stack
adb
42. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
SQLiteOpenHelper
SettingsActivity
getInputStream()
Extensible Markup Language (XML)
43. Converts XML Document to XML DOM
Deserialize
Application footprint
AbstractAccountAuthenticator
Parser
44. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
Dalvik Virtual Machine
Parser
XmlPullParser
visible
45. For example - a ____ might be a button that initiates an action when the user touches it.
View
Lifecycle callback methods
Objects Activity lifecycle
Destroyed - previous
46. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
ACTION_SEND
Component - screen
Emulator
virtual table
47. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
Dalvik Virtual Machine
BroadcastReceiver
authenticator class
BatteryManager
48. A styleable entity that contains these two custom attributes: showText and labelPosition.
PieChart
adb
AsyncTask
auth scope
49. Sharing of data in Android is done via________
EXTRA_STREAM
Service Content Provider
drawBitmap()
Google
50. This includes tools to help you identify problems in your layout performance.
Android SDK
touch
Destroyed - previous
Intent filters