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. For example - a ____ might be a button that initiates an action when the user touches it.
View
OAuth2
SettingsActivity
onDestroy();
2. This is used to check that you're actually connected to the Internet and what type of connection is in place.
onDraw()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
visible
ConnectivityManager
3. A styleable entity that contains these two custom attributes: showText and labelPosition.
onDestroy();
ValueAnimator
Paint
PieChart
4. This is used for the need of finer control over your view's layout parameters.
Layouts
ACTION_DOCK_EVENT
onMeasure()
ConnectivityManager
5. 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.
AsyncTask
ETC1
Full power
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
6. This class provides one of the simplest ways to fire off a new task from the UI thread.
GET_ACCOUNTS
Google Play
resolveSizeAndState()
AsyncTask
7. Converts XML Document to XML DOM
Stack
Intent filters
Parser
Android SDK
8. It is available starting with API Level 14 and higher.
GestureDetector
LocationManager
ShareActionProvider
PieChart
9. It is a string that defines the specific type of access your app is asking for.
ShareActionProvider
Paint
virtual table
auth scope
10. Android system uses a special virtual machine to run java based applicatons
android.hardware.touchscreen
LocationManager
Dalvik Virtual Machine
Ducking
11. It is a set of rules for encoding documents in machine-readable form.
SQLite
AsyncTask
onStop();
Extensible Markup Language (XML)
12. Conversion of XML back to an object
Deserialize
NetworkInfo
Emulator
virtual table
13. Android request its permission using its ________
onPause();
ActionProvider
Objects Activity lifecycle
AndroidManifest.xml
14. Shows the actual amount of memory the application uses
LocationManager
EXTRA_STREAM
Application footprint
ACTION_DOCK_EVENT
15. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
drawBitmap()
inflate()
Google Cloud Messaging for Android (GCM)
setContentView
16. This is used to register and de-register your media button event receiver.
AudioManager
onSearchRequested()
visible
LocationManager
17. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
ACTION_DOCK_EVENT
single-pane
ViewStub
adb
18. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
Layouts
isConnected()
Intent filters
Back stack
19. It is called to invoke the search dialog on older devices.
onSearchRequested()
PackageManager
Back stack
SecurityException
20. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Stack - back stack
View
Widgets
Canvas
21. This class exposes a number of methods for applications to receive location updates.
onStop();
Activity
LocationManager
visible
22. The entire lifetime of an activity happens between the call to _____ and the call to _____
GET_ACCOUNTS
onCreate() - onDestroy()
Wi-Fi radio
onResume();
23. Represents the visual representation of an Android application
View
ACTION_DOCK_EVENT
onStop();
Activity
24. Perform background tasks without providing a user interface
Services
Full power
Stack
GestureDetector
25. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
Scroller
ACTION_DOCK_EVENT
Google Cloud Messaging (GCM)
authenticator class
26. ______ are views derived from ViewGroup that provide a unique layout model for its child views
onStop();
ConnectivityManager
SQLite
Layouts
27. Where Android is currently primarily developed
Application resources
ViewStub
authenticator class
Google
28. Callback method: The activity is no longer visible.
onStop();
Service Content Provider
SQLite
GestureDetector
29. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
Standby
Emulator
searchable configuration
Ducking
30. Use this to draw text.
Activity
ViewStub
LocationManager
drawText()
31. _____ 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
Canvas
View
32. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
SearchView
ConnectivityManager
setContentView
Services
33. The most common way to define a layout using views is with an XML layout file saved in your ______
Emulator
BackupHelper
Application resources
Entire
34. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
onCreate() - onDestroy()
View
virtual table
Stack - back stack
35. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Stack - back stack
Activity
Fragments
SQLiteOpenHelper
36. To create an activity - you must create a subclass of
Standby
Activity
OAuth2 protocol
ShareActionProvider
37. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Activity
Account Manager
Advanced Training
InputStream
38. Conversion of an object to XML
Services
Linux based
Layouts
Serialize
39. 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?
AttributeSet
inflate()
getInputStream()
Canvas
40. These helpers are specialized classes for backing up certain kinds of data.
BackupHelper
touch
onSearchRequested()
XmlPullParser
41. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
OnCurrentItemChanged
Dalvik Debug Monitor Server
onCreate() - onDestroy()
OAuth2
42. This search feature was introduced in Android 3.0 and can maintain backward compatibility with older versions of Android by using the default search dialog provided by the system.
Explicit intent
Application resources
onStop();
SearchView
43. It provides a simple way to perform your work outside the main thread.
AsyncTask
BatteryManager
BroadcastReceiver
Canvas
44. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
InputStream
Widgets
onCreate() - onDestroy()
Dalvik Debug Monitor Server
45. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Full power
resolveSizeAndState()
Scroller
touch
46. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
onCreate() - onDestroy()
android.hardware.touchscreen
Google Cloud Messaging (GCM)
SQLiteOpenHelper
47. It doesn't currently support the <merge/> tag in the layouts to be inflated.
Intent filters
Application footprint
HttpURLConnection
ViewStub
48. In most cases this will offer greater bandwidth at a significantly lower battery cost.
onCreate() - onDestroy()
ViewStub
SurfaceHolder.Callback
Wi-Fi radio
49. It made implementing an effective and user friendly share action in your ActionBar even easier.
Application footprint
ActionProvider
Deserialize
onAudioFocusChange()
50. Whenever the device is docked or undocked - this action is broadcast.
Advanced Training
ACTION_DOCK_EVENT
ConnectivityManager
onStop();