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 available starting with API Level 14 and higher.
ShareActionProvider
LTE
Google Play
SearchView
2. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
BackupHelper
Full power
PieChart
onStop();
3. This includes tools to help you identify problems in your layout performance.
Google Cloud Messaging (GCM)
Android SDK
Layouts
AsyncTask
4. is run when running Android on the pc
Intent filters
Emulator
View
Destroyed - previous
5. The dock-state details are included as an extra in a sticky broadcast of this action.
setVolumeControlStream()
setContentView
When the activity resumes
ACTION_DOCK_EVENT
6. This is used for the need of finer control over your view's layout parameters.
Lifecycle callback methods
onMeasure()
Low power
security sandbox
7. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
onDraw()
Parser
setContentView
SettingsActivity
8. It is a string that defines the specific type of access your app is asking for.
auth scope
ViewStub
Parser
dual-
9. You can set the layout as the UI for your activity with passing the resource ID for the layout.
ViewStub
setContentView
dual-
Advanced Training
10. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
onMeasure()
Scroller
Service Content Provider
Linux based
11. The helper method is used to create the final width and height values.
ActionProvider
Layouts
resolveSizeAndState()
ViewStub
12. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
AccountAuthenticatorActivity
View
SQLiteOpenHelper
onCreate() - onDestroy()
13. This widget as an item in the action bar is the preferred way to provide search in your app.
Geocoder
Component - screen
SearchView
ActionProvider
14. 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 ___ .
Stack
onPause();
Hierarchy Viewer
Component - screen
15. This class provides one of the simplest ways to fire off a new task from the UI thread.
LocationManager
AudioManager
AsyncTask
Google Cloud Messaging (GCM)
16. This class is the basis for handling flywheel-style fling gestures.
Google Play
Scroller
Component - screen
ACTION_DOCK_EVENT
17. An intermediate state that uses around 50% of the battery power at the full state.
onCreate();
Emulator
HttpURLConnection
Low power
18. It doesn't currently support the <merge/> tag in the layouts to be inflated.
ViewStub
AudioManager
Explicit intent
NetworkInfo
19. Android provides this handy method to direct volume key presses to the audio stream the user specify.
onMeasure()
setVolumeControlStream()
drawBitmap()
SQLiteOpenHelper
20. To define custom attributes - add this resources to your project.
<declare-styleable>
setVolumeControlStream()
Scroller
OAuth2
21. 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
Extensible Markup Language (XML)
BatteryManager
auth scope
Destroyed - previous
22. This is used to register and de-register your media button event receiver.
single-pane
AudioManager
OnCurrentItemChanged
AttributeSet
23. 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
BatteryManager
PackageManager
single-pane
auth scope
24. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
Paint
BatteryManager
LocationManager
AccountAuthenticatorActivity
25. This is used to convert raw touch events into gestures.
GestureDetector
isConnected()
Service Content Provider
dual-
26. If permissions are missing - the application will get this at runtime.
Geocoder
SecurityException
ConnectivityManager
BackupHelper
27. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Emulator
ACTION_DOCK_EVENT
onCreate() - onDestroy()
android.hardware.touchscreen
28. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Geocoder
OnCurrentItemChanged
Serialize
Ducking
29. Converts XML Document to XML DOM
visible
SearchView
Parser
getInputStream()
30. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
NetworkInfo
dual-
onMeasure()
Layouts
31. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
When the activity resumes
touch
Standby
Activity
32. Conversion of XML back to an object
Deserialize
Account Manager
SQLiteOpenHelper
onAudioFocusChange()
33. To create an activity - you must create a subclass of
Activity
inflate()
ACTION_DOCK_EVENT
Standby
34. 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
ValueAnimator
Account Manager
SettingsActivity
Component - screen
35. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
ViewStub
searchable configuration
BatteryManager
visible
36. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
PieChart
ETC1
authenticator class
InputStream
37. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Application footprint
BroadcastReceiver
SQLiteOpenHelper
Lifecycle callback methods
38. In most cases this will offer greater bandwidth at a significantly lower battery cost.
ValueAnimator
Canvas
Wi-Fi radio
Account Manager
39. Use this to draw text.
onAudioFocusChange()
Widgets
single-pane
drawText()
40. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
Lifecycle callback methods
ACTION_DOCK_EVENT
Google Cloud Messaging (GCM)
ViewStub
41. This can be used to draw previews of what the camera sensor is picking up.
AsyncTask
Emulator
SurfaceView
onMeasure()
42. Evaluation of registered components
Dots per inch
Implicit intent
When the activity resumes
adb
43. An open source group led by Google
Serialize
Application resources
onDraw()
Open Handset Alliance
44. It is called to invoke the search dialog on older devices.
ConnectivityManager
Emulator
XmlPullParser
onSearchRequested()
45. The industry standard way to deal with authentication to third-party services.
AsyncTask
BackupHelper
OAuth2 protocol
onStop();
46. It made implementing an effective and user friendly share action in your ActionBar even easier.
BackupHelper
ActionProvider
Entire
View
47. For example - if your activity has a thread running in the background to download data from the network - it might create that thread in _____ and then stop the thread in _____
onCreate() - onDestroy()
SearchView
Stack
Back stack
48. This is used to check that you're actually connected to the Internet and what type of connection is in place.
visible
Objects Activity lifecycle
ConnectivityManager
SearchView
49. These helpers are specialized classes for backing up certain kinds of data.
GET_ACCOUNTS
Activity
Objects Activity lifecycle
BackupHelper
50. Allow to combine loosely coupled components to perform certain tasks
virtual table
Application footprint
ACTION_SEND
Intents