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. Conversion of an object to XML
Serialize
adb
ViewStub
Extensible Markup Language (XML)
2. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Dalvik Debug Monitor Server
onStart() - onStop()
Intent filters
onCreate() - onDestroy()
3. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
adb
AndroidManifest.xml
View
<declare-styleable>
4. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Google Cloud Messaging for Android (GCM)
Canvas
Component - screen
Google Play
5. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
Geocoder
Application resources
NetworkInfo
AttributeSet
6. An open source stand alone database
SQLite
Paint
Android SDK
ConnectivityManager
7. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
authenticator class
onAudioFocusChange()
Linux based
8. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
Hierarchy Viewer
ConnectivityManager
Application footprint
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
9. Where Android is currently primarily developed
Activity
Google
adb
Application resources
10. It is a subclass of PreferenceActivity.
Deserialize
GestureDetector
SettingsActivity
Account Manager
11. Shows the actual amount of memory the application uses
onSearchRequested()
Application footprint
getInputStream()
Fragments
12. In order to get a list of accounts on the device - your app needs this permission.
Layouts
HttpURLConnection
GET_ACCOUNTS
android.hardware.touchscreen
13. When a new activity starts - it is pushed onto the ____ and takes user focus.
Back stack
Application resources
Advanced Training
HttpURLConnection
14. 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?
onStop();
onStop();
Back stack
EXTRA_STREAM
15. It is available starting with API Level 14 and higher.
ShareActionProvider
Entire
Dots per inch
ACTION_DOCK_EVENT
16. This is the most common input event in the Android system.
BatteryManager
isConnected()
touch
Stack
17. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
InputStream
drawText()
Dots per inch
Full power
18. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
PackageManager
Google Cloud Messaging for Android (GCM)
Stack
Canvas
19. To define custom attributes - add this resources to your project.
Scroller
Objects Activity lifecycle
PackageManager
<declare-styleable>
20. For example - a ____ might be a button that initiates an action when the user touches it.
Standby
View
ACTION_SEND
AndroidManifest.xml
21. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
Service Content Provider
visible
Activity
OAuth2 protocol
22. The minimal energy state during which no network connection is active or required.
AbstractAccountAuthenticator
LocationManager
Standby
Google Play
23. This broadcasts an action whenever the device is connected or disconnected from power.
single-pane
onResume();
BatteryManager
onPause();
24. This is used to register and de-register your media button event receiver.
adb
Dots per inch
Application footprint
AudioManager
25. Amode where the action bar is set up with tabs for navigation.
Google Play
AccountAuthenticatorActivity
ACTION_DOCK_EVENT
dual-
26. You can set the layout as the UI for your activity with passing the resource ID for the layout.
setContentView
Parser
Dalvik Virtual Machine
isConnected()
27. This widget as an item in the action bar is the preferred way to provide search in your app.
virtual table
SearchView
ACTION_SEND
Google
28. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
Deserialize
onStart() - onStop()
onCreate() - onDestroy()
AsyncTask
29. 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 _____
Android SDK
onCreate() - onDestroy()
Dalvik Debug Monitor Server
BroadcastReceiver
30. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Dalvik Virtual Machine
Widgets
adb
Application resources
31. This is used to convert raw touch events into gestures.
onStop();
Widgets
drawText()
GestureDetector
32. Whenever the device is docked or undocked - this action is broadcast.
Activity
touch
ACTION_DOCK_EVENT
Extensible Markup Language (XML)
33. A mode where navigation is set up with a spinner widget.
single-pane
Explicit intent
SearchView
Standby
34. 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.
Google Play
BatteryManager
Destroyed - previous
Ducking
35. 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 ___ .
dual-
Stack
Android SDK
BatteryManager
36. Callback method: The activity is about to be destroyed.
Service Content Provider
AsyncTask
SearchView
onDestroy();
37. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
OAuth2
Objects Activity lifecycle
Application resources
AccountAuthenticatorActivity
38. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
virtual table
Hierarchy Viewer
BatteryManager
LocationManager
39. Use this to draw text.
drawText()
Fragments
BroadcastReceiver
virtual table
40. The entire lifetime of an activity happens between the call to _____ and the call to _____
isConnected()
setVolumeControlStream()
onDraw()
onCreate() - onDestroy()
41. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
When the activity resumes
XmlPullParser
BatteryManager
onCreate();
42. This is used to check that you're actually connected to the Internet and what type of connection is in place.
InputStream
ConnectivityManager
Service Content Provider
BatteryManager
43. This is the main class through which your application can access location services on Android.
EXTRA_STREAM
LocationManager
resolveSizeAndState()
Linux based
44. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
Objects Activity lifecycle
Deserialize
ViewStub
OnCurrentItemChanged
45. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
OnCurrentItemChanged
Application footprint
onResume();
HTTP
46. The industry standard way to deal with authentication to third-party services.
OAuth2 protocol
Intent filters
Services
OnCurrentItemChanged
47. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
HttpURLConnection
AsyncTask
onResume();
Linux based
48. is run when running Android on the pc
Dalvik Debug Monitor Server
Stack - back stack
Emulator
ACTION_DOCK_EVENT
49. Relative to pixels and resolution screen
resolveSizeAndState()
BatteryManager
Dots per inch
adb
50. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
AsyncTask
onDraw()
ActionProvider
isConnected()