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. It is called to invoke the search dialog on older devices.
LTE
onSearchRequested()
AbstractAccountAuthenticator
Application footprint
2. Android request its permission using its ________
Open Handset Alliance
AccountAuthenticatorActivity
AndroidManifest.xml
Emulator
3. 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.
SettingsActivity
Low power
LocationManager
SearchView
4. Callback method: The activity is about to be destroyed.
touch
View
authenticator class
onDestroy();
5. To create an activity - you must create a subclass of
Activity
OAuth2
BackupHelper
ShareActionProvider
6. Use this to draw bitmaps.
onCreate();
SQLiteOpenHelper
drawBitmap()
searchable configuration
7. It made implementing an effective and user friendly share action in your ActionBar even easier.
Linux based
Stack - back stack
virtual table
ActionProvider
8. This class exposes a number of methods for applications to receive location updates.
SQLiteOpenHelper
<declare-styleable>
LocationManager
Implicit intent
9. The entire lifetime of an activity happens between the call to _____ and the call to _____
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Layouts
SearchView
onCreate() - onDestroy()
10. Are used in activities to create the user interface and to interact with the user.
Fragments
setContentView
Account Manager
Full power
11. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
EXTRA_STREAM
Services
resolveSizeAndState()
Google Cloud Messaging for Android (GCM)
12. A service in which programmers can offer their Android application to Android users.
ConnectivityManager
Google Play
LocationManager
Services
13. The dock-state details are included as an extra in a sticky broadcast of this action.
ACTION_DOCK_EVENT
onCreate() - onDestroy()
PackageManager
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
14. On a rooted device - the credentials would be readable by anyone with this access to the device.
onResume();
adb
Application footprint
BatteryManager
15. Relative to pixels and resolution screen
BroadcastReceiver
GET_ACCOUNTS
Destroyed - previous
Dots per inch
16. 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 ___ .
adb
Stack
Application footprint
ACTION_SEND
17. The minimal energy state during which no network connection is active or required.
Android SDK
onCreate() - onDestroy()
Standby
drawText()
18. It is a subclass of PreferenceActivity.
BackupHelper
Google Cloud Messaging (GCM)
AccountAuthenticatorActivity
SettingsActivity
19. Evaluation of registered components
Implicit intent
Application resources
Back stack
onAudioFocusChange()
20. Sharing of data in Android is done via________
ValueAnimator
Service Content Provider
ETC1
onAudioFocusChange()
21. It is used to load images in a background thread - then apply them to the UI once finished.
ACTION_SEND
AsyncTask
Intents
Scroller
22. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
Stack
NetworkInfo
BroadcastReceiver
inflate()
23. This is used to register and de-register your media button event receiver.
Lifecycle callback methods
Wi-Fi radio
AudioManager
EXTRA_STREAM
24. This is the main class through which your application can access location services on Android.
LocationManager
ACTION_SEND
Application footprint
getInputStream()
25. When a new activity starts - it is pushed onto the ____ and takes user focus.
ActionProvider
onStop();
Back stack
Deserialize
26. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Ducking
Hierarchy Viewer
InputStream
Layouts
27. 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
When the activity resumes
Account
PackageManager
Dots per inch
28. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
SurfaceView
Standby
ViewStub
PackageManager
29. This broadcasts an action whenever the device is connected or disconnected from power.
SettingsActivity
BatteryManager
View
LocationManager
30. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
NetworkInfo
AbstractAccountAuthenticator
OAuth2
View
31. It is a free service for sending messages to Android devices.
Android SDK
onCreate() - onDestroy()
Google Cloud Messaging (GCM)
BroadcastReceiver
32. Callback method: Another activity is taking focus
onCreate() - onDestroy()
Ducking
View
onPause();
33. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Geocoder
onCreate() - onDestroy()
Service Content Provider
Application resources
34. Allow to combine loosely coupled components to perform certain tasks
ACTION_SEND
Parser
Intents
BackupHelper
35. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
visible
PackageManager
getInputStream()
Extensible Markup Language (XML)
36. This is the simplest way to monitor device state changes.
Activity
BatteryManager
Google Play
BroadcastReceiver
37. An open source stand alone database
ACTION_SEND
NetworkInfo
SQLite
Component - screen
38. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
Linux based
Emulator
onCreate() - onDestroy()
AccountAuthenticatorActivity
39. It doesn't currently support the <merge/> tag in the layouts to be inflated.
ViewStub
Entire
SQLite
setVolumeControlStream()
40. This class is the basis for handling flywheel-style fling gestures.
Serialize
OAuth2
BroadcastReceiver
Scroller
41. Android is __________.
Objects Activity lifecycle
Linux based
Open Handset Alliance
SurfaceView
42. 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?
SurfaceHolder.Callback
Extensible Markup Language (XML)
authenticator class
AttributeSet
43. You can set the layout as the UI for your activity with passing the resource ID for the layout.
setContentView
security sandbox
single-pane
<declare-styleable>
44. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
Full power
View
android.hardware.touchscreen
PackageManager
45. 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.
auth scope
Emulator
Activity
adb
46. Most network-connected Android apps use this to send and receive data.
touch
HTTP
resolveSizeAndState()
Activity
47. This is used to convert raw touch events into gestures.
GET_ACCOUNTS
inflate()
GestureDetector
Services
48. This widget as an item in the action bar is the preferred way to provide search in your app.
SQLite
SearchView
ACTION_DOCK_EVENT
AttributeSet
49. This is an interface which is used to pass image data from the camera hardware to the application.
LocationManager
HTTP
SurfaceHolder.Callback
dual-
50. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
Back stack
isConnected()
Open Handset Alliance
OAuth2