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. In order to get a list of accounts on the device - your app needs this permission.
GET_ACCOUNTS
Implicit intent
ValueAnimator
AbstractAccountAuthenticator
2. Android provides this handy method to direct volume key presses to the audio stream the user specify.
Service Content Provider
virtual table
setVolumeControlStream()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
3. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
security sandbox
SurfaceHolder.Callback
android.hardware.touchscreen
onStop();
4. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
Dalvik Debug Monitor Server
SearchView
When the activity resumes
EXTRA_STREAM
5. Where Android is currently primarily developed
onAudioFocusChange()
Activity
Google
Layouts
6. It provides a simple way to perform your work outside the main thread.
Standby
onStop();
AsyncTask
setContentView
7. When a new activity starts - it is pushed onto the ____ and takes user focus.
SearchView
Dalvik Debug Monitor Server
Back stack
Advanced Training
8. A mode where navigation is set up with a spinner widget.
single-pane
AsyncTask
BatteryManager
SearchView
9. This is used to convert raw touch events into gestures.
ETC1
drawText()
Implicit intent
GestureDetector
10. 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 ___ .
Emulator
Application footprint
Stack
Google Play
11. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
BroadcastReceiver
virtual table
adb
SettingsActivity
12. It made implementing an effective and user friendly share action in your ActionBar even easier.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Serialize
BroadcastReceiver
ActionProvider
13. 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.
Objects Activity lifecycle
ETC1
AsyncTask
auth scope
14. It inform the system what intents an application component is willing to accept.
drawBitmap()
Google Play
Intent filters
Activity
15. Relative to pixels and resolution screen
SecurityException
View
Dots per inch
OAuth2
16. This class provides one of the simplest ways to fire off a new task from the UI thread.
SecurityException
AsyncTask
ActionProvider
Activity
17. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
Lifecycle callback methods
View
LocationManager
Entire
18. It doesn't currently support the <merge/> tag in the layouts to be inflated.
SettingsActivity
onPause();
onStop();
ViewStub
19. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
ACTION_DOCK_EVENT
Lifecycle callback methods
BackupHelper
ETC1
20. Necessary tools to develop Android applications
Fragments
Android SDK
Intents
Services
21. 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.
AsyncTask
AndroidManifest.xml
Ducking
Google Cloud Messaging for Android (GCM)
22. 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?
OAuth2 protocol
BatteryManager
Hierarchy Viewer
EXTRA_STREAM
23. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
ShareActionProvider
onDestroy();
isConnected()
Scroller
24. Callback method: The activity is no longer visible.
onCreate();
BroadcastReceiver
Component - screen
onStop();
25. It is a subclass of PreferenceActivity.
When the activity resumes
Google Cloud Messaging for Android (GCM)
Destroyed - previous
SettingsActivity
26. In most cases this will offer greater bandwidth at a significantly lower battery cost.
HttpURLConnection
PieChart
BatteryManager
Wi-Fi radio
27. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
visible
Layouts
inflate()
Scroller
28. It is an efficient and maintainable way to parse XML on Android.
OAuth2
Implicit intent
onStop();
XmlPullParser
29. It is used to toggle the enabled state on any component defined in the manifest - including whichever broadcast receivers you wish to enable or disable
AsyncTask
InputStream
SQLiteOpenHelper
PackageManager
30. This class is the basis for handling flywheel-style fling gestures.
PieChart
NetworkInfo
Scroller
Advanced Training
31. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
onAudioFocusChange()
onDestroy();
Layouts
NetworkInfo
32. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Application resources
Google Play
ValueAnimator
Layouts
33. An open source group led by Google
SQLiteOpenHelper
searchable configuration
setVolumeControlStream()
Open Handset Alliance
34. This can be used to draw previews of what the camera sensor is picking up.
onCreate() - onDestroy()
SurfaceView
searchable configuration
Account
35. Perform background tasks without providing a user interface
Services
Application resources
Layouts
Low power
36. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
adb
View
Wi-Fi radio
onCreate() - onDestroy()
37. The dock-state details are included as an extra in a sticky broadcast of this action.
Service Content Provider
onSearchRequested()
ACTION_DOCK_EVENT
touch
38. 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.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Activity
OnCurrentItemChanged
ValueAnimator
39. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
HttpURLConnection
SearchView
PackageManager
Dalvik Debug Monitor Server
40. This is used to register and de-register your media button event receiver.
Deserialize
AudioManager
Entire
Parser
41. For example - a ____ might be a button that initiates an action when the user touches it.
View
onAudioFocusChange()
SurfaceHolder.Callback
Service Content Provider
42. It is available starting with API Level 14 and higher.
BroadcastReceiver
ShareActionProvider
Application footprint
LocationManager
43. Once installed on a device - each Android application lives in its own ______
security sandbox
getInputStream()
BatteryManager
AsyncTask
44. Shows the actual amount of memory the application uses
ActionProvider
Application footprint
ACTION_DOCK_EVENT
onPause();
45. Android request its permission using its ________
Account Manager
Google Play
AndroidManifest.xml
onDestroy();
46. This is the main class through which your application can access location services on Android.
SQLite
LocationManager
Dalvik Debug Monitor Server
onSearchRequested()
47. 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?
onStart() - onStop()
setContentView
Widgets
AttributeSet
48. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
LocationManager
onDestroy();
AbstractAccountAuthenticator
Service Content Provider
49. A styleable entity that contains these two custom attributes: showText and labelPosition.
Activity
onStop();
Standby
PieChart
50. 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
onCreate();
Entire
ViewStub
Destroyed - previous