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 is an efficient and maintainable way to parse XML on Android.
XmlPullParser
ValueAnimator
View
EXTRA_STREAM
2. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
GET_ACCOUNTS
XmlPullParser
drawBitmap()
BatteryManager
3. The entire lifetime of an activity happens between the call to _____ and the call to _____
ViewStub
SurfaceHolder.Callback
onSearchRequested()
onCreate() - onDestroy()
4. Perform background tasks without providing a user interface
Services
When the activity resumes
SearchView
Canvas
5. A styleable entity that contains these two custom attributes: showText and labelPosition.
PieChart
Scroller
Activity
BatteryManager
6. To create an activity - you must create a subclass of
Standby
Activity
Stack - back stack
ACTION_DOCK_EVENT
7. It doesn't currently support the <merge/> tag in the layouts to be inflated.
Intent filters
onCreate() - onDestroy()
Emulator
ViewStub
8. Necessary tools to develop Android applications
Android SDK
Destroyed - previous
dual-
getInputStream()
9. This class exposes a number of methods for applications to receive location updates.
onResume();
LocationManager
ValueAnimator
Scroller
10. Theseare a key part of Android applications that directly affect the user experience.
ConnectivityManager
GET_ACCOUNTS
Layouts
AttributeSet
11. Callback method: The activity is about to be destroyed.
Layouts
onDestroy();
Application resources
onMeasure()
12. Android is __________.
BackupHelper
ShareActionProvider
Linux based
Fragments
13. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
onCreate() - onDestroy()
authenticator class
Google
Back stack
14. Android request its permission using its ________
AndroidManifest.xml
BroadcastReceiver
SearchView
onStart() - onStop()
15. 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?
Deserialize
onResume();
AudioManager
AttributeSet
16. Once installed on a device - each Android application lives in its own ______
ValueAnimator
SQLite
security sandbox
onStop();
17. Whenever the device is docked or undocked - this action is broadcast.
ACTION_DOCK_EVENT
ActionProvider
Objects Activity lifecycle
onStop();
18. If permissions are missing - the application will get this at runtime.
Widgets
Activity
SecurityException
ViewStub
19. Most network-connected Android apps use this to send and receive data.
Scroller
AndroidManifest.xml
HTTP
ActionProvider
20. This is used for the need of finer control over your view's layout parameters.
ActionProvider
BackupHelper
Open Handset Alliance
onMeasure()
21. 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
onResume();
Entire
onStart() - onStop()
Component - screen
22. Where Android is currently primarily developed
Back stack
Google
Standby
touch
23. It is called to invoke the search dialog on older devices.
onSearchRequested()
Activity
ACTION_DOCK_EVENT
PieChart
24. This is used to fetch the account names that the user has stored on their device.
Account Manager
Low power
Full power
AttributeSet
25. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
AccountAuthenticatorActivity
AsyncTask
BatteryManager
AudioManager
26. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Stack - back stack
HTTP
Destroyed - previous
onStop();
27. This class is the basis for handling flywheel-style fling gestures.
Scroller
View
Implicit intent
Ducking
28. It inform the system what intents an application component is willing to accept.
single-pane
Intents
Intent filters
drawText()
29. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
LTE
Google
Google Cloud Messaging (GCM)
Fragments
30. This is used to convert raw touch events into gestures.
Entire
auth scope
GestureDetector
Paint
31. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Service Content Provider
Google Cloud Messaging for Android (GCM)
Hierarchy Viewer
onCreate() - onDestroy()
32. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
Parser
View
LTE
ActionProvider
33. Conversion of XML back to an object
Emulator
GET_ACCOUNTS
onCreate() - onDestroy()
Deserialize
34. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
onDestroy();
Stack
setContentView
onDraw()
35. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
onSearchRequested()
OAuth2
OnCurrentItemChanged
View
36. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Parser
Lifecycle callback methods
Standby
Activity
37. This broadcasts an action whenever the device is connected or disconnected from power.
dual-
BatteryManager
ViewStub
Layouts
38. This is the most common input event in the Android system.
OnCurrentItemChanged
touch
View
resolveSizeAndState()
39. A mode where navigation is set up with a spinner widget.
AbstractAccountAuthenticator
android.hardware.touchscreen
single-pane
Activity
40. This is set up to animate for the duration of the fling.
Activity
ViewStub
onCreate() - onDestroy()
ValueAnimator
41. It provides a simple way to perform your work outside the main thread.
Open Handset Alliance
Google Cloud Messaging (GCM)
AsyncTask
security sandbox
42. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
HTTP
ViewStub
SurfaceView
NetworkInfo
43. This includes tools to help you identify problems in your layout performance.
dual-
Android SDK
onAudioFocusChange()
Geocoder
44. You can set the layout as the UI for your activity with passing the resource ID for the layout.
getInputStream()
virtual table
setContentView
Layouts
45. To define custom attributes - add this resources to your project.
ViewStub
searchable configuration
isConnected()
<declare-styleable>
46. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Wi-Fi radio
setContentView
isConnected()
Open Handset Alliance
47. An open source group led by Google
Open Handset Alliance
touch
Parser
auth scope
48. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
visible
Dalvik Debug Monitor Server
Scroller
GET_ACCOUNTS
49. It is a string that defines the specific type of access your app is asking for.
ACTION_SEND
inflate()
Google Cloud Messaging (GCM)
auth scope
50. 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()
Activity
Google Cloud Messaging (GCM)
GestureDetector