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 easiest way to create an authenticator class is to extend this and implement its abstract methods.
Objects Activity lifecycle
setVolumeControlStream()
AbstractAccountAuthenticator
Services
2. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
Extensible Markup Language (XML)
authenticator class
Android SDK
View
3. To define custom attributes - add this resources to your project.
Low power
LocationManager
<declare-styleable>
Activity
4. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Extensible Markup Language (XML)
GET_ACCOUNTS
Layouts
LocationManager
5. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
getInputStream()
Lifecycle callback methods
Application resources
onStop();
6. A styleable entity that contains these two custom attributes: showText and labelPosition.
onMeasure()
Open Handset Alliance
PieChart
Objects Activity lifecycle
7. It inform the system what intents an application component is willing to accept.
Google Play
Intent filters
Wi-Fi radio
onStop();
8. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
onSearchRequested()
Lifecycle callback methods
onAudioFocusChange()
onStart() - onStop()
9. Theseare a key part of Android applications that directly affect the user experience.
SQLiteOpenHelper
SurfaceView
dual-
Layouts
10. Callback method: The activity is being created.
onCreate();
SecurityException
SQLite
Google Cloud Messaging for Android (GCM)
11. Callback method: The activity is no longer visible.
BackupHelper
Paint
onStop();
isConnected()
12. It is used to load images in a background thread - then apply them to the UI once finished.
HttpURLConnection
onMeasure()
AsyncTask
virtual table
13. It is available starting with API Level 14 and higher.
LocationManager
inflate()
security sandbox
ShareActionProvider
14. These helpers are specialized classes for backing up certain kinds of data.
Scroller
OAuth2 protocol
BackupHelper
Account
15. For example - a ____ might be a button that initiates an action when the user touches it.
onDestroy();
android.hardware.touchscreen
Google Cloud Messaging (GCM)
View
16. Android request its permission using its ________
AndroidManifest.xml
onPause();
setContentView
Entire
17. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Linux based
Geocoder
onCreate() - onDestroy()
onStart() - onStop()
18. An intermediate state that uses around 50% of the battery power at the full state.
Implicit intent
onCreate() - onDestroy()
Low power
Explicit intent
19. The most common way to define a layout using views is with an XML layout file saved in your ______
Wi-Fi radio
Application resources
Component - screen
touch
20. 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
onStop();
OnCurrentItemChanged
BroadcastReceiver
21. 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.
Back stack
Intent filters
SearchView
Paint
22. Converts XML Document to XML DOM
ViewStub
AudioManager
Parser
Dalvik Debug Monitor Server
23. Callback method: Another activity is taking focus
BackupHelper
SurfaceHolder.Callback
Paint
onPause();
24. It is a string that defines the specific type of access your app is asking for.
Scroller
drawBitmap()
auth scope
Services
25. 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
Account
View
Advanced Training
26. Android is __________.
GET_ACCOUNTS
Linux based
LocationManager
InputStream
27. Relative to pixels and resolution screen
Activity
onResume();
Dots per inch
visible
28. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
Activity
BatteryManager
LocationManager
ETC1
29. This includes tools to help you identify problems in your layout performance.
Extensible Markup Language (XML)
Intents
auth scope
Android SDK
30. Conversion of XML back to an object
ShareActionProvider
EXTRA_STREAM
ValueAnimator
Deserialize
31. This is the main class through which your application can access location services on Android.
Linux based
LocationManager
auth scope
NetworkInfo
32. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
LocationManager
Widgets
HttpURLConnection
ViewStub
33. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
AsyncTask
auth scope
Dalvik Debug Monitor Server
ETC1
34. Shows the actual amount of memory the application uses
AsyncTask
Google Cloud Messaging (GCM)
Intent filters
Application footprint
35. Whenever the device is docked or undocked - this action is broadcast.
ValueAnimator
ACTION_DOCK_EVENT
Activity
Intent filters
36. This is used to fetch the account names that the user has stored on their device.
getInputStream()
Account Manager
drawBitmap()
Google Cloud Messaging (GCM)
37. The entire lifetime of an activity happens between the call to _____ and the call to _____
View
Implicit intent
onCreate() - onDestroy()
AbstractAccountAuthenticator
38. In order to get a list of accounts on the device - your app needs this permission.
setContentView
BroadcastReceiver
GET_ACCOUNTS
onAudioFocusChange()
39. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
View
ConnectivityManager
onStop();
Lifecycle callback methods
40. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
ConnectivityManager
PieChart
Parser
searchable configuration
41. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
SQLiteOpenHelper
Low power
InputStream
ETC1
42. 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
Intents
Destroyed - previous
virtual table
BroadcastReceiver
43. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
Layouts
AccountAuthenticatorActivity
AttributeSet
Linux based
44. This is set up to animate for the duration of the fling.
HTTP
ValueAnimator
SearchView
single-pane
45. It is called to invoke the search dialog on older devices.
drawBitmap()
Scroller
security sandbox
onSearchRequested()
46. An open source group led by Google
inflate()
Account
Open Handset Alliance
Android SDK
47. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
Deserialize
Advanced Training
searchable configuration
BroadcastReceiver
48. Once installed on a device - each Android application lives in its own ______
setContentView
security sandbox
onMeasure()
AsyncTask
49. This class exposes a number of methods for applications to receive location updates.
EXTRA_STREAM
LocationManager
single-pane
ConnectivityManager
50. Most network-connected Android apps use this to send and receive data.
ConnectivityManager
Hierarchy Viewer
Destroyed - previous
HTTP