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. It is a set of rules for encoding documents in machine-readable form.
Extensible Markup Language (XML)
onDestroy();
OAuth2 protocol
visible
2. It is a string that defines the specific type of access your app is asking for.
auth scope
AndroidManifest.xml
adb
Destroyed - previous
3. Use this to draw bitmaps.
Entire
Activity
drawBitmap()
When the activity resumes
4. Android system uses a special virtual machine to run java based applicatons
GestureDetector
ShareActionProvider
Dalvik Virtual Machine
Android SDK
5. 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
SQLite
Ducking
Linux based
6. Callback method: The activity is being created.
Application footprint
ActionProvider
onCreate();
single-pane
7. Android is __________.
OAuth2 protocol
onCreate() - onDestroy()
Stack
Linux based
8. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Stack
Wi-Fi radio
SurfaceView
BatteryManager
9. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
getInputStream()
Hierarchy Viewer
Activity
Application resources
10. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
Deserialize
AudioManager
Open Handset Alliance
inflate()
11. Necessary tools to develop Android applications
searchable configuration
Android SDK
HttpURLConnection
security sandbox
12. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
HttpURLConnection
ViewStub
authenticator class
Android SDK
13. It doesn't currently support the <merge/> tag in the layouts to be inflated.
touch
Application footprint
ViewStub
Geocoder
14. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
LTE
Objects Activity lifecycle
Intents
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
15. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Hierarchy Viewer
Wi-Fi radio
ACTION_DOCK_EVENT
LocationManager
16. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
ViewStub
Explicit intent
Back stack
onStop();
17. It is a free service for sending messages to Android devices.
Activity
Google Cloud Messaging (GCM)
Explicit intent
SQLite
18. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
OAuth2
onPause();
Scroller
19. Shows the actual amount of memory the application uses
AbstractAccountAuthenticator
Application footprint
Scroller
SurfaceView
20. It made implementing an effective and user friendly share action in your ActionBar even easier.
inflate()
Services
AttributeSet
ActionProvider
21. This class exposes a number of methods for applications to receive location updates.
Google Cloud Messaging (GCM)
Activity
LocationManager
Stack - back stack
22. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
Layouts
onCreate() - onDestroy()
onStop();
android.hardware.touchscreen
23. The minimal energy state during which no network connection is active or required.
BroadcastReceiver
Standby
Activity
single-pane
24. is run when running Android on the pc
GET_ACCOUNTS
Emulator
BackupHelper
Google Cloud Messaging for Android (GCM)
25. Allow to combine loosely coupled components to perform certain tasks
Objects Activity lifecycle
Ducking
Intents
SearchView
26. This search feature was introduced in Android 3.0 and can maintain backward compatibility with older versions of Android by using the default search dialog provided by the system.
AndroidManifest.xml
Full power
adb
SearchView
27. This broadcasts an action whenever the device is connected or disconnected from power.
onStop();
AndroidManifest.xml
searchable configuration
BatteryManager
28. Sharing of data in Android is done via________
Dalvik Debug Monitor Server
onDraw()
Service Content Provider
SQLite
29. When a new activity starts - it is pushed onto the ____ and takes user focus.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
resolveSizeAndState()
LocationManager
Back stack
30. If permissions are missing - the application will get this at runtime.
SecurityException
ShareActionProvider
Application footprint
AttributeSet
31. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
authenticator class
BroadcastReceiver
AsyncTask
View
32. This action is used in sending text content from one activity to another.
dual-
OAuth2
ACTION_SEND
adb
33. In order to get a list of accounts on the device - your app needs this permission.
Layouts
ViewStub
GET_ACCOUNTS
HttpURLConnection
34. A mode where navigation is set up with a spinner widget.
single-pane
Ducking
ACTION_DOCK_EVENT
BroadcastReceiver
35. It provides a simple way to perform your work outside the main thread.
Destroyed - previous
Hierarchy Viewer
AsyncTask
OAuth2
36. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
Paint
Stack
ETC1
onDraw()
37. 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
onMeasure()
PackageManager
Layouts
Account Manager
38. The helper method is used to create the final width and height values.
resolveSizeAndState()
Widgets
Wi-Fi radio
OAuth2 protocol
39. This class provides one of the simplest ways to fire off a new task from the UI thread.
Parser
AsyncTask
View
BatteryManager
40. It inform the system what intents an application component is willing to accept.
Services
onCreate() - onDestroy()
dual-
Intent filters
41. Conversion of an object to XML
Extensible Markup Language (XML)
resolveSizeAndState()
OAuth2
Serialize
42. Represents the visual representation of an Android application
virtual table
Serialize
Activity
ConnectivityManager
43. A styleable entity that contains these two custom attributes: showText and labelPosition.
Stack - back stack
ActionProvider
PieChart
LocationManager
44. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
ViewStub
touch
View
BatteryManager
45. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Widgets
SettingsActivity
XmlPullParser
BatteryManager
46. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
Dalvik Debug Monitor Server
isConnected()
onStop();
Google
47. Are used in activities to create the user interface and to interact with the user.
Fragments
onCreate() - onDestroy()
Google
onSearchRequested()
48. ______ are views derived from ViewGroup that provide a unique layout model for its child views
SurfaceHolder.Callback
ConnectivityManager
drawBitmap()
Layouts
49. On a rooted device - the credentials would be readable by anyone with this access to the device.
ViewStub
android.hardware.touchscreen
PieChart
adb
50. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
When the activity resumes
Scroller
auth scope
NetworkInfo