SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
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. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
HTTP
HttpURLConnection
Activity
onAudioFocusChange()
2. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
onDestroy();
Objects Activity lifecycle
ACTION_SEND
AbstractAccountAuthenticator
3. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
onStart() - onStop()
Activity
Widgets
Hierarchy Viewer
4. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
onCreate() - onDestroy()
LTE
Google Play
AttributeSet
5. This class provides one of the simplest ways to fire off a new task from the UI thread.
onCreate();
AsyncTask
Scroller
onAudioFocusChange()
6. It is used to toggle the enabled state on any component defined in the manifest - including whichever broadcast receivers you wish to enable or disable
PackageManager
onAudioFocusChange()
Entire
SettingsActivity
7. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
OAuth2 protocol
Entire
ActionProvider
Low power
8. It is a string that defines the specific type of access your app is asking for.
auth scope
Dots per inch
isConnected()
InputStream
9. Android system uses a special virtual machine to run java based applicatons
Dalvik Virtual Machine
Application footprint
Open Handset Alliance
Deserialize
10. The dock-state details are included as an extra in a sticky broadcast of this action.
searchable configuration
LTE
SurfaceView
ACTION_DOCK_EVENT
11. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
Layouts
Stack - back stack
isConnected()
visible
12. The entire lifetime of an activity happens between the call to _____ and the call to _____
onCreate() - onDestroy()
auth scope
Activity
Wi-Fi radio
13. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Layouts
Intent filters
Standby
When the activity resumes
14. Theseare a key part of Android applications that directly affect the user experience.
ETC1
OnCurrentItemChanged
Application footprint
Layouts
15. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
searchable configuration
adb
inflate()
OnCurrentItemChanged
16. To define custom attributes - add this resources to your project.
<declare-styleable>
onCreate();
ACTION_DOCK_EVENT
Deserialize
17. Most network-connected Android apps use this to send and receive data.
HTTP
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
BackupHelper
PackageManager
18. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
Dots per inch
OnCurrentItemChanged
adb
inflate()
19. It is a set of rules for encoding documents in machine-readable form.
Open Handset Alliance
Layouts
Extensible Markup Language (XML)
Paint
20. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
View
Dalvik Debug Monitor Server
Paint
Advanced Training
21. Shows the actual amount of memory the application uses
Application footprint
Geocoder
Canvas
NetworkInfo
22. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Google Cloud Messaging for Android (GCM)
inflate()
BatteryManager
AbstractAccountAuthenticator
23. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
ConnectivityManager
HttpURLConnection
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Lifecycle callback methods
24. Whenever the device is docked or undocked - this action is broadcast.
ACTION_DOCK_EVENT
AttributeSet
onStop();
Google Cloud Messaging for Android (GCM)
25. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
View
BroadcastReceiver
ACTION_DOCK_EVENT
Explicit intent
26. The industry standard way to deal with authentication to third-party services.
onAudioFocusChange()
touch
Parser
OAuth2 protocol
27. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
onStart() - onStop()
getInputStream()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
When the activity resumes
28. This is used to convert raw touch events into gestures.
drawBitmap()
AccountAuthenticatorActivity
Activity
GestureDetector
29. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
dual-
When the activity resumes
drawBitmap()
SearchView
30. It made implementing an effective and user friendly share action in your ActionBar even easier.
Widgets
ActionProvider
HTTP
GET_ACCOUNTS
31. To create an activity - you must create a subclass of
Layouts
single-pane
adb
Activity
32. It is called to invoke the search dialog on older devices.
onSearchRequested()
Scroller
Intents
Application resources
33. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
When the activity resumes
onSearchRequested()
authenticator class
ActionProvider
34. Where Android is currently primarily developed
Google
AndroidManifest.xml
ValueAnimator
setContentView
35. Are used in activities to create the user interface and to interact with the user.
Paint
Fragments
GET_ACCOUNTS
AsyncTask
36. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
Destroyed - previous
BroadcastReceiver
AccountAuthenticatorActivity
BatteryManager
37. Sharing of data in Android is done via________
Service Content Provider
visible
BackupHelper
ActionProvider
38. Callback method: The activity has become visible.
onResume();
SQLiteOpenHelper
Component - screen
Lifecycle callback methods
39. Callback method: Another activity is taking focus
onCreate() - onDestroy()
Linux based
onPause();
LocationManager
40. The helper method is used to create the final width and height values.
SearchView
resolveSizeAndState()
Open Handset Alliance
dual-
41. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
GestureDetector
LTE
Objects Activity lifecycle
Component - screen
42. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
Deserialize
Stack - back stack
onPause();
BatteryManager
43. 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
inflate()
Emulator
Fragments
44. It doesn't currently support the <merge/> tag in the layouts to be inflated.
OAuth2 protocol
Low power
ViewStub
PieChart
45. This is used for the need of finer control over your view's layout parameters.
drawBitmap()
OAuth2
SearchView
onMeasure()
46. The minimal energy state during which no network connection is active or required.
getInputStream()
Standby
ActionProvider
Activity
47. Android is __________.
Activity
BroadcastReceiver
Linux based
Implicit intent
48. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
PieChart
ConnectivityManager
resolveSizeAndState()
SQLiteOpenHelper
49. Amode where the action bar is set up with tabs for navigation.
dual-
Account
Google Cloud Messaging for Android (GCM)
authenticator class
50. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Canvas
ViewStub
Stack - back stack
Scroller