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. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
onResume();
GET_ACCOUNTS
AbstractAccountAuthenticator
OAuth2 protocol
2. An open source group led by Google
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Open Handset Alliance
dual-
Application footprint
3. It is used to load images in a background thread - then apply them to the UI once finished.
Android SDK
AsyncTask
onResume();
Stack - back stack
4. This is a readable source of bytes.
Fragments
AudioManager
InputStream
AsyncTask
5. This broadcasts an action whenever the device is connected or disconnected from power.
BatteryManager
SettingsActivity
Widgets
XmlPullParser
6. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Wi-Fi radio
Extensible Markup Language (XML)
Standby
Full power
7. is run when running Android on the pc
SearchView
Wi-Fi radio
Emulator
LTE
8. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
onStop();
Dalvik Debug Monitor Server
Extensible Markup Language (XML)
Scroller
9. These helpers are specialized classes for backing up certain kinds of data.
GestureDetector
Entire
Stack
BackupHelper
10. To create an activity - you must create a subclass of
Activity
AccountAuthenticatorActivity
onDestroy();
Service Content Provider
11. This object contains an account name - which for Google accounts is an email address.
Hierarchy Viewer
OnCurrentItemChanged
SQLite
Account
12. It is called to invoke the search dialog on older devices.
onSearchRequested()
Full power
onPause();
Activity
13. This is the simplest way to monitor device state changes.
onDraw()
BroadcastReceiver
PackageManager
Emulator
14. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
View
Standby
When the activity resumes
Open Handset Alliance
15. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
onStart() - onStop()
ConnectivityManager
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
NetworkInfo
16. It is available starting with API Level 14 and higher.
BatteryManager
ShareActionProvider
Android SDK
AsyncTask
17. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
NetworkInfo
ViewStub
Advanced Training
AsyncTask
18. Evaluation of registered components
onMeasure()
SQLiteOpenHelper
Implicit intent
SecurityException
19. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
Intent filters
Wi-Fi radio
onCreate() - onDestroy()
onResume();
20. It doesn't currently support the <merge/> tag in the layouts to be inflated.
ViewStub
Android SDK
Implicit intent
drawBitmap()
21. This is an interface which is used to pass image data from the camera hardware to the application.
Ducking
Dalvik Virtual Machine
ViewStub
SurfaceHolder.Callback
22. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
Destroyed - previous
OAuth2
Emulator
getInputStream()
23. Allow to combine loosely coupled components to perform certain tasks
onPause();
Intents
resolveSizeAndState()
onStop();
24. Callback method: The activity is being created.
android.hardware.touchscreen
Application footprint
onCreate();
Implicit intent
25. Direct component call in Android
ActionProvider
HTTP
Explicit intent
Scroller
26. The dock-state details are included as an extra in a sticky broadcast of this action.
setContentView
onResume();
ACTION_DOCK_EVENT
onStop();
27. Android is __________.
Linux based
Scroller
Objects Activity lifecycle
onResume();
28. 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?
AttributeSet
onStop();
OAuth2
Services
29. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
ShareActionProvider
SettingsActivity
Activity
Hierarchy Viewer
30. This is the main class through which your application can access location services on Android.
Intent filters
Dalvik Virtual Machine
ValueAnimator
LocationManager
31. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
Google Play
Dots per inch
virtual table
touch
32. 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.
Google Cloud Messaging (GCM)
security sandbox
OAuth2
Activity
33. Android request its permission using its ________
Application footprint
AndroidManifest.xml
XmlPullParser
Low power
34. This is used to convert raw touch events into gestures.
onPause();
Parser
GestureDetector
Android SDK
35. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
authenticator class
visible
Scroller
AudioManager
36. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
LTE
BroadcastReceiver
Google Cloud Messaging (GCM)
Scroller
37. Conversion of an object to XML
GET_ACCOUNTS
Application resources
Serialize
SecurityException
38. It is a set of rules for encoding documents in machine-readable form.
virtual table
Extensible Markup Language (XML)
onCreate() - onDestroy()
Layouts
39. Conversion of XML back to an object
inflate()
Hierarchy Viewer
onAudioFocusChange()
Deserialize
40. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
isConnected()
ViewStub
onMeasure()
Dalvik Debug Monitor Server
41. This class provides one of the simplest ways to fire off a new task from the UI thread.
Wi-Fi radio
<declare-styleable>
AsyncTask
Android SDK
42. Are used in activities to create the user interface and to interact with the user.
single-pane
Hierarchy Viewer
Fragments
onCreate() - onDestroy()
43. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
isConnected()
Low power
SQLite
onStart() - onStop()
44. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
PieChart
onDraw()
OnCurrentItemChanged
security sandbox
45. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
ACTION_DOCK_EVENT
onDraw()
onCreate() - onDestroy()
visible
46. Whenever the device is docked or undocked - this action is broadcast.
ACTION_DOCK_EVENT
getInputStream()
AttributeSet
SecurityException
47. Perform background tasks without providing a user interface
HTTP
Services
GestureDetector
Scroller
48. The entire lifetime of an activity happens between the call to _____ and the call to _____
AsyncTask
onCreate() - onDestroy()
isConnected()
Dalvik Virtual Machine
49. Shows the actual amount of memory the application uses
Layouts
BatteryManager
Application footprint
AsyncTask
50. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
LTE
Back stack
setContentView
BatteryManager