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. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
ETC1
authenticator class
setVolumeControlStream()
onPause();
2. It is a set of rules for encoding documents in machine-readable form.
isConnected()
GestureDetector
Extensible Markup Language (XML)
onPause();
3. Callback method: The activity is no longer visible
AsyncTask
onStop();
InputStream
getInputStream()
4. An open source group led by Google
BatteryManager
onDraw()
Open Handset Alliance
LocationManager
5. Callback method: The activity is being created.
Intents
Component - screen
Destroyed - previous
onCreate();
6. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
Google Play
Dalvik Virtual Machine
GET_ACCOUNTS
ConnectivityManager
7. A mode where navigation is set up with a spinner widget.
getInputStream()
searchable configuration
single-pane
AsyncTask
8. 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
Low power
OAuth2 protocol
Android SDK
9. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
onCreate() - onDestroy()
Lifecycle callback methods
onStart() - onStop()
Hierarchy Viewer
10. Whenever the device is docked or undocked - this action is broadcast.
ACTION_DOCK_EVENT
AndroidManifest.xml
onCreate() - onDestroy()
LocationManager
11. An open source stand alone database
SQLite
SearchView
Service Content Provider
Scroller
12. It is a free service for sending messages to Android devices.
Google Cloud Messaging (GCM)
HttpURLConnection
BroadcastReceiver
PieChart
13. 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()
onPause();
OnCurrentItemChanged
LocationManager
14. This can be used to draw previews of what the camera sensor is picking up.
SurfaceView
LTE
View
Explicit intent
15. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
Standby
onCreate() - onDestroy()
resolveSizeAndState()
Dalvik Debug Monitor Server
16. Use this to draw text.
drawText()
Ducking
Fragments
Activity
17. This is used to fetch the account names that the user has stored on their device.
Account Manager
Application resources
onResume();
onCreate() - onDestroy()
18. 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.
OAuth2 protocol
AsyncTask
BatteryManager
ETC1
19. It inform the system what intents an application component is willing to accept.
Google Play
Scroller
Intent filters
SearchView
20. Perform background tasks without providing a user interface
Services
OAuth2 protocol
When the activity resumes
AsyncTask
21. This class exposes a number of methods for applications to receive location updates.
drawBitmap()
SurfaceView
LocationManager
Activity
22. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
LTE
Google Cloud Messaging for Android (GCM)
inflate()
Layouts
23. On a rooted device - the credentials would be readable by anyone with this access to the device.
adb
BatteryManager
Dalvik Debug Monitor Server
Implicit intent
24. This object contains an account name - which for Google accounts is an email address.
Account
onPause();
android.hardware.touchscreen
onStop();
25. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
Fragments
AbstractAccountAuthenticator
AsyncTask
LTE
26. 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 ___ .
Application resources
SearchView
Stack
single-pane
27. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Intents
SQLiteOpenHelper
ViewStub
onDestroy();
28. It provides a simple way to perform your work outside the main thread.
<declare-styleable>
Hierarchy Viewer
Scroller
AsyncTask
29. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
BatteryManager
Entire
AttributeSet
onStart() - onStop()
30. A styleable entity that contains these two custom attributes: showText and labelPosition.
Emulator
PieChart
AccountAuthenticatorActivity
security sandbox
31. 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?
Scroller
Google Play
EXTRA_STREAM
ViewStub
32. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
Scroller
virtual table
adb
View
33. When a new activity starts - it is pushed onto the ____ and takes user focus.
SurfaceView
isConnected()
onStop();
Back stack
34. This is the main class through which your application can access location services on Android.
getInputStream()
SurfaceView
LocationManager
onCreate();
35. Conversion of XML back to an object
visible
Canvas
Deserialize
SearchView
36. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
isConnected()
Service Content Provider
Explicit intent
Back stack
37. 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.
Hierarchy Viewer
NetworkInfo
View
SearchView
38. These helpers are specialized classes for backing up certain kinds of data.
View
PieChart
XmlPullParser
BackupHelper
39. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
Open Handset Alliance
HTTP
Deserialize
onAudioFocusChange()
40. It is available starting with API Level 14 and higher.
Explicit intent
OnCurrentItemChanged
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
ShareActionProvider
41. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
GestureDetector
onResume();
isConnected()
searchable configuration
42. To define custom attributes - add this resources to your project.
visible
Implicit intent
HttpURLConnection
<declare-styleable>
43. Shows the actual amount of memory the application uses
Application footprint
touch
View
onCreate();
44. This is used to register and de-register your media button event receiver.
SurfaceView
AudioManager
onStart() - onStop()
Back stack
45. It is called to invoke the search dialog on older devices.
Ducking
onSearchRequested()
SurfaceHolder.Callback
Paint
46. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
OAuth2
getInputStream()
BatteryManager
SearchView
47. Android provides this handy method to direct volume key presses to the audio stream the user specify.
Services
setVolumeControlStream()
ConnectivityManager
Scroller
48. In most cases this will offer greater bandwidth at a significantly lower battery cost.
setVolumeControlStream()
SearchView
Wi-Fi radio
SettingsActivity
49. This is an interface which is used to pass image data from the camera hardware to the application.
Google Cloud Messaging (GCM)
Parser
SurfaceHolder.Callback
auth scope
50. A service in which programmers can offer their Android application to Android users.
touch
LocationManager
Serialize
Google Play