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. Sharing of data in Android is done via________
Service Content Provider
visible
Activity
SecurityException
2. 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.
Serialize
Ducking
inflate()
ACTION_DOCK_EVENT
3. This is the most common input event in the Android system.
Google
inflate()
Application footprint
touch
4. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
onStart() - onStop()
<declare-styleable>
AsyncTask
When the activity resumes
5. It made implementing an effective and user friendly share action in your ActionBar even easier.
ActionProvider
Android SDK
Component - screen
Android SDK
6. Where Android is currently primarily developed
Google
BatteryManager
Geocoder
onDestroy();
7. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
Lifecycle callback methods
isConnected()
Objects Activity lifecycle
SQLiteOpenHelper
8. Direct component call in Android
Intents
Explicit intent
ActionProvider
Intent filters
9. This is used to register and de-register your media button event receiver.
AudioManager
onCreate();
SettingsActivity
Layouts
10. You can set the layout as the UI for your activity with passing the resource ID for the layout.
onMeasure()
ViewStub
ActionProvider
setContentView
11. Theseare a key part of Android applications that directly affect the user experience.
<declare-styleable>
Layouts
AudioManager
InputStream
12. This is used to fetch the account names that the user has stored on their device.
Account Manager
SQLite
dual-
Implicit intent
13. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
AsyncTask
single-pane
visible
ConnectivityManager
14. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
onMeasure()
Account
ViewStub
Layouts
15. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
BackupHelper
auth scope
AccountAuthenticatorActivity
Entire
16. Callback method: The activity is about to be destroyed.
auth scope
Intent filters
AbstractAccountAuthenticator
onDestroy();
17. Perform background tasks without providing a user interface
Services
onPause();
ACTION_DOCK_EVENT
Android SDK
18. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
BatteryManager
onCreate() - onDestroy()
Component - screen
View
19. Callback method: The activity is being created.
onCreate();
searchable configuration
ActionProvider
Scroller
20. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
adb
Explicit intent
Ducking
SQLiteOpenHelper
21. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
Objects Activity lifecycle
Wi-Fi radio
Scroller
LTE
22. The industry standard way to deal with authentication to third-party services.
OAuth2 protocol
ViewStub
ConnectivityManager
ACTION_DOCK_EVENT
23. It is called to invoke the search dialog on older devices.
Android SDK
onSearchRequested()
Component - screen
Google Play
24. Callback method: Another activity is taking focus
onPause();
Google Play
View
Stack - back stack
25. To create an activity - you must create a subclass of
onCreate() - onDestroy()
Activity
Dalvik Debug Monitor Server
When the activity resumes
26. A styleable entity that contains these two custom attributes: showText and labelPosition.
Explicit intent
PieChart
LocationManager
NetworkInfo
27. A mode where navigation is set up with a spinner widget.
single-pane
PieChart
Account Manager
OAuth2
28. Shows the actual amount of memory the application uses
Layouts
AndroidManifest.xml
Application footprint
ValueAnimator
29. This broadcasts an action whenever the device is connected or disconnected from power.
onCreate() - onDestroy()
onSearchRequested()
BatteryManager
BroadcastReceiver
30. It is used to load images in a background thread - then apply them to the UI once finished.
ShareActionProvider
visible
AsyncTask
inflate()
31. It is a set of rules for encoding documents in machine-readable form.
SettingsActivity
onCreate() - onDestroy()
SecurityException
Extensible Markup Language (XML)
32. It doesn't currently support the <merge/> tag in the layouts to be inflated.
ViewStub
GestureDetector
Standby
LocationManager
33. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Canvas
SearchView
onCreate() - onDestroy()
Dalvik Virtual Machine
34. An _______ is an application component that provides a screen 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.
Extensible Markup Language (XML)
Activity
Service Content Provider
SearchView
35. It is an efficient and maintainable way to parse XML on Android.
<declare-styleable>
onCreate() - onDestroy()
SurfaceView
XmlPullParser
36. 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?
BackupHelper
AttributeSet
EXTRA_STREAM
Parser
37. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
onCreate() - onDestroy()
When the activity resumes
onDraw()
visible
38. Once installed on a device - each Android application lives in its own ______
Objects Activity lifecycle
AccountAuthenticatorActivity
inflate()
security sandbox
39. This class provides one of the simplest ways to fire off a new task from the UI thread.
AsyncTask
Paint
Dalvik Virtual Machine
ViewStub
40. Whenever the device is docked or undocked - this action is broadcast.
onCreate() - onDestroy()
ACTION_DOCK_EVENT
ValueAnimator
GestureDetector
41. This is used to convert raw touch events into gestures.
GestureDetector
Entire
SecurityException
Layouts
42. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
SecurityException
AbstractAccountAuthenticator
Widgets
Geocoder
43. This widget as an item in the action bar is the preferred way to provide search in your app.
SearchView
Canvas
LocationManager
Emulator
44. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Intent filters
Android SDK
Objects Activity lifecycle
Geocoder
45. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
onAudioFocusChange()
Android SDK
Paint
ViewStub
46. This class exposes a number of methods for applications to receive location updates.
Widgets
LocationManager
InputStream
OnCurrentItemChanged
47. Callback method: The activity is no longer visible.
LTE
AbstractAccountAuthenticator
onStop();
Activity
48. 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?
Standby
Android SDK
Back stack
EXTRA_STREAM
49. Evaluation of registered components
adb
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Implicit intent
getInputStream()
50. The helper method is used to create the final width and height values.
ViewStub
ViewStub
resolveSizeAndState()
Scroller