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. Allow to combine loosely coupled components to perform certain tasks
drawText()
InputStream
Account Manager
Intents
2. This is used to register and de-register your media button event receiver.
onCreate();
AudioManager
Activity
Advanced Training
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
Dots per inch
onResume();
Android SDK
4. Shows the actual amount of memory the application uses
android.hardware.touchscreen
onPause();
Application footprint
Destroyed - previous
5. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
onCreate() - onDestroy()
getInputStream()
BroadcastReceiver
setContentView
6. These helpers are specialized classes for backing up certain kinds of data.
BackupHelper
Paint
ConnectivityManager
Service Content Provider
7. This action is used in sending text content from one activity to another.
Implicit intent
View
ACTION_SEND
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
8. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
onCreate();
BatteryManager
AbstractAccountAuthenticator
PackageManager
9. 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.
SearchView
onStart() - onStop()
Full power
Deserialize
10. This includes tools to help you identify problems in your layout performance.
Android SDK
AsyncTask
setVolumeControlStream()
searchable configuration
11. The dock-state details are included as an extra in a sticky broadcast of this action.
Ducking
onStart() - onStop()
Intent filters
ACTION_DOCK_EVENT
12. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
ViewStub
<declare-styleable>
Extensible Markup Language (XML)
Widgets
13. Callback method: The activity is no longer visible.
Entire
onStop();
Dalvik Virtual Machine
Standby
14. Android provides this handy method to direct volume key presses to the audio stream the user specify.
dual-
LocationManager
setVolumeControlStream()
Low power
15. Represents the visual representation of an Android application
Activity
dual-
HTTP
Geocoder
16. In order to get a list of accounts on the device - your app needs this permission.
Low power
GET_ACCOUNTS
AndroidManifest.xml
Services
17. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Deserialize
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
OnCurrentItemChanged
Objects Activity lifecycle
18. Relative to pixels and resolution screen
Google Cloud Messaging for Android (GCM)
Dots per inch
Explicit intent
android.hardware.touchscreen
19. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
AndroidManifest.xml
Dalvik Virtual Machine
onAudioFocusChange()
Paint
20. Theseare a key part of Android applications that directly affect the user experience.
onCreate() - onDestroy()
Low power
Layouts
ConnectivityManager
21. This is an interface which is used to pass image data from the camera hardware to the application.
SecurityException
Ducking
Activity
SurfaceHolder.Callback
22. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
LTE
SearchView
setVolumeControlStream()
searchable configuration
23. On a rooted device - the credentials would be readable by anyone with this access to the device.
ETC1
SecurityException
dual-
adb
24. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
Service Content Provider
visible
When the activity resumes
Account Manager
25. Callback method: The activity is being created.
onSearchRequested()
ActionProvider
onCreate();
AudioManager
26. 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?
Application resources
ACTION_DOCK_EVENT
AttributeSet
Entire
27. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
visible
Full power
ConnectivityManager
Scroller
28. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Dalvik Virtual Machine
Standby
ConnectivityManager
Stack - back stack
29. Amode where the action bar is set up with tabs for navigation.
Lifecycle callback methods
Geocoder
Account Manager
dual-
30. This widget as an item in the action bar is the preferred way to provide search in your app.
Activity
SearchView
Dots per inch
InputStream
31. It is an efficient and maintainable way to parse XML on Android.
Implicit intent
SurfaceHolder.Callback
XmlPullParser
Activity
32. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
Application resources
onResume();
InputStream
virtual table
33. Necessary tools to develop Android applications
Android SDK
AccountAuthenticatorActivity
Layouts
virtual table
34. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
LTE
Explicit intent
Advanced Training
setVolumeControlStream()
35. It's generally a good idea for one of your APKs to support this texture format as it is supported by all Android-powered devices that support the OpenGL ES 2.0 spec.
Dots per inch
When the activity resumes
adb
ETC1
36. Are used in activities to create the user interface and to interact with the user.
Service Content Provider
Implicit intent
AsyncTask
Fragments
37. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
BatteryManager
Implicit intent
Canvas
SearchView
38. This is used to check that you're actually connected to the Internet and what type of connection is in place.
onStop();
visible
ConnectivityManager
Serialize
39. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
OAuth2 protocol
Open Handset Alliance
onCreate() - onDestroy()
adb
40. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Canvas
Dalvik Virtual Machine
XmlPullParser
OnCurrentItemChanged
41. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
ConnectivityManager
BatteryManager
Scroller
touch
42. Binary data is shared using the ACTION_SEND action combined with setting the appropriate MIME type and placing the URI to the data in an extra named called?
Extensible Markup Language (XML)
EXTRA_STREAM
OnCurrentItemChanged
Destroyed - previous
43. is run when running Android on the pc
Advanced Training
Emulator
Google Play
AbstractAccountAuthenticator
44. It doesn't currently support the <merge/> tag in the layouts to be inflated.
ViewStub
Wi-Fi radio
onDestroy();
XmlPullParser
45. This class provides one of the simplest ways to fire off a new task from the UI thread.
onSearchRequested()
setContentView
onCreate() - onDestroy()
AsyncTask
46. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
android.hardware.touchscreen
AndroidManifest.xml
LTE
Full power
47. 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
ETC1
Intent filters
SurfaceView
48. 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 _____
ConnectivityManager
ACTION_DOCK_EVENT
onCreate() - onDestroy()
InputStream
49. 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.
AndroidManifest.xml
Ducking
PackageManager
ViewStub
50. This is the main class through which your application can access location services on Android.
LocationManager
Serialize
ETC1
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY