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. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
Paint
drawText()
visible
Objects Activity lifecycle
2. Callback method: The activity is no longer visible.
onPause();
AsyncTask
onStop();
Hierarchy Viewer
3. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
Android SDK
Scroller
BatteryManager
SettingsActivity
4. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
View
Account
Dalvik Debug Monitor Server
OAuth2 protocol
5. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Dalvik Virtual Machine
SQLiteOpenHelper
Wi-Fi radio
Account
6. This is used to convert raw touch events into gestures.
ValueAnimator
SQLite
onStart() - onStop()
GestureDetector
7. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
Google
Account
AndroidManifest.xml
ConnectivityManager
8. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
NetworkInfo
Serialize
ConnectivityManager
single-pane
9. The helper method is used to create the final width and height values.
Wi-Fi radio
resolveSizeAndState()
onStart() - onStop()
ConnectivityManager
10. Whenever the device is docked or undocked - this action is broadcast.
onDestroy();
AsyncTask
AccountAuthenticatorActivity
ACTION_DOCK_EVENT
11. Are used in activities to create the user interface and to interact with the user.
AttributeSet
onCreate() - onDestroy()
Geocoder
Fragments
12. 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.
Services
AttributeSet
Serialize
Paint
13. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
<declare-styleable>
HttpURLConnection
setVolumeControlStream()
onMeasure()
14. 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?
BroadcastReceiver
touch
AttributeSet
Application footprint
15. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
AccountAuthenticatorActivity
EXTRA_STREAM
isConnected()
HTTP
16. 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.
ValueAnimator
SearchView
Google Cloud Messaging (GCM)
Deserialize
17. This is used to register and de-register your media button event receiver.
View
AsyncTask
security sandbox
AudioManager
18. This is used to fetch the account names that the user has stored on their device.
onCreate() - onDestroy()
Geocoder
Google Cloud Messaging (GCM)
Account Manager
19. The industry standard way to deal with authentication to third-party services.
SQLiteOpenHelper
searchable configuration
onCreate() - onDestroy()
OAuth2 protocol
20. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
PieChart
LTE
Full power
HTTP
21. This is a readable source of bytes.
InputStream
ACTION_SEND
ConnectivityManager
onMeasure()
22. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
Wi-Fi radio
onCreate() - onDestroy()
setContentView
Component - screen
23. This is the most common input event in the Android system.
SQLite
Wi-Fi radio
Android SDK
touch
24. Allow to combine loosely coupled components to perform certain tasks
Intents
AbstractAccountAuthenticator
Application resources
Full power
25. When a new activity starts - it is pushed onto the ____ and takes user focus.
SecurityException
Back stack
Explicit intent
AndroidManifest.xml
26. It is called to invoke the search dialog on older devices.
ACTION_DOCK_EVENT
onSearchRequested()
Lifecycle callback methods
Paint
27. These helpers are specialized classes for backing up certain kinds of data.
BackupHelper
ETC1
onStart() - onStop()
ConnectivityManager
28. An intermediate state that uses around 50% of the battery power at the full state.
onDraw()
setContentView
Low power
AndroidManifest.xml
29. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
SurfaceView
onStop();
android.hardware.touchscreen
Stack - back stack
30. In order to get a list of accounts on the device - your app needs this permission.
SearchView
GET_ACCOUNTS
onStart() - onStop()
SurfaceView
31. This action is used in sending text content from one activity to another.
ACTION_SEND
LTE
Layouts
InputStream
32. 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
Google
Dots per inch
searchable configuration
Destroyed - previous
33. ______ are views derived from ViewGroup that provide a unique layout model for its child views
security sandbox
searchable configuration
Layouts
ACTION_DOCK_EVENT
34. This includes tools to help you identify problems in your layout performance.
LocationManager
ViewStub
Standby
Android SDK
35. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
OAuth2 protocol
Scroller
ACTION_SEND
visible
36. An _______ is an application component that provides a screen 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.
Activity
Stack - back stack
SecurityException
Google Cloud Messaging for Android (GCM)
37. is run when running Android on the pc
Emulator
Linux based
onDestroy();
isConnected()
38. To create an activity - you must create a subclass of
Android SDK
Emulator
Activity
SQLiteOpenHelper
39. This is set up to animate for the duration of the fling.
onCreate() - onDestroy()
LTE
ValueAnimator
PackageManager
40. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Intents
Service Content Provider
LocationManager
Advanced Training
41. On a rooted device - the credentials would be readable by anyone with this access to the device.
virtual table
BroadcastReceiver
adb
Destroyed - previous
42. This broadcasts an action whenever the device is connected or disconnected from power.
Stack - back stack
adb
BatteryManager
AsyncTask
43. Android provides this handy method to direct volume key presses to the audio stream the user specify.
onCreate() - onDestroy()
SearchView
setVolumeControlStream()
Component - screen
44. This is an interface which is used to pass image data from the camera hardware to the application.
BatteryManager
SurfaceHolder.Callback
resolveSizeAndState()
SQLite
45. In most cases this will offer greater bandwidth at a significantly lower battery cost.
SurfaceHolder.Callback
onDestroy();
ValueAnimator
Wi-Fi radio
46. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
onCreate() - onDestroy()
resolveSizeAndState()
virtual table
When the activity resumes
47. An open source stand alone database
Geocoder
onCreate() - onDestroy()
SQLite
ActionProvider
48. It made implementing an effective and user friendly share action in your ActionBar even easier.
onStart() - onStop()
SearchView
ActionProvider
Destroyed - previous
49. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
XmlPullParser
OnCurrentItemChanged
ACTION_SEND
Emulator
50. Evaluation of registered components
Account
Entire
Implicit intent
Back stack