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. 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 _____
XmlPullParser
onCreate() - onDestroy()
GestureDetector
HttpURLConnection
2. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
onStop();
onMeasure()
Implicit intent
ConnectivityManager
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.
OAuth2
Android SDK
visible
BackupHelper
4. Android system uses a special virtual machine to run java based applicatons
onAudioFocusChange()
Scroller
Dalvik Virtual Machine
onCreate();
5. Are used in activities to create the user interface and to interact with the user.
Stack - back stack
Android SDK
Low power
Fragments
6. For example - a ____ might be a button that initiates an action when the user touches it.
View
virtual table
ValueAnimator
HTTP
7. To create an activity - you must create a subclass of
ACTION_DOCK_EVENT
Activity
SurfaceView
LTE
8. Once installed on a device - each Android application lives in its own ______
AccountAuthenticatorActivity
security sandbox
NetworkInfo
OAuth2
9. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
ViewStub
Fragments
auth scope
Widgets
10. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Scroller
Back stack
Lifecycle callback methods
Dalvik Virtual Machine
11. The industry standard way to deal with authentication to third-party services.
BackupHelper
OnCurrentItemChanged
OAuth2 protocol
Lifecycle callback methods
12. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
drawText()
SearchView
ConnectivityManager
13. This object contains an account name - which for Google accounts is an email address.
BroadcastReceiver
Wi-Fi radio
Account
GestureDetector
14. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Android SDK
auth scope
Advanced Training
onCreate() - onDestroy()
15. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
Parser
LocationManager
inflate()
Layouts
16. Necessary tools to develop Android applications
Android SDK
Open Handset Alliance
visible
SearchView
17. Theseare a key part of Android applications that directly affect the user experience.
Geocoder
Layouts
auth scope
touch
18. This broadcasts an action whenever the device is connected or disconnected from power.
Extensible Markup Language (XML)
inflate()
BatteryManager
Layouts
19. This is used to fetch the account names that the user has stored on their device.
Linux based
Account Manager
Application footprint
onStop();
20. It inform the system what intents an application component is willing to accept.
onPause();
AttributeSet
Geocoder
Intent filters
21. Relative to pixels and resolution screen
onCreate() - onDestroy()
Dots per inch
searchable configuration
Account Manager
22. This includes tools to help you identify problems in your layout performance.
PieChart
Wi-Fi radio
Android SDK
Widgets
23. ______ are views derived from ViewGroup that provide a unique layout model for its child views
ETC1
onCreate() - onDestroy()
Layouts
BroadcastReceiver
24. Callback method: The activity is about to be destroyed.
onDestroy();
ValueAnimator
onDraw()
Wi-Fi radio
25. Conversion of an object to XML
Service Content Provider
Extensible Markup Language (XML)
Serialize
onStop();
26. 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?
Stack - back stack
AbstractAccountAuthenticator
EXTRA_STREAM
Open Handset Alliance
27. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Canvas
drawText()
getInputStream()
BatteryManager
28. You can set the layout as the UI for your activity with passing the resource ID for the layout.
setContentView
NetworkInfo
BatteryManager
searchable configuration
29. This is set up to animate for the duration of the fling.
AbstractAccountAuthenticator
GET_ACCOUNTS
Application resources
ValueAnimator
30. The entire lifetime of an activity happens between the call to _____ and the call to _____
dual-
onCreate() - onDestroy()
ConnectivityManager
onCreate();
31. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Account
Layouts
Objects Activity lifecycle
Activity
32. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
Ducking
ACTION_DOCK_EVENT
searchable configuration
BroadcastReceiver
33. This is the simplest way to monitor device state changes.
Google Cloud Messaging for Android (GCM)
BroadcastReceiver
Application resources
Google Play
34. Direct component call in Android
Hierarchy Viewer
ACTION_SEND
Services
Explicit intent
35. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
onPause();
Intent filters
onAudioFocusChange()
BroadcastReceiver
36. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
onStop();
Emulator
ConnectivityManager
authenticator class
37. Android is __________.
BatteryManager
onCreate() - onDestroy()
Widgets
Linux based
38. Callback method: The activity is being created.
onCreate();
Account
When the activity resumes
SearchView
39. When a new activity starts - it is pushed onto the ____ and takes user focus.
Dots per inch
BroadcastReceiver
Account Manager
Back stack
40. An open source stand alone database
setContentView
Advanced Training
HttpURLConnection
SQLite
41. Android provides this handy method to direct volume key presses to the audio stream the user specify.
SettingsActivity
ShareActionProvider
Extensible Markup Language (XML)
setVolumeControlStream()
42. This is used to convert raw touch events into gestures.
GestureDetector
Emulator
Geocoder
onResume();
43. Converts XML Document to XML DOM
OAuth2 protocol
authenticator class
Parser
Android SDK
44. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Application resources
Stack - back stack
Activity
OnCurrentItemChanged
45. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
Widgets
NetworkInfo
onDraw()
ACTION_DOCK_EVENT
46. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
onPause();
SurfaceHolder.Callback
ViewStub
HTTP
47. Callback method: The activity is no longer visible
Advanced Training
Ducking
Dots per inch
onStop();
48. Represents the visual representation of an Android application
Paint
Deserialize
Activity
SearchView
49. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Full power
single-pane
Entire
onCreate();
50. An intermediate state that uses around 50% of the battery power at the full state.
onCreate() - onDestroy()
View
Low power
Widgets