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. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
ConnectivityManager
AccountAuthenticatorActivity
ACTION_SEND
getInputStream()
2. These helpers are specialized classes for backing up certain kinds of data.
single-pane
ValueAnimator
Scroller
BackupHelper
3. Allow to combine loosely coupled components to perform certain tasks
searchable configuration
Intent filters
Intents
Google
4. This is used for the need of finer control over your view's layout parameters.
ActionProvider
When the activity resumes
onMeasure()
onResume();
5. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
BroadcastReceiver
onCreate();
onStart() - onStop()
Android SDK
6. Callback method: Another activity is taking focus
Google Play
SearchView
OAuth2
onPause();
7. Use this to draw bitmaps.
EXTRA_STREAM
drawBitmap()
GestureDetector
Lifecycle callback methods
8. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
onCreate() - onDestroy()
onDraw()
drawBitmap()
visible
9. Direct component call in Android
Back stack
Explicit intent
onDestroy();
onCreate() - onDestroy()
10. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
Layouts
isConnected()
onResume();
AbstractAccountAuthenticator
11. It is used to load images in a background thread - then apply them to the UI once finished.
Linux based
EXTRA_STREAM
onStart() - onStop()
AsyncTask
12. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Activity
AsyncTask
Full power
PackageManager
13. It is called to invoke the search dialog on older devices.
SurfaceHolder.Callback
View
android.hardware.touchscreen
onSearchRequested()
14. The minimal energy state during which no network connection is active or required.
SearchView
Standby
HttpURLConnection
BatteryManager
15. The industry standard way to deal with authentication to third-party services.
onResume();
touch
Open Handset Alliance
OAuth2 protocol
16. 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.
Component - screen
virtual table
ETC1
ActionProvider
17. Where Android is currently primarily developed
Full power
Activity
Google
LocationManager
18. When a new activity starts - it is pushed onto the ____ and takes user focus.
Stack
Back stack
AsyncTask
Services
19. Whenever the device is docked or undocked - this action is broadcast.
onSearchRequested()
Serialize
ACTION_DOCK_EVENT
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
20. Android provides this handy method to direct volume key presses to the audio stream the user specify.
Low power
BackupHelper
setVolumeControlStream()
LocationManager
21. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
View
LocationManager
Geocoder
SecurityException
22. Relative to pixels and resolution screen
onSearchRequested()
Dalvik Virtual Machine
isConnected()
Dots per inch
23. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
Account
Ducking
searchable configuration
onCreate() - onDestroy()
24. Amode where the action bar is set up with tabs for navigation.
Emulator
GET_ACCOUNTS
Advanced Training
dual-
25. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Google
onStart() - onStop()
Stack - back stack
NetworkInfo
26. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
NetworkInfo
SettingsActivity
OnCurrentItemChanged
AbstractAccountAuthenticator
27. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
LocationManager
ValueAnimator
onAudioFocusChange()
AbstractAccountAuthenticator
28. This is the main class through which your application can access location services on Android.
LocationManager
ConnectivityManager
isConnected()
SearchView
29. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Application footprint
Paint
ACTION_DOCK_EVENT
OnCurrentItemChanged
30. Callback method: The activity is no longer visible
onStop();
AsyncTask
Activity
Serialize
31. Sharing of data in Android is done via________
AsyncTask
Service Content Provider
BroadcastReceiver
searchable configuration
32. This class exposes a number of methods for applications to receive location updates.
Google Cloud Messaging (GCM)
View
LocationManager
NetworkInfo
33. This is the most common input event in the Android system.
Application footprint
touch
onMeasure()
Dots per inch
34. It inform the system what intents an application component is willing to accept.
Linux based
onAudioFocusChange()
Intent filters
BroadcastReceiver
35. Perform background tasks without providing a user interface
Layouts
Services
EXTRA_STREAM
SearchView
36. 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.
drawBitmap()
Objects Activity lifecycle
onAudioFocusChange()
Activity
37. Evaluation of registered components
Linux based
Implicit intent
Extensible Markup Language (XML)
Intent filters
38. An open source group led by Google
ConnectivityManager
Dalvik Debug Monitor Server
Open Handset Alliance
GestureDetector
39. A mode where navigation is set up with a spinner widget.
ShareActionProvider
Dalvik Virtual Machine
BatteryManager
single-pane
40. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Full power
Layouts
Account Manager
ShareActionProvider
41. Once installed on a device - each Android application lives in its own ______
OAuth2 protocol
Account Manager
security sandbox
android.hardware.touchscreen
42. A styleable entity that contains these two custom attributes: showText and labelPosition.
PieChart
ConnectivityManager
BroadcastReceiver
onCreate() - onDestroy()
43. The entire lifetime of an activity happens between the call to _____ and the call to _____
Activity
onCreate() - onDestroy()
SurfaceView
Open Handset Alliance
44. To create an activity - you must create a subclass of
Activity
Application footprint
onDestroy();
LTE
45. This widget as an item in the action bar is the preferred way to provide search in your app.
OAuth2 protocol
ConnectivityManager
SearchView
Deserialize
46. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
PieChart
isConnected()
AsyncTask
Application footprint
47. This is a readable source of bytes.
InputStream
onAudioFocusChange()
Emulator
Hierarchy Viewer
48. It is an efficient and maintainable way to parse XML on Android.
XmlPullParser
onCreate();
Implicit intent
Dalvik Virtual Machine
49. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
ACTION_DOCK_EVENT
AsyncTask
BackupHelper
Dalvik Debug Monitor Server
50. This is set up to animate for the duration of the fling.
ValueAnimator
Stack
resolveSizeAndState()
ACTION_SEND