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. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Advanced Training
SQLite
Layouts
Services
2. Perform background tasks without providing a user interface
inflate()
setVolumeControlStream()
Google Cloud Messaging for Android (GCM)
Services
3. 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.
AsyncTask
Component - screen
SearchView
Scroller
4. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Canvas
Back stack
onResume();
Dalvik Virtual Machine
5. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
Application resources
setVolumeControlStream()
ViewStub
Activity
6. 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
onDraw()
Component - screen
View
AsyncTask
7. This is set up to animate for the duration of the fling.
ValueAnimator
Android SDK
AsyncTask
AudioManager
8. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
onAudioFocusChange()
Activity
Advanced Training
BatteryManager
9. Conversion of an object to XML
Serialize
LTE
AbstractAccountAuthenticator
SecurityException
10. Use this to draw text.
onAudioFocusChange()
Objects Activity lifecycle
BackupHelper
drawText()
11. Conversion of XML back to an object
resolveSizeAndState()
Google Cloud Messaging (GCM)
getInputStream()
Deserialize
12. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
HTTP
onSearchRequested()
Layouts
isConnected()
13. This is the most common input event in the Android system.
touch
Android SDK
ShareActionProvider
Standby
14. On a rooted device - the credentials would be readable by anyone with this access to the device.
onStop();
Ducking
Explicit intent
adb
15. This includes tools to help you identify problems in your layout performance.
Standby
GET_ACCOUNTS
Service Content Provider
Android SDK
16. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
Widgets
XmlPullParser
AbstractAccountAuthenticator
Paint
17. This broadcasts an action whenever the device is connected or disconnected from power.
Hierarchy Viewer
BatteryManager
ConnectivityManager
Service Content Provider
18. Android provides this handy method to direct volume key presses to the audio stream the user specify.
Serialize
setVolumeControlStream()
Activity
adb
19. This object contains an account name - which for Google accounts is an email address.
onDraw()
Account
GestureDetector
visible
20. It made implementing an effective and user friendly share action in your ActionBar even easier.
LocationManager
GestureDetector
SearchView
ActionProvider
21. Allow to combine loosely coupled components to perform certain tasks
Intents
AccountAuthenticatorActivity
ValueAnimator
BroadcastReceiver
22. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
onSearchRequested()
Geocoder
searchable configuration
onCreate();
23. To create an activity - you must create a subclass of
Activity
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Application resources
Intents
24. It is called to invoke the search dialog on older devices.
AccountAuthenticatorActivity
Explicit intent
Objects Activity lifecycle
onSearchRequested()
25. This class is the basis for handling flywheel-style fling gestures.
Geocoder
SettingsActivity
Ducking
Scroller
26. Callback method: Another activity is taking focus
Serialize
SettingsActivity
onPause();
getInputStream()
27. Relative to pixels and resolution screen
LocationManager
SearchView
Dots per inch
BroadcastReceiver
28. It is a string that defines the specific type of access your app is asking for.
onStop();
Fragments
auth scope
onSearchRequested()
29. The helper method is used to create the final width and height values.
resolveSizeAndState()
onStart() - onStop()
Application resources
onDraw()
30. 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
AbstractAccountAuthenticator
AttributeSet
Android SDK
31. This class provides one of the simplest ways to fire off a new task from the UI thread.
Widgets
Dalvik Debug Monitor Server
adb
AsyncTask
32. Once installed on a device - each Android application lives in its own ______
authenticator class
onDestroy();
security sandbox
Service Content Provider
33. The dock-state details are included as an extra in a sticky broadcast of this action.
BatteryManager
ViewStub
SQLite
ACTION_DOCK_EVENT
34. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
View
onStart() - onStop()
touch
GET_ACCOUNTS
35. The entire lifetime of an activity happens between the call to _____ and the call to _____
Stack
XmlPullParser
OAuth2
onCreate() - onDestroy()
36. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
Intent filters
adb
ViewStub
37. Android system uses a special virtual machine to run java based applicatons
onResume();
Dalvik Virtual Machine
BackupHelper
ACTION_DOCK_EVENT
38. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
BackupHelper
Android SDK
Scroller
SQLiteOpenHelper
39. It is a free service for sending messages to Android devices.
onStart() - onStop()
Google Cloud Messaging (GCM)
Scroller
ACTION_SEND
40. 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.
ConnectivityManager
setContentView
ViewStub
ETC1
41. These helpers are specialized classes for backing up certain kinds of data.
Stack
onCreate() - onDestroy()
auth scope
BackupHelper
42. This widget as an item in the action bar is the preferred way to provide search in your app.
Activity
ETC1
AttributeSet
SearchView
43. Callback method: The activity is being created.
onCreate();
security sandbox
AsyncTask
ShareActionProvider
44. When a new activity starts - it is pushed onto the ____ and takes user focus.
Stack - back stack
onSearchRequested()
BroadcastReceiver
Back stack
45. This is used for the need of finer control over your view's layout parameters.
ViewStub
onMeasure()
onCreate();
drawText()
46. It is a subclass of PreferenceActivity.
SettingsActivity
onResume();
Android SDK
resolveSizeAndState()
47. It doesn't currently support the <merge/> tag in the layouts to be inflated.
ViewStub
resolveSizeAndState()
isConnected()
dual-
48. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
SurfaceHolder.Callback
Hierarchy Viewer
onDestroy();
BatteryManager
49. Whenever the device is docked or undocked - this action is broadcast.
ACTION_DOCK_EVENT
Activity
OAuth2
security sandbox
50. A styleable entity that contains these two custom attributes: showText and labelPosition.
ViewStub
Paint
Scroller
PieChart