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. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Activity
View
SQLiteOpenHelper
Scroller
2. Sharing of data in Android is done via________
Deserialize
Stack
Service Content Provider
Geocoder
3. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
onCreate() - onDestroy()
Advanced Training
Parser
Extensible Markup Language (XML)
4. The minimal energy state during which no network connection is active or required.
Standby
AndroidManifest.xml
ACTION_DOCK_EVENT
setVolumeControlStream()
5. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
SurfaceHolder.Callback
SQLiteOpenHelper
Activity
adb
6. The visible lifetime of an activity happens between the call to ____ and the call to ______
SearchView
onCreate() - onDestroy()
security sandbox
onStart() - onStop()
7. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
PackageManager
AsyncTask
Open Handset Alliance
onDraw()
8. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
onCreate() - onDestroy()
drawBitmap()
android.hardware.touchscreen
SearchView
9. It is a subclass of PreferenceActivity.
SettingsActivity
Intents
adb
Google Play
10. The entire lifetime of an activity happens between the call to _____ and the call to _____
ShareActionProvider
onCreate() - onDestroy()
Stack - back stack
ConnectivityManager
11. Necessary tools to develop Android applications
SearchView
Advanced Training
Android SDK
adb
12. Most network-connected Android apps use this to send and receive data.
ACTION_SEND
ValueAnimator
HTTP
Open Handset Alliance
13. The helper method is used to create the final width and height values.
onDraw()
resolveSizeAndState()
SurfaceHolder.Callback
SearchView
14. Android is __________.
Entire
Destroyed - previous
Parser
Linux based
15. These helpers are specialized classes for backing up certain kinds of data.
Hierarchy Viewer
SurfaceView
Emulator
BackupHelper
16. It provides a simple way to perform your work outside the main thread.
AsyncTask
PackageManager
Google Cloud Messaging (GCM)
resolveSizeAndState()
17. An intermediate state that uses around 50% of the battery power at the full state.
Standby
BatteryManager
SearchView
Low power
18. This widget as an item in the action bar is the preferred way to provide search in your app.
onSearchRequested()
EXTRA_STREAM
SearchView
Wi-Fi radio
19. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
BackupHelper
NetworkInfo
Implicit intent
Paint
20. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Entire
Extensible Markup Language (XML)
setContentView
Emulator
21. This is the main class through which your application can access location services on Android.
LocationManager
Application footprint
SurfaceHolder.Callback
Hierarchy Viewer
22. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Back stack
Google
Application resources
Full power
23. 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
Destroyed - previous
Application footprint
Intent filters
GestureDetector
24. For example - a ____ might be a button that initiates an action when the user touches it.
View
Standby
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Widgets
25. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
Service Content Provider
Open Handset Alliance
Dalvik Virtual Machine
onAudioFocusChange()
26. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
visible
Activity
LocationManager
Widgets
27. Conversion of XML back to an object
Scroller
Deserialize
ETC1
onStop();
28. 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?
Activity
drawText()
<declare-styleable>
EXTRA_STREAM
29. It doesn't currently support the <merge/> tag in the layouts to be inflated.
BroadcastReceiver
SQLiteOpenHelper
ViewStub
BroadcastReceiver
30. This class exposes a number of methods for applications to receive location updates.
PieChart
Wi-Fi radio
getInputStream()
LocationManager
31. To create an activity - you must create a subclass of
OAuth2
Activity
single-pane
Entire
32. It is available starting with API Level 14 and higher.
ShareActionProvider
searchable configuration
onStart() - onStop()
adb
33. 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.
onSearchRequested()
Activity
Ducking
Intent filters
34. Evaluation of registered components
Implicit intent
SearchView
inflate()
OAuth2
35. Callback method: Another activity is taking focus
ViewStub
onPause();
ACTION_SEND
Hierarchy Viewer
36. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
Standby
Service Content Provider
AbstractAccountAuthenticator
ConnectivityManager
37. Whenever the device is docked or undocked - this action is broadcast.
ACTION_DOCK_EVENT
getInputStream()
Android SDK
Intents
38. You can set the layout as the UI for your activity with passing the resource ID for the layout.
onStop();
ShareActionProvider
visible
setContentView
39. This is used for the need of finer control over your view's layout parameters.
onMeasure()
BatteryManager
Dalvik Virtual Machine
security sandbox
40. If permissions are missing - the application will get this at runtime.
Activity
SecurityException
Back stack
When the activity resumes
41. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
dual-
AttributeSet
ViewStub
Hierarchy Viewer
42. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
onCreate() - onDestroy()
onStop();
onCreate() - onDestroy()
Geocoder
43. In order to get a list of accounts on the device - your app needs this permission.
GET_ACCOUNTS
Deserialize
onAudioFocusChange()
ShareActionProvider
44. This object contains an account name - which for Google accounts is an email address.
Account
Destroyed - previous
Intent filters
Google Cloud Messaging (GCM)
45. This is the most common input event in the Android system.
onDraw()
touch
SecurityException
onStop();
46. is run when running Android on the pc
Emulator
HttpURLConnection
Advanced Training
AbstractAccountAuthenticator
47. It inform the system what intents an application component is willing to accept.
Intent filters
Intents
SQLiteOpenHelper
Component - screen
48. 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.
Ducking
BroadcastReceiver
Service Content Provider
Dalvik Virtual Machine
49. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
View
Application resources
ViewStub
AudioManager
50. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
Widgets
AsyncTask
virtual table
isConnected()