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. It provides a simple way to perform your work outside the main thread.
Activity
AsyncTask
dual-
LocationManager
2. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Google Play
ViewStub
View
Entire
3. 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?
Hierarchy Viewer
onPause();
Full power
AttributeSet
4. This can be used to draw previews of what the camera sensor is picking up.
Objects Activity lifecycle
HTTP
Emulator
SurfaceView
5. It is a string that defines the specific type of access your app is asking for.
OnCurrentItemChanged
BatteryManager
AudioManager
auth scope
6. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
onStop();
Scroller
Account
OnCurrentItemChanged
7. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
AttributeSet
Objects Activity lifecycle
AsyncTask
android.hardware.touchscreen
8. This is the most common input event in the Android system.
<declare-styleable>
BroadcastReceiver
XmlPullParser
touch
9. Callback method: Another activity is taking focus
onPause();
Objects Activity lifecycle
Layouts
Scroller
10. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
onDraw()
Component - screen
Hierarchy Viewer
LTE
11. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
ActionProvider
Account Manager
Google Cloud Messaging for Android (GCM)
Extensible Markup Language (XML)
12. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Account Manager
setContentView
Google Cloud Messaging for Android (GCM)
Scroller
13. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
View
BatteryManager
searchable configuration
ConnectivityManager
14. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Activity
Intents
SQLiteOpenHelper
<declare-styleable>
15. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
GET_ACCOUNTS
Google Cloud Messaging for Android (GCM)
BatteryManager
AbstractAccountAuthenticator
16. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
SecurityException
onCreate() - onDestroy()
BroadcastReceiver
BatteryManager
17. This broadcasts an action whenever the device is connected or disconnected from power.
Services
BatteryManager
searchable configuration
OnCurrentItemChanged
18. When a new activity starts - it is pushed onto the ____ and takes user focus.
Lifecycle callback methods
Back stack
Application footprint
Account
19. Conversion of XML back to an object
Scroller
setContentView
LocationManager
Deserialize
20. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
ACTION_SEND
virtual table
ConnectivityManager
When the activity resumes
21. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
BatteryManager
onPause();
AbstractAccountAuthenticator
Hierarchy Viewer
22. Amode where the action bar is set up with tabs for navigation.
onDraw()
dual-
drawBitmap()
Deserialize
23. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
GET_ACCOUNTS
Stack
LTE
Standby
24. This is used for the need of finer control over your view's layout parameters.
Lifecycle callback methods
View
onMeasure()
Scroller
25. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Application resources
isConnected()
Full power
Standby
26. It inform the system what intents an application component is willing to accept.
Intent filters
ValueAnimator
Google
Dalvik Debug Monitor Server
27. To create an activity - you must create a subclass of
resolveSizeAndState()
Activity
AttributeSet
InputStream
28. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
Parser
GestureDetector
Stack - back stack
virtual table
29. The dock-state details are included as an extra in a sticky broadcast of this action.
GET_ACCOUNTS
setVolumeControlStream()
ACTION_DOCK_EVENT
Activity
30. 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.
onStop();
visible
SQLiteOpenHelper
SearchView
31. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
OnCurrentItemChanged
searchable configuration
Lifecycle callback methods
AndroidManifest.xml
32. This is used to check that you're actually connected to the Internet and what type of connection is in place.
getInputStream()
searchable configuration
Extensible Markup Language (XML)
ConnectivityManager
33. The helper method is used to create the final width and height values.
SearchView
resolveSizeAndState()
OAuth2
PieChart
34. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
SettingsActivity
Deserialize
Hierarchy Viewer
Geocoder
35. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
inflate()
Service Content Provider
onPause();
HttpURLConnection
36. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
SurfaceHolder.Callback
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
resolveSizeAndState()
Emulator
37. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Dalvik Debug Monitor Server
Google Cloud Messaging (GCM)
Scroller
Linux based
38. Theseare a key part of Android applications that directly affect the user experience.
Layouts
drawBitmap()
setVolumeControlStream()
XmlPullParser
39. Callback method: The activity has become visible.
Serialize
Stack
onResume();
BroadcastReceiver
40. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
BackupHelper
Implicit intent
authenticator class
EXTRA_STREAM
41. An open source group led by Google
Open Handset Alliance
searchable configuration
onDraw()
ShareActionProvider
42. 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?
Component - screen
SettingsActivity
EXTRA_STREAM
onCreate();
43. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
searchable configuration
ConnectivityManager
Fragments
auth scope
44. It is the process of lowering your audio stream output volume to make transient audio from another app easier to hear without totally disrupting the audio from your own application.
Ducking
Account
onStop();
Scroller
45. Once installed on a device - each Android application lives in its own ______
Application resources
GestureDetector
security sandbox
Low power
46. Are used in activities to create the user interface and to interact with the user.
drawText()
Fragments
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Dalvik Debug Monitor Server
47. 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.
BackupHelper
android.hardware.touchscreen
Activity
ETC1
48. Direct component call in Android
Deserialize
ValueAnimator
android.hardware.touchscreen
Explicit intent
49. It is an efficient and maintainable way to parse XML on Android.
resolveSizeAndState()
virtual table
XmlPullParser
Extensible Markup Language (XML)
50. Use this to draw bitmaps.
drawBitmap()
Stack - back stack
touch
Ducking