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 industry standard way to deal with authentication to third-party services.
Ducking
searchable configuration
OAuth2 protocol
BroadcastReceiver
2. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
visible
Hierarchy Viewer
AsyncTask
SQLite
3. If permissions are missing - the application will get this at runtime.
AbstractAccountAuthenticator
SurfaceHolder.Callback
onCreate() - onDestroy()
SecurityException
4. This class exposes a number of methods for applications to receive location updates.
SettingsActivity
onResume();
LocationManager
Dalvik Virtual Machine
5. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Fragments
SettingsActivity
Application resources
android.hardware.touchscreen
6. Shows the actual amount of memory the application uses
Dalvik Virtual Machine
Application footprint
Google Cloud Messaging (GCM)
authenticator class
7. This is used to register and de-register your media button event receiver.
AttributeSet
onDestroy();
SQLiteOpenHelper
AudioManager
8. This class is the basis for handling flywheel-style fling gestures.
adb
onCreate();
android.hardware.touchscreen
Scroller
9. Amode where the action bar is set up with tabs for navigation.
ACTION_DOCK_EVENT
Stack
GestureDetector
dual-
10. It made implementing an effective and user friendly share action in your ActionBar even easier.
When the activity resumes
virtual table
ActionProvider
Open Handset Alliance
11. 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.
Activity
ACTION_DOCK_EVENT
OAuth2
getInputStream()
12. Callback method: The activity has become visible.
security sandbox
onResume();
onCreate() - onDestroy()
AsyncTask
13. Most network-connected Android apps use this to send and receive data.
auth scope
View
PackageManager
HTTP
14. Sharing of data in Android is done via________
onStart() - onStop()
Geocoder
Service Content Provider
Intents
15. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
Geocoder
isConnected()
LocationManager
SurfaceHolder.Callback
16. This is used to convert raw touch events into gestures.
Google
onCreate();
Service Content Provider
GestureDetector
17. 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
ConnectivityManager
PackageManager
BroadcastReceiver
authenticator class
18. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
AttributeSet
BackupHelper
Google Cloud Messaging for Android (GCM)
BroadcastReceiver
19. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
onStop();
Stack - back stack
OAuth2 protocol
XmlPullParser
20. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
BroadcastReceiver
Fragments
getInputStream()
Deserialize
21. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
inflate()
setVolumeControlStream()
Scroller
Ducking
22. This object contains an account name - which for Google accounts is an email address.
AndroidManifest.xml
Widgets
Google
Account
23. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
SQLiteOpenHelper
ACTION_DOCK_EVENT
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Implicit intent
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.
XmlPullParser
SearchView
Fragments
Hierarchy Viewer
25. In order to get a list of accounts on the device - your app needs this permission.
Objects Activity lifecycle
LocationManager
GET_ACCOUNTS
onCreate();
26. This is the simplest way to monitor device state changes.
Intent filters
ACTION_DOCK_EVENT
BroadcastReceiver
Hierarchy Viewer
27. This can be used to draw previews of what the camera sensor is picking up.
single-pane
SurfaceView
Lifecycle callback methods
Open Handset Alliance
28. This is used to fetch the account names that the user has stored on their device.
single-pane
getInputStream()
Account Manager
BroadcastReceiver
29. Android provides this handy method to direct volume key presses to the audio stream the user specify.
ACTION_SEND
setVolumeControlStream()
virtual table
BroadcastReceiver
30. This class provides one of the simplest ways to fire off a new task from the UI thread.
Android SDK
touch
AsyncTask
searchable configuration
31. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
NetworkInfo
Extensible Markup Language (XML)
Intents
Advanced Training
32. Callback method: The activity is about to be destroyed.
onSearchRequested()
Back stack
onDestroy();
Component - screen
33. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
BatteryManager
android.hardware.touchscreen
Extensible Markup Language (XML)
Dalvik Debug Monitor Server
34. Allow to combine loosely coupled components to perform certain tasks
Linux based
setContentView
Intents
Dalvik Virtual Machine
35. This action is used in sending text content from one activity to another.
ACTION_SEND
Explicit intent
Destroyed - previous
GestureDetector
36. It is a string that defines the specific type of access your app is asking for.
auth scope
SQLiteOpenHelper
BroadcastReceiver
Advanced Training
37. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Wi-Fi radio
onCreate() - onDestroy()
OnCurrentItemChanged
SettingsActivity
38. It is used to load images in a background thread - then apply them to the UI once finished.
Google Cloud Messaging (GCM)
AsyncTask
View
onCreate() - onDestroy()
39. This is the main class through which your application can access location services on Android.
Geocoder
LocationManager
Component - screen
BroadcastReceiver
40. Theseare a key part of Android applications that directly affect the user experience.
Layouts
ConnectivityManager
onStop();
virtual table
41. 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
Component - screen
OAuth2
Open Handset Alliance
Wi-Fi radio
42. is run when running Android on the pc
SQLiteOpenHelper
touch
GestureDetector
Emulator
43. On a rooted device - the credentials would be readable by anyone with this access to the device.
Linux based
adb
Geocoder
onStart() - onStop()
44. Evaluation of registered components
security sandbox
Geocoder
SearchView
Implicit intent
45. ______ are views derived from ViewGroup that provide a unique layout model for its child views
SurfaceHolder.Callback
Deserialize
Layouts
EXTRA_STREAM
46. It provides a simple way to perform your work outside the main thread.
AsyncTask
ETC1
Advanced Training
Extensible Markup Language (XML)
47. An open source group led by Google
Intents
getInputStream()
Objects Activity lifecycle
Open Handset Alliance
48. This is used to check that you're actually connected to the Internet and what type of connection is in place.
onStop();
LocationManager
ConnectivityManager
SettingsActivity
49. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
PieChart
ConnectivityManager
OnCurrentItemChanged
AttributeSet
50. Android system uses a special virtual machine to run java based applicatons
Back stack
Dalvik Virtual Machine
Component - screen
Extensible Markup Language (XML)