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. These helpers are specialized classes for backing up certain kinds of data.
onStop();
Objects Activity lifecycle
BackupHelper
<declare-styleable>
2. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
onCreate() - onDestroy()
Geocoder
AbstractAccountAuthenticator
Android SDK
3. Android is __________.
AndroidManifest.xml
setContentView
Linux based
authenticator class
4. It is a free service for sending messages to Android devices.
onAudioFocusChange()
dual-
SearchView
Google Cloud Messaging (GCM)
5. The industry standard way to deal with authentication to third-party services.
onStop();
Account
HTTP
OAuth2 protocol
6. It is a string that defines the specific type of access your app is asking for.
inflate()
Google Play
Destroyed - previous
auth scope
7. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
dual-
Wi-Fi radio
GET_ACCOUNTS
Objects Activity lifecycle
8. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
ShareActionProvider
Dalvik Debug Monitor Server
BackupHelper
ConnectivityManager
9. It is called to invoke the search dialog on older devices.
Scroller
SearchView
Stack
onSearchRequested()
10. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Stack - back stack
visible
ShareActionProvider
Google
11. Theseare a key part of Android applications that directly affect the user experience.
Intent filters
Layouts
setContentView
OnCurrentItemChanged
12. An open source stand alone database
SQLite
When the activity resumes
ViewStub
BatteryManager
13. This action is used in sending text content from one activity to another.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Lifecycle callback methods
ACTION_SEND
AccountAuthenticatorActivity
14. Whenever the device is docked or undocked - this action is broadcast.
<declare-styleable>
AccountAuthenticatorActivity
ACTION_DOCK_EVENT
Component - screen
15. This can be used to draw previews of what the camera sensor is picking up.
XmlPullParser
SurfaceView
Intents
Application footprint
16. Shows the actual amount of memory the application uses
AccountAuthenticatorActivity
Canvas
Application footprint
ViewStub
17. In most cases this will offer greater bandwidth at a significantly lower battery cost.
getInputStream()
Google Cloud Messaging (GCM)
Linux based
Wi-Fi radio
18. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
LocationManager
SearchView
setVolumeControlStream()
19. 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.
ViewStub
Ducking
BatteryManager
isConnected()
20. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Lifecycle callback methods
Google Cloud Messaging for Android (GCM)
ACTION_DOCK_EVENT
Service Content Provider
21. It doesn't currently support the <merge/> tag in the layouts to be inflated.
ViewStub
Objects Activity lifecycle
Emulator
onStop();
22. For example - a ____ might be a button that initiates an action when the user touches it.
View
Destroyed - previous
onStart() - onStop()
AudioManager
23. If permissions are missing - the application will get this at runtime.
Component - screen
SecurityException
Emulator
security sandbox
24. 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.
single-pane
AsyncTask
isConnected()
Activity
25. It is available starting with API Level 14 and higher.
ShareActionProvider
Application footprint
Implicit intent
Paint
26. This object contains an account name - which for Google accounts is an email address.
Geocoder
Account
AsyncTask
onResume();
27. is run when running Android on the pc
authenticator class
Application footprint
GET_ACCOUNTS
Emulator
28. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
onDraw()
getInputStream()
HTTP
visible
29. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
onDestroy();
Layouts
Scroller
Account
30. 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
onStop();
Destroyed - previous
getInputStream()
Widgets
31. Use this to draw text.
SurfaceView
drawText()
Destroyed - previous
Hierarchy Viewer
32. Most network-connected Android apps use this to send and receive data.
setContentView
dual-
HTTP
<declare-styleable>
33. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Full power
When the activity resumes
<declare-styleable>
Canvas
34. Amode where the action bar is set up with tabs for navigation.
drawText()
setVolumeControlStream()
Parser
dual-
35. 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 ___ .
Ducking
Intents
Stack
NetworkInfo
36. The most common way to define a layout using views is with an XML layout file saved in your ______
Android SDK
Application resources
AudioManager
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
37. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Low power
Intents
Geocoder
Layouts
38. To define custom attributes - add this resources to your project.
<declare-styleable>
security sandbox
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Account Manager
39. 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 _____
Dalvik Debug Monitor Server
View
onCreate() - onDestroy()
Services
40. 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
onMeasure()
Services
Advanced Training
41. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
BatteryManager
Google Cloud Messaging for Android (GCM)
Android SDK
Account
42. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
HttpURLConnection
Full power
visible
ConnectivityManager
43. You can set the layout as the UI for your activity with passing the resource ID for the layout.
BroadcastReceiver
setContentView
onCreate() - onDestroy()
InputStream
44. This is used to fetch the account names that the user has stored on their device.
Account Manager
onStop();
Back stack
Geocoder
45. Evaluation of registered components
Implicit intent
Full power
BroadcastReceiver
ConnectivityManager
46. Callback method: The activity is no longer visible.
AbstractAccountAuthenticator
onStop();
ActionProvider
auth scope
47. It provides a simple way to perform your work outside the main thread.
AsyncTask
Back stack
Application resources
Scroller
48. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
Back stack
isConnected()
OAuth2 protocol
onPause();
49. Represents the visual representation of an Android application
PieChart
Activity
adb
OAuth2
50. Sharing of data in Android is done via________
BackupHelper
OAuth2
ViewStub
Service Content Provider