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. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Paint
onAudioFocusChange()
isConnected()
SQLiteOpenHelper
2. 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
ShareActionProvider
Linux based
AccountAuthenticatorActivity
Component - screen
3. Direct component call in Android
ShareActionProvider
Geocoder
onPause();
Explicit intent
4. Callback method: The activity has become visible.
EXTRA_STREAM
SecurityException
onResume();
Entire
5. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
AccountAuthenticatorActivity
Explicit intent
Objects Activity lifecycle
ShareActionProvider
6. On a rooted device - the credentials would be readable by anyone with this access to the device.
adb
View
EXTRA_STREAM
Deserialize
7. 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 _____
Account Manager
AccountAuthenticatorActivity
Dalvik Virtual Machine
onCreate() - onDestroy()
8. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
adb
dual-
ValueAnimator
HttpURLConnection
9. Callback method: Another activity is taking focus
onPause();
InputStream
Ducking
View
10. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
authenticator class
Stack
BackupHelper
AsyncTask
11. 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.
Google Play
Application resources
ETC1
Ducking
12. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
Google Play
inflate()
resolveSizeAndState()
LTE
13. Necessary tools to develop Android applications
Android SDK
LTE
ETC1
Service Content Provider
14. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
Standby
ShareActionProvider
visible
Open Handset Alliance
15. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Layouts
onCreate() - onDestroy()
Ducking
Emulator
16. In order to get a list of accounts on the device - your app needs this permission.
Activity
SearchView
LocationManager
GET_ACCOUNTS
17. Conversion of an object to XML
ConnectivityManager
Serialize
onStop();
LTE
18. This is set up to animate for the duration of the fling.
Scroller
GET_ACCOUNTS
ValueAnimator
Service Content Provider
19. This is the simplest way to monitor device state changes.
AttributeSet
SecurityException
onStop();
BroadcastReceiver
20. Relative to pixels and resolution screen
AsyncTask
setVolumeControlStream()
Ducking
Dots per inch
21. It is a free service for sending messages to Android devices.
AudioManager
ViewStub
Google Cloud Messaging (GCM)
Google
22. Callback method: The activity is no longer visible
onMeasure()
onStop();
Low power
isConnected()
23. Perform background tasks without providing a user interface
PieChart
PackageManager
Services
onCreate();
24. 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.
LocationManager
SearchView
onPause();
BroadcastReceiver
25. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
NetworkInfo
View
touch
resolveSizeAndState()
26. A styleable entity that contains these two custom attributes: showText and labelPosition.
PieChart
Lifecycle callback methods
ETC1
BackupHelper
27. A service in which programmers can offer their Android application to Android users.
Account Manager
BatteryManager
Dots per inch
Google Play
28. It provides a simple way to perform your work outside the main thread.
<declare-styleable>
AudioManager
AsyncTask
Account
29. Most network-connected Android apps use this to send and receive data.
Layouts
HTTP
Parser
Standby
30. For example - a ____ might be a button that initiates an action when the user touches it.
View
onDraw()
Activity
AsyncTask
31. Callback method: The activity is no longer visible.
onMeasure()
HttpURLConnection
onStop();
OnCurrentItemChanged
32. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
Application resources
Account
inflate()
AbstractAccountAuthenticator
33. Are used in activities to create the user interface and to interact with the user.
auth scope
AccountAuthenticatorActivity
Fragments
ValueAnimator
34. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
resolveSizeAndState()
<declare-styleable>
Google Cloud Messaging for Android (GCM)
Android SDK
35. Converts XML Document to XML DOM
BroadcastReceiver
Parser
Activity
Component - screen
36. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
Account Manager
dual-
View
OAuth2 protocol
37. This can be used to draw previews of what the camera sensor is picking up.
SurfaceView
onSearchRequested()
auth scope
isConnected()
38. It made implementing an effective and user friendly share action in your ActionBar even easier.
onCreate() - onDestroy()
Account Manager
SearchView
ActionProvider
39. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
SurfaceView
Widgets
Objects Activity lifecycle
OAuth2
40. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Parser
Entire
ActionProvider
Dalvik Debug Monitor Server
41. Once installed on a device - each Android application lives in its own ______
OAuth2
isConnected()
security sandbox
BackupHelper
42. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
Extensible Markup Language (XML)
ACTION_DOCK_EVENT
ConnectivityManager
When the activity resumes
43. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
Open Handset Alliance
single-pane
BroadcastReceiver
Paint
44. Android is __________.
onDestroy();
Linux based
ACTION_DOCK_EVENT
GET_ACCOUNTS
45. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
visible
onDraw()
Stack
ACTION_SEND
46. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Parser
Scroller
onPause();
onCreate() - onDestroy()
47. Conversion of XML back to an object
adb
Deserialize
isConnected()
<declare-styleable>
48. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
ACTION_SEND
Service Content Provider
SurfaceView
Dalvik Debug Monitor Server
49. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
onDraw()
searchable configuration
onAudioFocusChange()
BroadcastReceiver
50. This is used to check that you're actually connected to the Internet and what type of connection is in place.
drawBitmap()
SurfaceHolder.Callback
Google Play
ConnectivityManager