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. In order to get a list of accounts on the device - your app needs this permission.
XmlPullParser
GET_ACCOUNTS
NetworkInfo
onStart() - onStop()
2. 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.
View
Activity
SearchView
Intents
3. 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.
EXTRA_STREAM
Google Cloud Messaging (GCM)
ETC1
LocationManager
4. It inform the system what intents an application component is willing to accept.
Intent filters
Destroyed - previous
SearchView
auth scope
5. Callback method: The activity is being created.
Entire
BatteryManager
onCreate();
auth scope
6. Are used in activities to create the user interface and to interact with the user.
SearchView
onDraw()
Fragments
Lifecycle callback methods
7. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
ConnectivityManager
InputStream
BroadcastReceiver
View
8. Callback method: The activity is about to be destroyed.
onPause();
onDestroy();
Explicit intent
OAuth2 protocol
9. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
SQLiteOpenHelper
Fragments
AsyncTask
Geocoder
10. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
NetworkInfo
OnCurrentItemChanged
onCreate();
OAuth2
11. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Entire
onDraw()
Android SDK
AttributeSet
12. 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?
ValueAnimator
PieChart
SettingsActivity
AttributeSet
13. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
Account Manager
GET_ACCOUNTS
Android SDK
ConnectivityManager
14. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Service Content Provider
isConnected()
Advanced Training
ACTION_DOCK_EVENT
15. Callback method: The activity is no longer visible.
drawText()
BatteryManager
ConnectivityManager
onStop();
16. This class exposes a number of methods for applications to receive location updates.
When the activity resumes
LocationManager
AsyncTask
onCreate();
17. This is an interface which is used to pass image data from the camera hardware to the application.
drawBitmap()
ACTION_DOCK_EVENT
Activity
SurfaceHolder.Callback
18. To create an activity - you must create a subclass of
Application footprint
Dots per inch
Google Cloud Messaging (GCM)
Activity
19. This includes tools to help you identify problems in your layout performance.
Android SDK
LocationManager
Paint
setContentView
20. Conversion of an object to XML
SettingsActivity
Explicit intent
Serialize
ETC1
21. This is the most common input event in the Android system.
touch
Low power
Standby
<declare-styleable>
22. Where Android is currently primarily developed
Objects Activity lifecycle
Paint
Google
AsyncTask
23. Shows the actual amount of memory the application uses
Layouts
AudioManager
Extensible Markup Language (XML)
Application footprint
24. Callback method: Another activity is taking focus
AsyncTask
Account Manager
Parser
onPause();
25. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
android.hardware.touchscreen
onResume();
visible
getInputStream()
26. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
PackageManager
onCreate() - onDestroy()
Activity
virtual table
27. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
onCreate() - onDestroy()
onMeasure()
ValueAnimator
AbstractAccountAuthenticator
28. An intermediate state that uses around 50% of the battery power at the full state.
AsyncTask
InputStream
Low power
onDraw()
29. Android system uses a special virtual machine to run java based applicatons
authenticator class
HTTP
Dalvik Virtual Machine
Services
30. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
When the activity resumes
single-pane
onCreate();
GET_ACCOUNTS
31. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
BackupHelper
Objects Activity lifecycle
SurfaceView
isConnected()
32. Conversion of XML back to an object
GET_ACCOUNTS
Deserialize
SQLite
Activity
33. This broadcasts an action whenever the device is connected or disconnected from power.
BatteryManager
Standby
dual-
ValueAnimator
34. Allow to combine loosely coupled components to perform certain tasks
Intents
Services
LTE
SearchView
35. This class is the basis for handling flywheel-style fling gestures.
Layouts
Scroller
BackupHelper
HttpURLConnection
36. A service in which programmers can offer their Android application to Android users.
searchable configuration
SurfaceHolder.Callback
Emulator
Google Play
37. It made implementing an effective and user friendly share action in your ActionBar even easier.
ConnectivityManager
ActionProvider
Advanced Training
Google Play
38. It is used to load images in a background thread - then apply them to the UI once finished.
security sandbox
Entire
onSearchRequested()
AsyncTask
39. Whenever the device is docked or undocked - this action is broadcast.
ACTION_DOCK_EVENT
Layouts
drawText()
setContentView
40. It provides a simple way to perform your work outside the main thread.
Component - screen
setContentView
Fragments
AsyncTask
41. Evaluation of registered components
Implicit intent
OAuth2
onStart() - onStop()
Hierarchy Viewer
42. These helpers are specialized classes for backing up certain kinds of data.
Back stack
BackupHelper
onStop();
PieChart
43. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
SQLiteOpenHelper
searchable configuration
onStart() - onStop()
Geocoder
44. Most network-connected Android apps use this to send and receive data.
touch
Scroller
dual-
HTTP
45. The helper method is used to create the final width and height values.
PackageManager
Intents
AbstractAccountAuthenticator
resolveSizeAndState()
46. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
ActionProvider
BackupHelper
Hierarchy Viewer
Explicit intent
47. Android is __________.
Dalvik Debug Monitor Server
Linux based
dual-
LTE
48. 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
Full power
AsyncTask
Widgets
Component - screen
49. This is the main class through which your application can access location services on Android.
onResume();
AudioManager
BatteryManager
LocationManager
50. Theseare a key part of Android applications that directly affect the user experience.
BroadcastReceiver
AsyncTask
Layouts
Activity