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.
AudioManager
AbstractAccountAuthenticator
ACTION_SEND
drawText()
2. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
searchable configuration
onPause();
Google Cloud Messaging for Android (GCM)
onMeasure()
3. The dock-state details are included as an extra in a sticky broadcast of this action.
GET_ACCOUNTS
ViewStub
View
ACTION_DOCK_EVENT
4. Evaluation of registered components
LTE
Extensible Markup Language (XML)
BroadcastReceiver
Implicit intent
5. Android is __________.
inflate()
Linux based
AsyncTask
onCreate();
6. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
onSearchRequested()
ShareActionProvider
Geocoder
AbstractAccountAuthenticator
7. Theseare a key part of Android applications that directly affect the user experience.
Objects Activity lifecycle
inflate()
onCreate() - onDestroy()
Layouts
8. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
Standby
AndroidManifest.xml
When the activity resumes
ConnectivityManager
9. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
security sandbox
Canvas
AccountAuthenticatorActivity
ActionProvider
10. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
isConnected()
Advanced Training
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
11. The industry standard way to deal with authentication to third-party services.
Extensible Markup Language (XML)
OAuth2
OAuth2 protocol
SearchView
12. If permissions are missing - the application will get this at runtime.
SecurityException
onSearchRequested()
onMeasure()
onAudioFocusChange()
13. This is the main class through which your application can access location services on Android.
LocationManager
PieChart
resolveSizeAndState()
Serialize
14. It inform the system what intents an application component is willing to accept.
HTTP
Standby
Intent filters
Account Manager
15. The most common way to define a layout using views is with an XML layout file saved in your ______
Activity
Implicit intent
onResume();
Application resources
16. Converts XML Document to XML DOM
ACTION_SEND
Parser
android.hardware.touchscreen
Dalvik Virtual Machine
17. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
onStop();
onDestroy();
Google Cloud Messaging for Android (GCM)
virtual table
18. Use this to draw bitmaps.
Application resources
drawBitmap()
setContentView
onCreate() - onDestroy()
19. 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
EXTRA_STREAM
HttpURLConnection
Application resources
20. It is a subclass of PreferenceActivity.
SettingsActivity
PieChart
Account
security sandbox
21. The entire lifetime of an activity happens between the call to _____ and the call to _____
BackupHelper
AbstractAccountAuthenticator
onCreate() - onDestroy()
LocationManager
22. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
LTE
drawBitmap()
isConnected()
Advanced Training
23. 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.
Full power
BatteryManager
ETC1
AttributeSet
24. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
onCreate() - onDestroy()
Implicit intent
NetworkInfo
getInputStream()
25. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
onStop();
ConnectivityManager
OnCurrentItemChanged
Google Cloud Messaging (GCM)
26. Use this to draw text.
Stack - back stack
searchable configuration
drawText()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
27. Android provides this handy method to direct volume key presses to the audio stream the user specify.
onStop();
NetworkInfo
getInputStream()
setVolumeControlStream()
28. Shows the actual amount of memory the application uses
onSearchRequested()
Implicit intent
Application footprint
SQLite
29. 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
Application resources
Deserialize
Component - screen
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.
Widgets
BroadcastReceiver
HTTP
Layouts
31. Callback method: The activity is being created.
drawBitmap()
Google Cloud Messaging for Android (GCM)
Stack
onCreate();
32. Direct component call in Android
Explicit intent
onPause();
auth scope
Lifecycle callback methods
33. For example - a ____ might be a button that initiates an action when the user touches it.
LocationManager
View
onStart() - onStop()
onDraw()
34. A mode where navigation is set up with a spinner widget.
AudioManager
getInputStream()
Service Content Provider
single-pane
35. When a new activity starts - it is pushed onto the ____ and takes user focus.
HttpURLConnection
Back stack
Explicit intent
Activity
36. 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.
SurfaceHolder.Callback
visible
AudioManager
Paint
37. This class provides one of the simplest ways to fire off a new task from the UI thread.
AsyncTask
SearchView
LTE
Layouts
38. This action is used in sending text content from one activity to another.
BatteryManager
onSearchRequested()
SearchView
ACTION_SEND
39. It is a string that defines the specific type of access your app is asking for.
onDraw()
auth scope
SettingsActivity
Dalvik Debug Monitor Server
40. This widget as an item in the action bar is the preferred way to provide search in your app.
SearchView
SettingsActivity
PackageManager
searchable configuration
41. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
onDestroy();
LTE
AbstractAccountAuthenticator
onCreate() - onDestroy()
42. On a rooted device - the credentials would be readable by anyone with this access to the device.
Layouts
Service Content Provider
SQLite
adb
43. Allow to combine loosely coupled components to perform certain tasks
ConnectivityManager
Lifecycle callback methods
Fragments
Intents
44. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
Extensible Markup Language (XML)
BroadcastReceiver
Ducking
Parser
45. This class exposes a number of methods for applications to receive location updates.
Implicit intent
inflate()
LocationManager
SurfaceHolder.Callback
46. It is an efficient and maintainable way to parse XML on Android.
XmlPullParser
resolveSizeAndState()
Account Manager
Low power
47. Sharing of data in Android is done via________
Service Content Provider
SurfaceHolder.Callback
AsyncTask
OAuth2 protocol
48. Callback method: Another activity is taking focus
Paint
Serialize
onPause();
SQLiteOpenHelper
49. In order to get a list of accounts on the device - your app needs this permission.
GET_ACCOUNTS
Google Play
ETC1
Low power
50. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Layouts
Google Play
Application footprint
EXTRA_STREAM