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. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
PieChart
Stack - back stack
View
Android SDK
2. 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.
Paint
Destroyed - previous
authenticator class
Wi-Fi radio
3. 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
HTTP
touch
onCreate() - onDestroy()
4. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
NetworkInfo
drawBitmap()
Account
Account Manager
5. Callback method: The activity has become visible.
onDestroy();
onResume();
Paint
Hierarchy Viewer
6. Sharing of data in Android is done via________
Service Content Provider
SurfaceView
Dots per inch
Fragments
7. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Layouts
AudioManager
Ducking
Activity
8. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Widgets
setContentView
When the activity resumes
Canvas
9. 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
Destroyed - previous
OAuth2 protocol
AttributeSet
10. The most common way to define a layout using views is with an XML layout file saved in your ______
Fragments
Application resources
AudioManager
GestureDetector
11. On a rooted device - the credentials would be readable by anyone with this access to the device.
Geocoder
HTTP
GET_ACCOUNTS
adb
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
onCreate();
Low power
SurfaceView
13. 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 _____
Destroyed - previous
Google Play
onCreate() - onDestroy()
OAuth2 protocol
14. An open source group led by Google
Open Handset Alliance
BatteryManager
ACTION_DOCK_EVENT
Activity
15. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Objects Activity lifecycle
Google Cloud Messaging for Android (GCM)
AbstractAccountAuthenticator
Widgets
16. An open source stand alone database
EXTRA_STREAM
Hierarchy Viewer
SearchView
SQLite
17. A service in which programmers can offer their Android application to Android users.
onStop();
SecurityException
Google Play
BroadcastReceiver
18. This class exposes a number of methods for applications to receive location updates.
Lifecycle callback methods
PackageManager
Scroller
LocationManager
19. You can set the layout as the UI for your activity with passing the resource ID for the layout.
authenticator class
SecurityException
single-pane
setContentView
20. It inform the system what intents an application component is willing to accept.
When the activity resumes
Back stack
AsyncTask
Intent filters
21. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
onCreate() - onDestroy()
Dalvik Virtual Machine
SQLiteOpenHelper
ACTION_SEND
22. It is used to load images in a background thread - then apply them to the UI once finished.
SecurityException
ACTION_SEND
GestureDetector
AsyncTask
23. The dock-state details are included as an extra in a sticky broadcast of this action.
ACTION_DOCK_EVENT
Parser
LocationManager
Emulator
24. This is used to register and de-register your media button event receiver.
Google Cloud Messaging for Android (GCM)
Open Handset Alliance
AudioManager
ViewStub
25. This is a readable source of bytes.
Application resources
AsyncTask
InputStream
SurfaceHolder.Callback
26. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
ViewStub
visible
ACTION_DOCK_EVENT
HttpURLConnection
27. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
PackageManager
GestureDetector
Dalvik Virtual Machine
Geocoder
28. Converts XML Document to XML DOM
Widgets
Stack - back stack
PackageManager
Parser
29. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Full power
ConnectivityManager
ACTION_DOCK_EVENT
Application footprint
30. Callback method: The activity is no longer visible.
onStop();
Android SDK
Extensible Markup Language (XML)
ConnectivityManager
31. It is a free service for sending messages to Android devices.
onCreate() - onDestroy()
Google Cloud Messaging (GCM)
NetworkInfo
Stack - back stack
32. It is a string that defines the specific type of access your app is asking for.
Activity
Stack - back stack
single-pane
auth scope
33. In most cases this will offer greater bandwidth at a significantly lower battery cost.
adb
Wi-Fi radio
Stack
When the activity resumes
34. Android request its permission using its ________
AndroidManifest.xml
AccountAuthenticatorActivity
Geocoder
dual-
35. In order to get a list of accounts on the device - your app needs this permission.
Google Cloud Messaging for Android (GCM)
GET_ACCOUNTS
resolveSizeAndState()
drawText()
36. This object contains an account name - which for Google accounts is an email address.
Canvas
Account
Scroller
touch
37. The entire lifetime of an activity happens between the call to _____ and the call to _____
View
Low power
onCreate() - onDestroy()
Back stack
38. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
BatteryManager
Scroller
searchable configuration
SurfaceView
39. Allow to combine loosely coupled components to perform certain tasks
Component - screen
onAudioFocusChange()
<declare-styleable>
Intents
40. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Advanced Training
LocationManager
resolveSizeAndState()
AccountAuthenticatorActivity
41. This broadcasts an action whenever the device is connected or disconnected from power.
BatteryManager
Serialize
Account Manager
Services
42. This includes tools to help you identify problems in your layout performance.
Fragments
Android SDK
InputStream
OAuth2 protocol
43. Where Android is currently primarily developed
Hierarchy Viewer
EXTRA_STREAM
Google
isConnected()
44. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
AttributeSet
Account Manager
OAuth2 protocol
45. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
Dalvik Virtual Machine
Activity
Google Cloud Messaging for Android (GCM)
getInputStream()
46. Android system uses a special virtual machine to run java based applicatons
Dalvik Virtual Machine
Android SDK
OAuth2
Google Play
47. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
BatteryManager
android.hardware.touchscreen
Emulator
onMeasure()
48. The visible lifetime of an activity happens between the call to ____ and the call to ______
AbstractAccountAuthenticator
ConnectivityManager
Scroller
onStart() - onStop()
49. For example - a ____ might be a button that initiates an action when the user touches it.
View
Dalvik Virtual Machine
ACTION_DOCK_EVENT
OAuth2
50. A styleable entity that contains these two custom attributes: showText and labelPosition.
ShareActionProvider
Android SDK
PieChart
Google