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. Allow to combine loosely coupled components to perform certain tasks
Emulator
onMeasure()
dual-
Intents
2. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Canvas
Geocoder
LocationManager
Intents
3. Direct component call in Android
Explicit intent
security sandbox
SurfaceView
onStart() - onStop()
4. The most common way to define a layout using views is with an XML layout file saved in your ______
Back stack
setVolumeControlStream()
Application resources
SearchView
5. An open source stand alone database
Emulator
Intents
SQLite
Hierarchy Viewer
6. 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
Stack
Stack - back stack
authenticator class
7. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Wi-Fi radio
Scroller
ACTION_DOCK_EVENT
Standby
8. This broadcasts an action whenever the device is connected or disconnected from power.
BatteryManager
AccountAuthenticatorActivity
Paint
Wi-Fi radio
9. This is the main class through which your application can access location services on Android.
Account Manager
LocationManager
Objects Activity lifecycle
OAuth2
10. 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 _____
PackageManager
Geocoder
View
onCreate() - onDestroy()
11. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Activity
Widgets
Advanced Training
Serialize
12. This is the simplest way to monitor device state changes.
BatteryManager
BroadcastReceiver
Dalvik Debug Monitor Server
Intent filters
13. It is available starting with API Level 14 and higher.
<declare-styleable>
AttributeSet
virtual table
ShareActionProvider
14. Callback method: The activity is no longer visible
inflate()
Lifecycle callback methods
onStop();
SQLite
15. When a new activity starts - it is pushed onto the ____ and takes user focus.
Back stack
Dots per inch
OAuth2
AsyncTask
16. This provides methods to define line's color - whether to fill a rectangle with a color or leave it empty - and defines the color - style - font - and so forth of each shape you draw.
Open Handset Alliance
setContentView
onStart() - onStop()
Paint
17. 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?
virtual table
EXTRA_STREAM
SearchView
Parser
18. Android system uses a special virtual machine to run java based applicatons
BackupHelper
Account Manager
Parser
Dalvik Virtual Machine
19. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
dual-
ViewStub
adb
inflate()
20. For example - a ____ might be a button that initiates an action when the user touches it.
View
onCreate() - onDestroy()
authenticator class
Fragments
21. 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.
ConnectivityManager
Ducking
Services
PieChart
22. It is called to invoke the search dialog on older devices.
PieChart
Extensible Markup Language (XML)
Serialize
onSearchRequested()
23. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
PackageManager
EXTRA_STREAM
getInputStream()
android.hardware.touchscreen
24. ______ are views derived from ViewGroup that provide a unique layout model for its child views
SecurityException
ViewStub
Layouts
AccountAuthenticatorActivity
25. Converts XML Document to XML DOM
Stack - back stack
PieChart
Parser
drawBitmap()
26. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
onMeasure()
Full power
LocationManager
Google Cloud Messaging for Android (GCM)
27. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
searchable configuration
Dots per inch
single-pane
onCreate() - onDestroy()
28. Theseare a key part of Android applications that directly affect the user experience.
BatteryManager
When the activity resumes
Layouts
onMeasure()
29. It is a string that defines the specific type of access your app is asking for.
SQLiteOpenHelper
auth scope
drawBitmap()
XmlPullParser
30. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Layouts
PieChart
OnCurrentItemChanged
Ducking
31. Where Android is currently primarily developed
Emulator
Stack - back stack
Standby
Google
32. It doesn't currently support the <merge/> tag in the layouts to be inflated.
ViewStub
drawBitmap()
InputStream
Google Cloud Messaging (GCM)
33. An intermediate state that uses around 50% of the battery power at the full state.
Low power
NetworkInfo
Application resources
Advanced Training
34. If permissions are missing - the application will get this at runtime.
BackupHelper
ViewStub
SecurityException
security sandbox
35. In order to get a list of accounts on the device - your app needs this permission.
AsyncTask
GET_ACCOUNTS
Paint
dual-
36. Conversion of an object to XML
Serialize
Android SDK
Open Handset Alliance
HTTP
37. It is a free service for sending messages to Android devices.
Google Cloud Messaging (GCM)
Application resources
Stack - back stack
Parser
38. The minimal energy state during which no network connection is active or required.
Application resources
onStart() - onStop()
Application footprint
Standby
39. 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
ACTION_DOCK_EVENT
Dalvik Debug Monitor Server
SQLite
40. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Objects Activity lifecycle
resolveSizeAndState()
PieChart
SurfaceHolder.Callback
41. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
BroadcastReceiver
AccountAuthenticatorActivity
Entire
Explicit intent
42. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Open Handset Alliance
onDraw()
android.hardware.touchscreen
onResume();
43. is run when running Android on the pc
Wi-Fi radio
Emulator
Account
Standby
44. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
android.hardware.touchscreen
security sandbox
Google Cloud Messaging (GCM)
View
45. This is used to check that you're actually connected to the Internet and what type of connection is in place.
Serialize
<declare-styleable>
ConnectivityManager
onPause();
46. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
visible
Standby
onCreate() - onDestroy()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
47. The industry standard way to deal with authentication to third-party services.
AsyncTask
Extensible Markup Language (XML)
OAuth2 protocol
Linux based
48. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
<declare-styleable>
Ducking
GestureDetector
Hierarchy Viewer
49. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
BackupHelper
Widgets
drawBitmap()
ConnectivityManager
50. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
Widgets
When the activity resumes
Android SDK
isConnected()