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 minimal energy state during which no network connection is active or required.
SQLite
Google Cloud Messaging for Android (GCM)
Standby
Google Cloud Messaging (GCM)
2. Whenever the device is docked or undocked - this action is broadcast.
NetworkInfo
AndroidManifest.xml
isConnected()
ACTION_DOCK_EVENT
3. It is a subclass of PreferenceActivity.
SettingsActivity
getInputStream()
ValueAnimator
single-pane
4. To define custom attributes - add this resources to your project.
<declare-styleable>
visible
Deserialize
Scroller
5. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
AsyncTask
onSearchRequested()
LTE
Intent filters
6. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
AccountAuthenticatorActivity
virtual table
security sandbox
onCreate() - onDestroy()
7. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
Deserialize
setVolumeControlStream()
dual-
isConnected()
8. An intermediate state that uses around 50% of the battery power at the full state.
SQLiteOpenHelper
Android SDK
PieChart
Low power
9. This includes tools to help you identify problems in your layout performance.
Android SDK
SecurityException
HttpURLConnection
Entire
10. ______ are views derived from ViewGroup that provide a unique layout model for its child views
LTE
HTTP
Layouts
Fragments
11. This is used for the need of finer control over your view's layout parameters.
Services
Account Manager
Wi-Fi radio
onMeasure()
12. It inform the system what intents an application component is willing to accept.
Intent filters
BroadcastReceiver
Extensible Markup Language (XML)
LTE
13. Most network-connected Android apps use this to send and receive data.
Google Cloud Messaging for Android (GCM)
Deserialize
isConnected()
HTTP
14. It provides a simple way to perform your work outside the main thread.
AsyncTask
When the activity resumes
Activity
Stack
15. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
ViewStub
NetworkInfo
PieChart
Android SDK
16. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
AccountAuthenticatorActivity
AsyncTask
AsyncTask
LTE
17. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
BatteryManager
OnCurrentItemChanged
Stack - back stack
Wi-Fi radio
18. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
EXTRA_STREAM
Hierarchy Viewer
onStop();
Linux based
19. 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 _____
Back stack
onCreate() - onDestroy()
SQLite
Activity
20. This class provides one of the simplest ways to fire off a new task from the UI thread.
AsyncTask
HTTP
Emulator
Dalvik Virtual Machine
21. It is a set of rules for encoding documents in machine-readable form.
Dots per inch
Extensible Markup Language (XML)
authenticator class
Deserialize
22. 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?
Advanced Training
AttributeSet
drawText()
Scroller
23. A mode where navigation is set up with a spinner widget.
onDestroy();
Widgets
single-pane
resolveSizeAndState()
24. 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.
Advanced Training
AbstractAccountAuthenticator
Scroller
OAuth2
25. When a new activity starts - it is pushed onto the ____ and takes user focus.
Account
ACTION_DOCK_EVENT
Back stack
Destroyed - previous
26. Relative to pixels and resolution screen
OnCurrentItemChanged
BroadcastReceiver
Geocoder
Dots per inch
27. It is used to load images in a background thread - then apply them to the UI once finished.
AsyncTask
AudioManager
GET_ACCOUNTS
Activity
28. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
Google Play
LTE
View
NetworkInfo
29. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
AttributeSet
Extensible Markup Language (XML)
onDraw()
Paint
30. Are used in activities to create the user interface and to interact with the user.
Fragments
AccountAuthenticatorActivity
ActionProvider
ACTION_DOCK_EVENT
31. Represents the visual representation of an Android application
AndroidManifest.xml
<declare-styleable>
touch
Activity
32. This is used to fetch the account names that the user has stored on their device.
ConnectivityManager
AudioManager
Account Manager
OAuth2
33. Use this to draw bitmaps.
drawBitmap()
onStop();
Extensible Markup Language (XML)
AndroidManifest.xml
34. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
NetworkInfo
Canvas
SearchView
onCreate() - onDestroy()
35. Where Android is currently primarily developed
Google
isConnected()
ShareActionProvider
ValueAnimator
36. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Account
Lifecycle callback methods
Implicit intent
SQLite
37. Each activity can then start another activity in order to perform different actions. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a ___ .
Android SDK
ViewStub
Intents
Stack
38. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Google Cloud Messaging for Android (GCM)
Activity
Android SDK
Hierarchy Viewer
39. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Geocoder
adb
Paint
Wi-Fi radio
40. Evaluation of registered components
View
Destroyed - previous
Implicit intent
Advanced Training
41. It is an efficient and maintainable way to parse XML on Android.
XmlPullParser
Paint
ShareActionProvider
OAuth2
42. Android request its permission using its ________
View
AndroidManifest.xml
Intents
Application footprint
43. Allow to combine loosely coupled components to perform certain tasks
Intents
single-pane
GET_ACCOUNTS
Dalvik Virtual Machine
44. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
HttpURLConnection
Account Manager
onSearchRequested()
Widgets
45. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
BroadcastReceiver
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Dalvik Virtual Machine
Dots per inch
46. This broadcasts an action whenever the device is connected or disconnected from power.
Intent filters
NetworkInfo
BatteryManager
Implicit intent
47. Direct component call in Android
SQLiteOpenHelper
HttpURLConnection
ViewStub
Explicit intent
48. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
Fragments
Intents
Linux based
onCreate() - onDestroy()
49. Amode where the action bar is set up with tabs for navigation.
dual-
Dalvik Virtual Machine
Android SDK
Android SDK
50. The most common way to define a layout using views is with an XML layout file saved in your ______
drawText()
setContentView
Geocoder
Application resources