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. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
inflate()
AttributeSet
virtual table
SearchView
2. 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
adb
Application resources
PackageManager
Application footprint
3. The minimal energy state during which no network connection is active or required.
Scroller
Standby
drawText()
Wi-Fi radio
4. The entire lifetime of an activity happens between the call to _____ and the call to _____
onCreate() - onDestroy()
ACTION_SEND
Scroller
Google Play
5. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
onSearchRequested()
Google Cloud Messaging for Android (GCM)
AbstractAccountAuthenticator
When the activity resumes
6. Theseare a key part of Android applications that directly affect the user experience.
Stack
Intent filters
SQLiteOpenHelper
Layouts
7. Android is __________.
Linux based
ACTION_DOCK_EVENT
Open Handset Alliance
Full power
8. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
BackupHelper
ValueAnimator
Google Cloud Messaging for Android (GCM)
Explicit intent
9. 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 _____
onCreate() - onDestroy()
ACTION_DOCK_EVENT
Google Cloud Messaging for Android (GCM)
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
10. For example - a ____ might be a button that initiates an action when the user touches it.
Google Play
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Back stack
View
11. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
ViewStub
Widgets
Ducking
Open Handset Alliance
12. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Activity
Activity
Hierarchy Viewer
ActionProvider
13. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Component - screen
Implicit intent
Scroller
NetworkInfo
14. Use this to draw bitmaps.
drawBitmap()
Activity
Android SDK
Lifecycle callback methods
15. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
Canvas
setContentView
searchable configuration
GestureDetector
16. 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.
onPause();
Ducking
BroadcastReceiver
Geocoder
17. This is the main class through which your application can access location services on Android.
Stack - back stack
NetworkInfo
LocationManager
isConnected()
18. This class provides one of the simplest ways to fire off a new task from the UI thread.
PackageManager
Canvas
AsyncTask
onPause();
19. Conversion of XML back to an object
Deserialize
BackupHelper
Scroller
AccountAuthenticatorActivity
20. This widget as an item in the action bar is the preferred way to provide search in your app.
SearchView
Hierarchy Viewer
SurfaceView
single-pane
21. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
AbstractAccountAuthenticator
SettingsActivity
BatteryManager
GET_ACCOUNTS
22. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Intents
Advanced Training
Hierarchy Viewer
HttpURLConnection
23. An open source stand alone database
SQLite
ETC1
Destroyed - previous
onCreate() - onDestroy()
24. ______ are views derived from ViewGroup that provide a unique layout model for its child views
ETC1
Ducking
drawBitmap()
Layouts
25. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
Linux based
onDestroy();
Google Cloud Messaging (GCM)
virtual table
26. 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.
Service Content Provider
OAuth2
Standby
Activity
27. Most network-connected Android apps use this to send and receive data.
SettingsActivity
HTTP
Paint
onStop();
28. 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?
EXTRA_STREAM
Serialize
ViewStub
Paint
29. An open source group led by Google
AttributeSet
Open Handset Alliance
drawBitmap()
ETC1
30. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
SurfaceHolder.Callback
Dots per inch
onCreate() - onDestroy()
ValueAnimator
31. Callback method: Another activity is taking focus
NetworkInfo
SurfaceView
onPause();
onResume();
32. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
setVolumeControlStream()
InputStream
AccountAuthenticatorActivity
SQLite
33. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
Layouts
BroadcastReceiver
AsyncTask
ActionProvider
34. The visible lifetime of an activity happens between the call to ____ and the call to ______
onStart() - onStop()
Intent filters
Wi-Fi radio
Scroller
35. Direct component call in Android
Activity
Emulator
Full power
Explicit intent
36. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
visible
LocationManager
Deserialize
onMeasure()
37. It is called to invoke the search dialog on older devices.
ACTION_DOCK_EVENT
isConnected()
Hierarchy Viewer
onSearchRequested()
38. This action is used in sending text content from one activity to another.
ACTION_SEND
drawBitmap()
Google
ETC1
39. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
authenticator class
BroadcastReceiver
ETC1
AudioManager
40. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Wi-Fi radio
Account Manager
Geocoder
dual-
41. This is the simplest way to monitor device state changes.
onCreate() - onDestroy()
adb
OnCurrentItemChanged
BroadcastReceiver
42. Conversion of an object to XML
Extensible Markup Language (XML)
SurfaceView
Serialize
AsyncTask
43. It doesn't currently support the <merge/> tag in the layouts to be inflated.
<declare-styleable>
ConnectivityManager
ViewStub
onCreate();
44. It is a string that defines the specific type of access your app is asking for.
onCreate() - onDestroy()
auth scope
ShareActionProvider
dual-
45. It's generally a good idea for one of your APKs to support this texture format as it is supported by all Android-powered devices that support the OpenGL ES 2.0 spec.
SearchView
ETC1
ConnectivityManager
Back stack
46. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
Lifecycle callback methods
LTE
Full power
onCreate() - onDestroy()
47. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
Deserialize
<declare-styleable>
Canvas
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
48. Callback method: The activity is about to be destroyed.
onDestroy();
GestureDetector
Wi-Fi radio
onMeasure()
49. 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?
Stack - back stack
ACTION_DOCK_EVENT
Entire
AttributeSet
50. Converts XML Document to XML DOM
OnCurrentItemChanged
SearchView
Parser
OAuth2