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 includes tools to help you identify problems in your layout performance.
inflate()
onCreate() - onDestroy()
Account Manager
Android SDK
2. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Services
android.hardware.touchscreen
onDestroy();
adb
3. These helpers are specialized classes for backing up certain kinds of data.
virtual table
BackupHelper
onResume();
Objects Activity lifecycle
4. This is used to register and de-register your media button event receiver.
dual-
AudioManager
Geocoder
Component - screen
5. An open source group led by Google
SearchView
onStop();
Scroller
Open Handset Alliance
6. The industry standard way to deal with authentication to third-party services.
OAuth2 protocol
Implicit intent
Hierarchy Viewer
Dalvik Virtual Machine
7. 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
EXTRA_STREAM
LTE
touch
8. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
Dalvik Debug Monitor Server
PieChart
SettingsActivity
AccountAuthenticatorActivity
9. Once installed on a device - each Android application lives in its own ______
Geocoder
PackageManager
PieChart
security sandbox
10. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Advanced Training
ViewStub
Objects Activity lifecycle
onAudioFocusChange()
11. Use this to draw text.
adb
drawText()
Linux based
Dalvik Debug Monitor Server
12. For example - a ____ might be a button that initiates an action when the user touches it.
View
Activity
Fragments
searchable configuration
13. This is used to fetch the account names that the user has stored on their device.
single-pane
onCreate() - onDestroy()
Full power
Account Manager
14. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
Paint
AbstractAccountAuthenticator
Objects Activity lifecycle
AttributeSet
15. Android request its permission using its ________
AndroidManifest.xml
drawText()
ConnectivityManager
Full power
16. Android is __________.
Activity
Linux based
BackupHelper
Low power
17. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
BroadcastReceiver
Widgets
LTE
AndroidManifest.xml
18. It is a string that defines the specific type of access your app is asking for.
ETC1
ViewStub
SearchView
auth scope
19. Allow to combine loosely coupled components to perform certain tasks
SQLite
ACTION_DOCK_EVENT
Intents
GestureDetector
20. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
onDestroy();
LocationManager
OnCurrentItemChanged
ETC1
21. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
Parser
HTTP
Application resources
View
22. On a rooted device - the credentials would be readable by anyone with this access to the device.
adb
Scroller
Back stack
Activity
23. This class is the basis for handling flywheel-style fling gestures.
PieChart
onStop();
onPause();
Scroller
24. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
ConnectivityManager
SQLiteOpenHelper
Entire
Service Content Provider
25. Android provides this handy method to direct volume key presses to the audio stream the user specify.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Google
onMeasure()
setVolumeControlStream()
26. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
Dots per inch
NetworkInfo
OnCurrentItemChanged
Google Play
27. The visible lifetime of an activity happens between the call to ____ and the call to ______
onStart() - onStop()
BatteryManager
Scroller
XmlPullParser
28. 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
LocationManager
PackageManager
Intents
Service Content Provider
29. Represents the visual representation of an Android application
Implicit intent
HTTP
Activity
GestureDetector
30. It is a subclass of PreferenceActivity.
ACTION_DOCK_EVENT
GET_ACCOUNTS
Intents
SettingsActivity
31. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
Activity
BatteryManager
Widgets
dual-
32. is run when running Android on the pc
Activity
BroadcastReceiver
getInputStream()
Emulator
33. ______ are views derived from ViewGroup that provide a unique layout model for its child views
AbstractAccountAuthenticator
Explicit intent
onStop();
Layouts
34. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
Widgets
InputStream
visible
auth scope
35. Whenever the device is docked or undocked - this action is broadcast.
isConnected()
ACTION_DOCK_EVENT
ViewStub
GestureDetector
36. Callback method: The activity is no longer visible.
Google Cloud Messaging for Android (GCM)
onResume();
onStop();
Objects Activity lifecycle
37. This is the main class through which your application can access location services on Android.
Destroyed - previous
HTTP
LocationManager
Serialize
38. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
ViewStub
AsyncTask
Back stack
BatteryManager
39. 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
ViewStub
onSearchRequested()
40. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
HttpURLConnection
inflate()
Google Cloud Messaging (GCM)
Hierarchy Viewer
41. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Canvas
Serialize
visible
BackupHelper
42. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
Widgets
Google Cloud Messaging (GCM)
HttpURLConnection
Dalvik Debug Monitor Server
43. This class exposes a number of methods for applications to receive location updates.
LocationManager
searchable configuration
Scroller
Back stack
44. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
BackupHelper
BatteryManager
Dalvik Debug Monitor Server
Advanced Training
45. 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?
SettingsActivity
LocationManager
EXTRA_STREAM
When the activity resumes
46. A styleable entity that contains these two custom attributes: showText and labelPosition.
ValueAnimator
ShareActionProvider
PieChart
onCreate() - onDestroy()
47. Most network-connected Android apps use this to send and receive data.
Geocoder
Full power
SettingsActivity
HTTP
48. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
Application footprint
SettingsActivity
inflate()
Activity
49. Necessary tools to develop Android applications
Standby
Wi-Fi radio
Android SDK
onResume();
50. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
onAudioFocusChange()
isConnected()
AndroidManifest.xml
Activity