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 is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
ViewStub
dual-
Dots per inch
GET_ACCOUNTS
2. The visible lifetime of an activity happens between the call to ____ and the call to ______
visible
Google Play
onStart() - onStop()
Google Cloud Messaging (GCM)
3. An _______ is an application component that provides a screen with which users can interact in order to do something - such as dial the phone - take a photo - send an email - or view a map.
Activity
Google Cloud Messaging (GCM)
Intents
Full power
4. 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.
Emulator
ViewStub
authenticator class
Ducking
5. This is used for the need of finer control over your view's layout parameters.
Deserialize
onMeasure()
ConnectivityManager
Destroyed - previous
6. The most common way to define a layout using views is with an XML layout file saved in your ______
Application resources
Scroller
BatteryManager
searchable configuration
7. 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?
LocationManager
BroadcastReceiver
onResume();
EXTRA_STREAM
8. Whenever the device is docked or undocked - this action is broadcast.
Services
setContentView
ACTION_DOCK_EVENT
Android SDK
9. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
AbstractAccountAuthenticator
AccountAuthenticatorActivity
<declare-styleable>
Activity
10. Allow to combine loosely coupled components to perform certain tasks
searchable configuration
Intents
authenticator class
Deserialize
11. An open source stand alone database
onPause();
Dots per inch
ETC1
SQLite
12. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
LocationManager
ACTION_DOCK_EVENT
Scroller
13. You can set the layout as the UI for your activity with passing the resource ID for the layout.
setContentView
Hierarchy Viewer
View
Serialize
14. 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()
virtual table
onCreate() - onDestroy()
PackageManager
15. This is an interface which is used to pass image data from the camera hardware to the application.
SurfaceHolder.Callback
InputStream
Paint
resolveSizeAndState()
16. This is a readable source of bytes.
Android SDK
Dots per inch
InputStream
auth scope
17. To define custom attributes - add this resources to your project.
<declare-styleable>
setVolumeControlStream()
Application footprint
ACTION_SEND
18. It provides a simple way to perform your work outside the main thread.
AndroidManifest.xml
onPause();
authenticator class
AsyncTask
19. 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
Ducking
onStop();
searchable configuration
20. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
Layouts
onCreate() - onDestroy()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Stack
21. An open source group led by Google
Activity
When the activity resumes
Open Handset Alliance
Google Cloud Messaging (GCM)
22. This class is the basis for handling flywheel-style fling gestures.
Scroller
SQLite
EXTRA_STREAM
HttpURLConnection
23. This action is used in sending text content from one activity to another.
AsyncTask
Android SDK
inflate()
ACTION_SEND
24. Callback method: The activity is no longer visible.
HttpURLConnection
onStop();
security sandbox
SearchView
25. Android is __________.
Linux based
Geocoder
Component - screen
ACTION_DOCK_EVENT
26. Amode where the action bar is set up with tabs for navigation.
BroadcastReceiver
Lifecycle callback methods
dual-
onStart() - onStop()
27. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
onDraw()
Services
Service Content Provider
AndroidManifest.xml
28. It is an efficient and maintainable way to parse XML on Android.
onPause();
onStop();
XmlPullParser
ShareActionProvider
29. The back stack abides to the basic "last in - first out" stack mechanism - so - when the user is done with the current activity and presses the Back button - it is popped from the stack (and ____) and the ____ activity resumes
Wi-Fi radio
AudioManager
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Destroyed - previous
30. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
virtual table
adb
authenticator class
resolveSizeAndState()
31. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
Paint
Google
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
SettingsActivity
32. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
Linux based
Scroller
onDraw()
searchable configuration
33. This is the main class through which your application can access location services on Android.
Service Content Provider
onStop();
LocationManager
Back stack
34. It made implementing an effective and user friendly share action in your ActionBar even easier.
Intents
ActionProvider
AndroidManifest.xml
Back stack
35. It is used to load images in a background thread - then apply them to the UI once finished.
SecurityException
Android SDK
AsyncTask
Canvas
36. Use this to draw text.
Services
Activity
Geocoder
drawText()
37. Most network-connected Android apps use this to send and receive data.
Google Cloud Messaging for Android (GCM)
visible
HTTP
AbstractAccountAuthenticator
38. This can be used to draw previews of what the camera sensor is picking up.
SurfaceView
Account
searchable configuration
View
39. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
visible
Stack - back stack
onCreate() - onDestroy()
drawText()
40. This includes tools to help you identify problems in your layout performance.
Android SDK
onDestroy();
Dalvik Virtual Machine
Google Cloud Messaging (GCM)
41. 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?
adb
AttributeSet
Activity
Hierarchy Viewer
42. This is used to convert raw touch events into gestures.
setVolumeControlStream()
GestureDetector
Service Content Provider
resolveSizeAndState()
43. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Dalvik Virtual Machine
View
Full power
Layouts
44. Callback method: The activity is no longer visible
onStop();
ConnectivityManager
Linux based
Extensible Markup Language (XML)
45. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Hierarchy Viewer
ACTION_SEND
Entire
Serialize
46. This is the simplest way to monitor device state changes.
Parser
View
BroadcastReceiver
ConnectivityManager
47. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Application footprint
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Hierarchy Viewer
Canvas
48. Relative to pixels and resolution screen
authenticator class
Dots per inch
onDestroy();
Geocoder
49. Sharing of data in Android is done via________
Account Manager
onCreate();
LocationManager
Service Content Provider
50. Callback method: The activity is being created.
Activity
onCreate();
Service Content Provider
Dots per inch