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. A service in which programmers can offer their Android application to Android users.
AsyncTask
EXTRA_STREAM
Scroller
Google Play
2. It is an efficient and maintainable way to parse XML on Android.
Deserialize
onStop();
Advanced Training
XmlPullParser
3. Once installed on a device - each Android application lives in its own ______
<declare-styleable>
GestureDetector
security sandbox
Lifecycle callback methods
4. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Ducking
OnCurrentItemChanged
ActionProvider
Serialize
5. This is used for the need of finer control over your view's layout parameters.
Back stack
LocationManager
Dalvik Debug Monitor Server
onMeasure()
6. 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 ___ .
onDraw()
ConnectivityManager
SettingsActivity
Stack
7. This includes tools to help you identify problems in your layout performance.
SecurityException
ViewStub
Android SDK
Account
8. For example - a ____ might be a button that initiates an action when the user touches it.
Objects Activity lifecycle
View
OAuth2
Application footprint
9. It is a string that defines the specific type of access your app is asking for.
auth scope
onResume();
AttributeSet
dual-
10. 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
getInputStream()
Component - screen
ViewStub
AbstractAccountAuthenticator
11. Callback method: The activity is about to be destroyed.
GET_ACCOUNTS
Android SDK
onDestroy();
onCreate();
12. 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 _____
OnCurrentItemChanged
Stack
OAuth2
onCreate() - onDestroy()
13. Callback method: The activity is being created.
onCreate();
ViewStub
Low power
Layouts
14. 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
LTE
Destroyed - previous
Advanced Training
XmlPullParser
15. Callback method: Another activity is taking focus
PackageManager
HTTP
onPause();
Full power
16. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
onSearchRequested()
Parser
resolveSizeAndState()
17. This is an interface which is used to pass image data from the camera hardware to the application.
AccountAuthenticatorActivity
EXTRA_STREAM
SurfaceHolder.Callback
Hierarchy Viewer
18. Converts XML Document to XML DOM
Stack - back stack
View
Parser
Dots per inch
19. This widget as an item in the action bar is the preferred way to provide search in your app.
AttributeSet
LocationManager
AsyncTask
SearchView
20. It doesn't currently support the <merge/> tag in the layouts to be inflated.
ValueAnimator
ACTION_DOCK_EVENT
Google Cloud Messaging for Android (GCM)
ViewStub
21. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Objects Activity lifecycle
Ducking
EXTRA_STREAM
onCreate() - onDestroy()
22. This class is the basis for handling flywheel-style fling gestures.
Google Cloud Messaging for Android (GCM)
Extensible Markup Language (XML)
ConnectivityManager
Scroller
23. It is used to load images in a background thread - then apply them to the UI once finished.
Geocoder
AsyncTask
ACTION_SEND
ShareActionProvider
24. Perform background tasks without providing a user interface
Objects Activity lifecycle
Services
Destroyed - previous
Account Manager
25. This class exposes a number of methods for applications to receive location updates.
setContentView
Fragments
Full power
LocationManager
26. Where Android is currently primarily developed
Android SDK
Google
onSearchRequested()
Application footprint
27. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
View
SurfaceHolder.Callback
Open Handset Alliance
Service Content Provider
28. is run when running Android on the pc
Emulator
Back stack
Advanced Training
ShareActionProvider
29. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
onStop();
HttpURLConnection
Widgets
XmlPullParser
30. The most common way to define a layout using views is with an XML layout file saved in your ______
onCreate() - onDestroy()
Application resources
AbstractAccountAuthenticator
Services
31. Most network-connected Android apps use this to send and receive data.
HTTP
ConnectivityManager
Activity
Intent filters
32. It is available starting with API Level 14 and higher.
ETC1
ShareActionProvider
Google Cloud Messaging (GCM)
Full power
33. The minimal energy state during which no network connection is active or required.
security sandbox
Emulator
Standby
Service Content Provider
34. This action is used in sending text content from one activity to another.
ACTION_SEND
Geocoder
ACTION_DOCK_EVENT
android.hardware.touchscreen
35. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
Scroller
onCreate() - onDestroy()
Scroller
GestureDetector
36. Use this to draw bitmaps.
setVolumeControlStream()
drawBitmap()
authenticator class
HttpURLConnection
37. Sharing of data in Android is done via________
Objects Activity lifecycle
LocationManager
Hierarchy Viewer
Service Content Provider
38. It is called to invoke the search dialog on older devices.
visible
LocationManager
onSearchRequested()
Canvas
39. It is a free service for sending messages to Android devices.
SearchView
Google Cloud Messaging (GCM)
BackupHelper
When the activity resumes
40. 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.
Parser
dual-
Paint
Wi-Fi radio
41. Callback method: The activity has become visible.
onResume();
Component - screen
SecurityException
isConnected()
42. A mode where navigation is set up with a spinner widget.
ViewStub
single-pane
Account Manager
security sandbox
43. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
isConnected()
Extensible Markup Language (XML)
Scroller
OnCurrentItemChanged
44. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
Activity
onCreate();
BroadcastReceiver
AsyncTask
45. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
Serialize
AsyncTask
BatteryManager
virtual table
46. It is a subclass of PreferenceActivity.
OnCurrentItemChanged
ACTION_DOCK_EVENT
onCreate();
SettingsActivity
47. This is used to convert raw touch events into gestures.
onResume();
GestureDetector
When the activity resumes
HttpURLConnection
48. When a view is created from an XML layout - all of the attributes in the XML tag are read from the resource bundle and passed into the view's constructor as a what?
When the activity resumes
onPause();
BackupHelper
AttributeSet
49. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
onDraw()
authenticator class
Back stack
drawText()
50. In order to get a list of accounts on the device - your app needs this permission.
NetworkInfo
Widgets
ConnectivityManager
GET_ACCOUNTS