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. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
Services
SQLite
setContentView
ConnectivityManager
2. 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.
LTE
OAuth2
ValueAnimator
ACTION_DOCK_EVENT
3. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
BroadcastReceiver
Low power
onDraw()
View
4. Theseare a key part of Android applications that directly affect the user experience.
Layouts
ViewStub
Implicit intent
SecurityException
5. Relative to pixels and resolution screen
Dots per inch
View
ValueAnimator
Dalvik Virtual Machine
6. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Scroller
AccountAuthenticatorActivity
Dalvik Debug Monitor Server
virtual table
7. The entire lifetime of an activity happens between the call to _____ and the call to _____
View
AbstractAccountAuthenticator
ACTION_SEND
onCreate() - onDestroy()
8. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
android.hardware.touchscreen
Fragments
When the activity resumes
Linux based
9. Are used in activities to create the user interface and to interact with the user.
OAuth2
Deserialize
Linux based
Fragments
10. The industry standard way to deal with authentication to third-party services.
SettingsActivity
setVolumeControlStream()
OAuth2 protocol
Destroyed - previous
11. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
Stack - back stack
Layouts
Ducking
AccountAuthenticatorActivity
12. An Activity is an application ______ that provides a _______ 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
Component - screen
Lifecycle callback methods
<declare-styleable>
Entire
13. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Android SDK
Hierarchy Viewer
Activity
Lifecycle callback methods
14. A service in which programmers can offer their Android application to Android users.
Lifecycle callback methods
Advanced Training
Linux based
Google Play
15. Callback method: The activity is about to be destroyed.
onResume();
onDestroy();
Parser
SurfaceView
16. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
Dots per inch
auth scope
AbstractAccountAuthenticator
LocationManager
17. It is a free service for sending messages to Android devices.
Google Cloud Messaging (GCM)
Ducking
Dalvik Virtual Machine
Intents
18. You can set the layout as the UI for your activity with passing the resource ID for the layout.
authenticator class
BatteryManager
setContentView
Advanced Training
19. Shows the actual amount of memory the application uses
Application footprint
SecurityException
isConnected()
AbstractAccountAuthenticator
20. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
AudioManager
isConnected()
visible
Scroller
21. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
OAuth2
Android SDK
SurfaceView
BroadcastReceiver
22. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
HttpURLConnection
AndroidManifest.xml
isConnected()
Back stack
23. It provides a simple way to perform your work outside the main thread.
Back stack
onMeasure()
AsyncTask
SearchView
24. Allow to combine loosely coupled components to perform certain tasks
onDestroy();
Intents
Standby
onSearchRequested()
25. This is an interface which is used to pass image data from the camera hardware to the application.
SurfaceHolder.Callback
ViewStub
onStart() - onStop()
onDestroy();
26. This can be used to draw previews of what the camera sensor is picking up.
SurfaceView
adb
BroadcastReceiver
Linux based
27. This is the simplest way to monitor device state changes.
BroadcastReceiver
ConnectivityManager
Application resources
EXTRA_STREAM
28. To create an activity - you must create a subclass of
Dalvik Virtual Machine
Android SDK
Activity
SQLite
29. On a rooted device - the credentials would be readable by anyone with this access to the device.
InputStream
adb
SQLite
Implicit intent
30. For example - a ____ might be a button that initiates an action when the user touches it.
resolveSizeAndState()
GET_ACCOUNTS
View
Layouts
31. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
searchable configuration
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
SQLite
<declare-styleable>
32. 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.
ViewStub
Intent filters
Activity
EXTRA_STREAM
33. It is a set of rules for encoding documents in machine-readable form.
auth scope
Extensible Markup Language (XML)
PackageManager
Android SDK
34. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Objects Activity lifecycle
Dots per inch
touch
SearchView
35. An open source group led by Google
ActionProvider
Deserialize
Open Handset Alliance
SQLiteOpenHelper
36. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
HTTP
View
virtual table
SQLite
37. It is called to invoke the search dialog on older devices.
onSearchRequested()
Account
android.hardware.touchscreen
SurfaceView
38. The helper method is used to create the final width and height values.
AttributeSet
resolveSizeAndState()
Google
Standby
39. A styleable entity that contains these two custom attributes: showText and labelPosition.
PieChart
Destroyed - previous
onMeasure()
AndroidManifest.xml
40. This widget as an item in the action bar is the preferred way to provide search in your app.
Serialize
LocationManager
SearchView
BroadcastReceiver
41. Use this to draw text.
Ducking
drawText()
Full power
OAuth2
42. 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?
Low power
ConnectivityManager
AttributeSet
Layouts
43. A mode where navigation is set up with a spinner widget.
single-pane
SettingsActivity
ConnectivityManager
SQLiteOpenHelper
44. Callback method: The activity is no longer visible
AbstractAccountAuthenticator
onStop();
ACTION_DOCK_EVENT
SurfaceView
45. 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
Low power
Scroller
Activity
PackageManager
46. Conversion of an object to XML
Serialize
BroadcastReceiver
AsyncTask
setContentView
47. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Android SDK
Ducking
searchable configuration
Wi-Fi radio
48. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
HTTP
Geocoder
AudioManager
Linux based
49. This class exposes a number of methods for applications to receive location updates.
AndroidManifest.xml
ViewStub
security sandbox
LocationManager
50. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
searchable configuration
NetworkInfo
dual-
Application resources