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. Conversion of XML back to an object
Deserialize
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
HTTP
Dalvik Debug Monitor Server
2. Amode where the action bar is set up with tabs for navigation.
dual-
Intent filters
Layouts
onStart() - onStop()
3. 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?
LocationManager
dual-
Geocoder
AttributeSet
4. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
ACTION_DOCK_EVENT
When the activity resumes
onDraw()
SecurityException
5. To create an activity - you must create a subclass of
Activity
onStart() - onStop()
drawText()
Scroller
6. The most common way to define a layout using views is with an XML layout file saved in your ______
Back stack
View
Application resources
PieChart
7. This is used to convert raw touch events into gestures.
GestureDetector
Fragments
SQLite
Stack
8. An open source stand alone database
auth scope
Extensible Markup Language (XML)
security sandbox
SQLite
9. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
LTE
Stack
onDestroy();
Google Cloud Messaging (GCM)
10. 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.
ETC1
SettingsActivity
SurfaceView
setVolumeControlStream()
11. This widget as an item in the action bar is the preferred way to provide search in your app.
SearchView
ViewStub
onSearchRequested()
setVolumeControlStream()
12. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
LocationManager
dual-
Back stack
authenticator class
13. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
OAuth2 protocol
Standby
inflate()
onResume();
14. To define custom attributes - add this resources to your project.
<declare-styleable>
dual-
Emulator
touch
15. This class is the basis for handling flywheel-style fling gestures.
ACTION_DOCK_EVENT
Services
Scroller
Ducking
16. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
onDestroy();
HttpURLConnection
virtual table
GET_ACCOUNTS
17. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
LocationManager
Wi-Fi radio
ConnectivityManager
View
18. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Entire
AndroidManifest.xml
View
onDestroy();
19. The dock-state details are included as an extra in a sticky broadcast of this action.
onSearchRequested()
ACTION_DOCK_EVENT
GestureDetector
BackupHelper
20. An open source group led by Google
BroadcastReceiver
Destroyed - previous
ETC1
Open Handset Alliance
21. Perform background tasks without providing a user interface
android.hardware.touchscreen
OAuth2 protocol
Services
InputStream
22. 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 _____
Ducking
onCreate() - onDestroy()
Explicit intent
Canvas
23. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
AbstractAccountAuthenticator
BroadcastReceiver
visible
onAudioFocusChange()
24. Necessary tools to develop Android applications
Intent filters
Deserialize
Android SDK
Extensible Markup Language (XML)
25. You can set the layout as the UI for your activity with passing the resource ID for the layout.
Explicit intent
setContentView
Objects Activity lifecycle
Parser
26. Represents the visual representation of an Android application
Activity
Linux based
Parser
ValueAnimator
27. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Hierarchy Viewer
AudioManager
HttpURLConnection
setVolumeControlStream()
28. This is an interface which is used to pass image data from the camera hardware to the application.
Paint
<declare-styleable>
AsyncTask
SurfaceHolder.Callback
29. If permissions are missing - the application will get this at runtime.
Destroyed - previous
AccountAuthenticatorActivity
SecurityException
Layouts
30. Android is __________.
AsyncTask
Linux based
ViewStub
Advanced Training
31. It provides a simple way to perform your work outside the main thread.
AsyncTask
Paint
Deserialize
Widgets
32. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
Account
BroadcastReceiver
LTE
onCreate() - onDestroy()
33. 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?
BackupHelper
Activity
Account
EXTRA_STREAM
34. It inform the system what intents an application component is willing to accept.
NetworkInfo
AndroidManifest.xml
Explicit intent
Intent filters
35. Callback method: The activity is no longer visible
InputStream
Open Handset Alliance
onStop();
HttpURLConnection
36. This class provides one of the simplest ways to fire off a new task from the UI thread.
LTE
AsyncTask
ACTION_DOCK_EVENT
onStart() - onStop()
37. It made implementing an effective and user friendly share action in your ActionBar even easier.
ActionProvider
single-pane
Activity
Serialize
38. 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.
OAuth2
android.hardware.touchscreen
ACTION_DOCK_EVENT
NetworkInfo
39. It is called to invoke the search dialog on older devices.
LTE
onSearchRequested()
virtual table
getInputStream()
40. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Widgets
onAudioFocusChange()
isConnected()
Intent filters
41. 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 ___ .
SurfaceView
Stack
AudioManager
touch
42. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
resolveSizeAndState()
GET_ACCOUNTS
LocationManager
Google Cloud Messaging for Android (GCM)
43. is run when running Android on the pc
Widgets
Serialize
Emulator
GestureDetector
44. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
InputStream
AsyncTask
Scroller
Wi-Fi radio
45. Android request its permission using its ________
AndroidManifest.xml
AbstractAccountAuthenticator
dual-
SQLiteOpenHelper
46. This is set up to animate for the duration of the fling.
Canvas
ValueAnimator
Parser
AsyncTask
47. This action is used in sending text content from one activity to another.
ACTION_SEND
Intents
Back stack
android.hardware.touchscreen
48. Converts XML Document to XML DOM
Parser
Standby
Linux based
Scroller
49. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
InputStream
LocationManager
Full power
onCreate() - onDestroy()
50. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Hierarchy Viewer
Canvas
Google Cloud Messaging (GCM)
ACTION_DOCK_EVENT