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 a free service for sending messages to Android devices.
Google Cloud Messaging (GCM)
Extensible Markup Language (XML)
ETC1
SurfaceHolder.Callback
2. This is a readable source of bytes.
InputStream
Service Content Provider
Entire
AndroidManifest.xml
3. ______ are views derived from ViewGroup that provide a unique layout model for its child views
onStart() - onStop()
ShareActionProvider
Layouts
SettingsActivity
4. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Service Content Provider
AsyncTask
SearchView
Hierarchy Viewer
5. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Open Handset Alliance
ValueAnimator
Geocoder
View
6. To define custom attributes - add this resources to your project.
Entire
ConnectivityManager
<declare-styleable>
OAuth2
7. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
Google Play
HttpURLConnection
Google
LocationManager
8. These helpers are specialized classes for backing up certain kinds of data.
Component - screen
PieChart
BackupHelper
single-pane
9. Evaluation of registered components
onAudioFocusChange()
auth scope
AndroidManifest.xml
Implicit intent
10. Represents the visual representation of an Android application
onMeasure()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
AccountAuthenticatorActivity
Activity
11. 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.
ETC1
Dots per inch
Scroller
drawBitmap()
12. For example - a ____ might be a button that initiates an action when the user touches it.
Account Manager
auth scope
Scroller
View
13. Android request its permission using its ________
OnCurrentItemChanged
AndroidManifest.xml
Google Cloud Messaging for Android (GCM)
Standby
14. The helper method is used to create the final width and height values.
resolveSizeAndState()
Google Cloud Messaging for Android (GCM)
isConnected()
ViewStub
15. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Stack - back stack
Open Handset Alliance
BroadcastReceiver
ShareActionProvider
16. This is used to register and de-register your media button event receiver.
AudioManager
onMeasure()
Standby
GET_ACCOUNTS
17. Callback method: The activity is no longer visible
onStop();
SQLiteOpenHelper
<declare-styleable>
ETC1
18. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
drawBitmap()
onCreate() - onDestroy()
inflate()
Deserialize
19. In order to get a list of accounts on the device - your app needs this permission.
GET_ACCOUNTS
drawBitmap()
onStop();
Application footprint
20. If permissions are missing - the application will get this at runtime.
LocationManager
onPause();
SecurityException
Account
21. It provides a single value - called an auth token that represents both the user's identity and the application's authorization to act on the user's behalf.
OAuth2
SurfaceView
ViewStub
Back stack
22. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Dalvik Debug Monitor Server
onDestroy();
Geocoder
LocationManager
23. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Destroyed - previous
SQLite
HTTP
Entire
24. 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
Stack - back stack
onStart() - onStop()
PackageManager
Canvas
25. Are used in activities to create the user interface and to interact with the user.
Stack
visible
Fragments
AbstractAccountAuthenticator
26. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
onCreate() - onDestroy()
ConnectivityManager
onDraw()
XmlPullParser
27. 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.
setContentView
SearchView
BatteryManager
Services
28. Whenever the device is docked or undocked - this action is broadcast.
ActionProvider
AsyncTask
ACTION_DOCK_EVENT
single-pane
29. It doesn't currently support the <merge/> tag in the layouts to be inflated.
ShareActionProvider
onCreate() - onDestroy()
Extensible Markup Language (XML)
ViewStub
30. This class is the basis for handling flywheel-style fling gestures.
Scroller
AccountAuthenticatorActivity
AsyncTask
onCreate() - onDestroy()
31. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
android.hardware.touchscreen
Activity
PackageManager
Standby
32. This object contains an account name - which for Google accounts is an email address.
ACTION_DOCK_EVENT
Widgets
single-pane
Account
33. Callback method: The activity is no longer visible.
OAuth2 protocol
ActionProvider
SurfaceHolder.Callback
onStop();
34. Callback method: The activity has become visible.
Scroller
onResume();
onAudioFocusChange()
AsyncTask
35. Android system uses a special virtual machine to run java based applicatons
onStop();
View
onCreate() - onDestroy()
Dalvik Virtual Machine
36. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
NetworkInfo
isConnected()
Scroller
ConnectivityManager
37. This can be used to draw previews of what the camera sensor is picking up.
Hierarchy Viewer
SurfaceView
SQLiteOpenHelper
Service Content Provider
38. Use this to draw bitmaps.
Activity
drawBitmap()
Application resources
touch
39. The entire lifetime of an activity happens between the call to _____ and the call to _____
Entire
NetworkInfo
onCreate() - onDestroy()
onStop();
40. This is used to check that you're actually connected to the Internet and what type of connection is in place.
Google Cloud Messaging for Android (GCM)
onAudioFocusChange()
Geocoder
ConnectivityManager
41. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
Objects Activity lifecycle
Dots per inch
PackageManager
isConnected()
42. This provides methods to define line's color - whether to fill a rectangle with a color or leave it empty - and defines the color - style - font - and so forth of each shape you draw.
ACTION_DOCK_EVENT
Serialize
Full power
Paint
43. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
onCreate() - onDestroy()
searchable configuration
HttpURLConnection
drawBitmap()
44. It made implementing an effective and user friendly share action in your ActionBar even easier.
Google
drawBitmap()
ActionProvider
Layouts
45. This is an interface which is used to pass image data from the camera hardware to the application.
SQLiteOpenHelper
View
onMeasure()
SurfaceHolder.Callback
46. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
ViewStub
ValueAnimator
HTTP
Android SDK
47. 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.
Linux based
Ducking
ViewStub
Geocoder
48. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
XmlPullParser
Intent filters
visible
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
49. This class exposes a number of methods for applications to receive location updates.
Canvas
onStop();
resolveSizeAndState()
LocationManager
50. This class provides one of the simplest ways to fire off a new task from the UI thread.
drawBitmap()
Service Content Provider
inflate()
AsyncTask