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 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.
SearchView
Component - screen
drawBitmap()
Scroller
2. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
Dalvik Virtual Machine
Activity
AsyncTask
3. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Component - screen
Geocoder
SurfaceView
Intent filters
4. This class provides one of the simplest ways to fire off a new task from the UI thread.
<declare-styleable>
AsyncTask
AccountAuthenticatorActivity
SurfaceHolder.Callback
5. Callback method: Another activity is taking focus
SearchView
ValueAnimator
onPause();
Account
6. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Standby
Stack - back stack
ViewStub
Open Handset Alliance
7. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
Parser
Activity
authenticator class
View
8. It is an efficient and maintainable way to parse XML on Android.
XmlPullParser
BatteryManager
isConnected()
onDestroy();
9. Theseare a key part of Android applications that directly affect the user experience.
SQLiteOpenHelper
Layouts
ConnectivityManager
Scroller
10. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
ACTION_SEND
BroadcastReceiver
onCreate() - onDestroy()
Ducking
11. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Low power
AudioManager
android.hardware.touchscreen
ETC1
12. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
SettingsActivity
onResume();
inflate()
Full power
13. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
adb
getInputStream()
ViewStub
SurfaceHolder.Callback
14. These helpers are specialized classes for backing up certain kinds of data.
ACTION_DOCK_EVENT
touch
OAuth2
BackupHelper
15. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
searchable configuration
Objects Activity lifecycle
onResume();
Scroller
16. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Explicit intent
Lifecycle callback methods
Widgets
auth scope
17. is run when running Android on the pc
Emulator
Wi-Fi radio
Ducking
searchable configuration
18. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
Extensible Markup Language (XML)
onAudioFocusChange()
Google Cloud Messaging (GCM)
Component - screen
19. It doesn't currently support the <merge/> tag in the layouts to be inflated.
drawText()
ACTION_DOCK_EVENT
Layouts
ViewStub
20. Where Android is currently primarily developed
Google
BatteryManager
AttributeSet
Account Manager
21. To create an activity - you must create a subclass of
Scroller
Activity
ActionProvider
Google Cloud Messaging (GCM)
22. This is used to convert raw touch events into gestures.
Component - screen
visible
Advanced Training
GestureDetector
23. Use this to draw bitmaps.
drawBitmap()
setVolumeControlStream()
Open Handset Alliance
OAuth2
24. This is the most common input event in the Android system.
GestureDetector
touch
AndroidManifest.xml
SettingsActivity
25. Android request its permission using its ________
onDraw()
AndroidManifest.xml
setContentView
onCreate() - onDestroy()
26. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
OnCurrentItemChanged
ACTION_DOCK_EVENT
Linux based
Advanced Training
27. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Intents
PieChart
onStart() - onStop()
Dalvik Debug Monitor Server
28. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Dalvik Virtual Machine
Emulator
onCreate();
Objects Activity lifecycle
29. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
Google
Serialize
virtual table
AsyncTask
30. Amode where the action bar is set up with tabs for navigation.
Linux based
dual-
drawText()
Layouts
31. It made implementing an effective and user friendly share action in your ActionBar even easier.
ActionProvider
Explicit intent
PackageManager
Activity
32. If permissions are missing - the application will get this at runtime.
Activity
onDestroy();
SecurityException
onAudioFocusChange()
33. 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
adb
ConnectivityManager
OAuth2
34. Are used in activities to create the user interface and to interact with the user.
Open Handset Alliance
InputStream
Fragments
Canvas
35. This is used to fetch the account names that the user has stored on their device.
Account Manager
ConnectivityManager
inflate()
BackupHelper
36. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
BroadcastReceiver
onDraw()
ActionProvider
<declare-styleable>
37. Direct component call in Android
AbstractAccountAuthenticator
SQLite
Scroller
Explicit intent
38. The industry standard way to deal with authentication to third-party services.
View
Android SDK
Google
OAuth2 protocol
39. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Activity
Google Cloud Messaging for Android (GCM)
AsyncTask
Account
40. This is a readable source of bytes.
Activity
InputStream
Google Cloud Messaging for Android (GCM)
EXTRA_STREAM
41. This can be used to draw previews of what the camera sensor is picking up.
HttpURLConnection
android.hardware.touchscreen
SurfaceView
NetworkInfo
42. This class is the basis for handling flywheel-style fling gestures.
Intent filters
Scroller
Ducking
onDraw()
43. In most cases this will offer greater bandwidth at a significantly lower battery cost.
onMeasure()
Wi-Fi radio
AsyncTask
Parser
44. 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.
View
single-pane
Back stack
Activity
45. The visible lifetime of an activity happens between the call to ____ and the call to ______
XmlPullParser
onStart() - onStop()
SQLite
Account
46. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
onCreate();
virtual table
ACTION_DOCK_EVENT
ConnectivityManager
47. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
AsyncTask
onCreate() - onDestroy()
HttpURLConnection
48. Android system uses a special virtual machine to run java based applicatons
onSearchRequested()
onStart() - onStop()
Dalvik Virtual Machine
SurfaceView
49. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
Scroller
Parser
Android SDK
BatteryManager
50. 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?
Layouts
AttributeSet
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Account Manager