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. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
ACTION_SEND
ConnectivityManager
Google Cloud Messaging (GCM)
Activity
2. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
Implicit intent
Scroller
searchable configuration
onSearchRequested()
3. 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?
visible
EXTRA_STREAM
SurfaceHolder.Callback
OnCurrentItemChanged
4. An open source group led by Google
Intent filters
Component - screen
Open Handset Alliance
SurfaceView
5. 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
onStart() - onStop()
Destroyed - previous
Dots per inch
Google Cloud Messaging (GCM)
6. It is available starting with API Level 14 and higher.
drawBitmap()
ShareActionProvider
Deserialize
BatteryManager
7. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
getInputStream()
Google
Widgets
Android SDK
8. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
ACTION_DOCK_EVENT
Widgets
ConnectivityManager
Geocoder
9. This is the main class through which your application can access location services on Android.
Emulator
LocationManager
onCreate() - onDestroy()
ViewStub
10. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Hierarchy Viewer
onCreate() - onDestroy()
isConnected()
Activity
11. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
searchable configuration
Low power
Google Cloud Messaging (GCM)
Canvas
12. Callback method: Another activity is taking focus
onResume();
Account Manager
onPause();
Intents
13. The minimal energy state during which no network connection is active or required.
Standby
AbstractAccountAuthenticator
ACTION_SEND
BroadcastReceiver
14. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
onStop();
onStop();
Full power
Account
15. Are used in activities to create the user interface and to interact with the user.
Fragments
onStop();
SettingsActivity
Wi-Fi radio
16. Use this to draw text.
EXTRA_STREAM
Full power
HTTP
drawText()
17. It doesn't currently support the <merge/> tag in the layouts to be inflated.
XmlPullParser
isConnected()
ViewStub
onCreate();
18. 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()
Full power
setVolumeControlStream()
SurfaceHolder.Callback
19. Shows the actual amount of memory the application uses
onStop();
AccountAuthenticatorActivity
Component - screen
Application footprint
20. This is the most common input event in the Android system.
ViewStub
onStart() - onStop()
touch
OAuth2
21. Necessary tools to develop Android applications
Open Handset Alliance
Scroller
Android SDK
auth scope
22. The helper method is used to create the final width and height values.
Android SDK
SecurityException
resolveSizeAndState()
searchable configuration
23. Callback method: The activity is about to be destroyed.
Back stack
EXTRA_STREAM
OAuth2 protocol
onDestroy();
24. ______ are views derived from ViewGroup that provide a unique layout model for its child views
<declare-styleable>
drawBitmap()
SQLite
Layouts
25. It provides a simple way to perform your work outside the main thread.
onStop();
adb
AsyncTask
HttpURLConnection
26. Use this to draw bitmaps.
drawBitmap()
authenticator class
Emulator
Back stack
27. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
BatteryManager
Geocoder
SQLite
PieChart
28. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Google Cloud Messaging (GCM)
OnCurrentItemChanged
LocationManager
onSearchRequested()
29. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
Dalvik Debug Monitor Server
inflate()
Google Cloud Messaging (GCM)
BroadcastReceiver
30. Sharing of data in Android is done via________
auth scope
LocationManager
Service Content Provider
AsyncTask
31. Conversion of XML back to an object
onAudioFocusChange()
Account
Deserialize
Component - screen
32. The visible lifetime of an activity happens between the call to ____ and the call to ______
getInputStream()
onSearchRequested()
OAuth2 protocol
onStart() - onStop()
33. Callback method: The activity is no longer visible
onCreate() - onDestroy()
AccountAuthenticatorActivity
onStop();
Wi-Fi radio
34. Once installed on a device - each Android application lives in its own ______
HttpURLConnection
onCreate();
security sandbox
onResume();
35. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
Layouts
onDraw()
AccountAuthenticatorActivity
Account
36. To create an activity - you must create a subclass of
Android SDK
Dots per inch
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Activity
37. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
searchable configuration
Extensible Markup Language (XML)
SecurityException
View
38. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
Open Handset Alliance
inflate()
Standby
AbstractAccountAuthenticator
39. 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
inflate()
getInputStream()
ConnectivityManager
40. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Parser
ConnectivityManager
Extensible Markup Language (XML)
SQLiteOpenHelper
41. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
Application footprint
OnCurrentItemChanged
AndroidManifest.xml
When the activity resumes
42. This is the simplest way to monitor device state changes.
BroadcastReceiver
Advanced Training
onCreate() - onDestroy()
Layouts
43. In order to get a list of accounts on the device - your app needs this permission.
Back stack
GET_ACCOUNTS
BatteryManager
Advanced Training
44. This includes tools to help you identify problems in your layout performance.
LocationManager
adb
SecurityException
Android SDK
45. Relative to pixels and resolution screen
AttributeSet
AsyncTask
Dalvik Debug Monitor Server
Dots per inch
46. It inform the system what intents an application component is willing to accept.
onPause();
HttpURLConnection
Intent filters
ACTION_DOCK_EVENT
47. For example - a ____ might be a button that initiates an action when the user touches it.
Google Cloud Messaging (GCM)
onCreate() - onDestroy()
Google Cloud Messaging for Android (GCM)
View
48. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
View
security sandbox
ViewStub
setContentView
49. You can set the layout as the UI for your activity with passing the resource ID for the layout.
setContentView
onSearchRequested()
PackageManager
Linux based
50. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
onStart() - onStop()
Activity
Stack - back stack
authenticator class