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. An open source stand alone database
SQLite
dual-
LocationManager
BackupHelper
2. Android request its permission using its ________
ActionProvider
AndroidManifest.xml
Fragments
single-pane
3. It provides a single value - called an auth token that represents both the user's identity and the application's authorization to act on the user's behalf.
ACTION_DOCK_EVENT
AsyncTask
OAuth2
ActionProvider
4. Android system uses a special virtual machine to run java based applicatons
Layouts
AsyncTask
drawText()
Dalvik Virtual Machine
5. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Service Content Provider
AsyncTask
Dalvik Virtual Machine
Objects Activity lifecycle
6. 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.
Paint
AndroidManifest.xml
Low power
GestureDetector
7. Where Android is currently primarily developed
Account
Application footprint
SearchView
Google
8. Callback method: The activity has become visible.
ACTION_DOCK_EVENT
onResume();
Android SDK
BackupHelper
9. This class provides one of the simplest ways to fire off a new task from the UI thread.
Linux based
AsyncTask
InputStream
AndroidManifest.xml
10. An intermediate state that uses around 50% of the battery power at the full state.
getInputStream()
Low power
SearchView
Scroller
11. It doesn't currently support the <merge/> tag in the layouts to be inflated.
NetworkInfo
ConnectivityManager
ViewStub
SearchView
12. It is a free service for sending messages to Android devices.
SearchView
Google Cloud Messaging (GCM)
BatteryManager
OnCurrentItemChanged
13. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
OnCurrentItemChanged
Canvas
XmlPullParser
LTE
14. The industry standard way to deal with authentication to third-party services.
Services
Lifecycle callback methods
OAuth2 protocol
onMeasure()
15. This is used to register and de-register your media button event receiver.
onStart() - onStop()
ValueAnimator
AudioManager
setVolumeControlStream()
16. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
AttributeSet
OnCurrentItemChanged
Application resources
EXTRA_STREAM
17. 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 ___ .
Stack - back stack
Stack
Dalvik Virtual Machine
AudioManager
18. 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.
LocationManager
PackageManager
Full power
SearchView
19. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
AsyncTask
inflate()
Component - screen
Open Handset Alliance
20. Whenever the device is docked or undocked - this action is broadcast.
ACTION_DOCK_EVENT
dual-
OAuth2
SearchView
21. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Widgets
Stack - back stack
HttpURLConnection
onStart() - onStop()
22. 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
onSearchRequested()
OAuth2
ShareActionProvider
23. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
XmlPullParser
Paint
HttpURLConnection
onStart() - onStop()
24. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
BatteryManager
Service Content Provider
ActionProvider
onStop();
25. It is a subclass of PreferenceActivity.
Explicit intent
resolveSizeAndState()
SettingsActivity
NetworkInfo
26. On a rooted device - the credentials would be readable by anyone with this access to the device.
drawBitmap()
adb
Entire
AsyncTask
27. Callback method: The activity is no longer visible.
ConnectivityManager
Account
onPause();
onStop();
28. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
Widgets
AsyncTask
XmlPullParser
searchable configuration
29. 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.
ETC1
Geocoder
BackupHelper
Emulator
30. This includes tools to help you identify problems in your layout performance.
Android SDK
AndroidManifest.xml
Layouts
BroadcastReceiver
31. Evaluation of registered components
SecurityException
onCreate() - onDestroy()
Implicit intent
visible
32. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Linux based
SQLiteOpenHelper
ShareActionProvider
isConnected()
33. When a new activity starts - it is pushed onto the ____ and takes user focus.
SearchView
Google
PieChart
Back stack
34. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
drawText()
Google Cloud Messaging (GCM)
Service Content Provider
AbstractAccountAuthenticator
35. This is a readable source of bytes.
InputStream
LocationManager
Layouts
AbstractAccountAuthenticator
36. Android provides this handy method to direct volume key presses to the audio stream the user specify.
SurfaceView
setVolumeControlStream()
adb
BackupHelper
37. If permissions are missing - the application will get this at runtime.
AsyncTask
SecurityException
SurfaceView
Dalvik Debug Monitor Server
38. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
ActionProvider
SurfaceHolder.Callback
ConnectivityManager
BatteryManager
39. Sharing of data in Android is done via________
isConnected()
ACTION_SEND
Layouts
Service Content Provider
40. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Google Cloud Messaging for Android (GCM)
Account
OAuth2
SurfaceView
41. is run when running Android on the pc
Emulator
Dots per inch
onDraw()
onStart() - onStop()
42. This object contains an account name - which for Google accounts is an email address.
Account
PackageManager
SQLiteOpenHelper
onResume();
43. It made implementing an effective and user friendly share action in your ActionBar even easier.
ActionProvider
Serialize
Stack
Intents
44. Converts XML Document to XML DOM
SearchView
Parser
ViewStub
virtual table
45. This is used to check that you're actually connected to the Internet and what type of connection is in place.
SettingsActivity
ConnectivityManager
<declare-styleable>
ViewStub
46. 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
SettingsActivity
Emulator
SQLiteOpenHelper
47. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
Standby
Objects Activity lifecycle
NetworkInfo
View
48. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
searchable configuration
LocationManager
ActionProvider
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
49. This is used for the need of finer control over your view's layout parameters.
AbstractAccountAuthenticator
android.hardware.touchscreen
onMeasure()
Back stack
50. Amode where the action bar is set up with tabs for navigation.
SurfaceView
dual-
Standby
SQLiteOpenHelper