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. For example - if your activity has a thread running in the background to download data from the network - it might create that thread in _____ and then stop the thread in _____
onCreate() - onDestroy()
SurfaceHolder.Callback
onMeasure()
HTTP
2. This includes tools to help you identify problems in your layout performance.
PackageManager
HttpURLConnection
ActionProvider
Android SDK
3. Callback method: The activity has become visible.
onPause();
AttributeSet
onResume();
Implicit intent
4. Callback method: Another activity is taking focus
AudioManager
Advanced Training
BackupHelper
onPause();
5. Callback method: The activity is being created.
onCreate() - onDestroy()
Application footprint
onCreate();
virtual table
6. You can set the layout as the UI for your activity with passing the resource ID for the layout.
setVolumeControlStream()
setContentView
Account
authenticator class
7. Shows the actual amount of memory the application uses
Dots per inch
Application footprint
Scroller
ACTION_DOCK_EVENT
8. This is used to check that you're actually connected to the Internet and what type of connection is in place.
Google Cloud Messaging (GCM)
View
ConnectivityManager
onPause();
9. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
BroadcastReceiver
Geocoder
onStop();
PieChart
10. This class is the basis for handling flywheel-style fling gestures.
EXTRA_STREAM
LTE
BroadcastReceiver
Scroller
11. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
Intents
BroadcastReceiver
Application resources
onCreate() - onDestroy()
12. The most common way to define a layout using views is with an XML layout file saved in your ______
SearchView
Application resources
Low power
Full power
13. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
Scroller
Deserialize
ConnectivityManager
Component - screen
14. Callback method: The activity is no longer visible.
onStop();
Canvas
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Dalvik Virtual Machine
15. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
setContentView
NetworkInfo
resolveSizeAndState()
GestureDetector
16. This is set up to animate for the duration of the fling.
ActionProvider
ValueAnimator
ACTION_DOCK_EVENT
Dalvik Debug Monitor Server
17. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
When the activity resumes
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
virtual table
Service Content Provider
18. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
AsyncTask
LocationManager
Dalvik Debug Monitor Server
Advanced Training
19. 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.
PackageManager
ShareActionProvider
Full power
SearchView
20. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
ETC1
Advanced Training
Google Cloud Messaging for Android (GCM)
auth scope
21. Android request its permission using its ________
When the activity resumes
Implicit intent
AndroidManifest.xml
onCreate() - onDestroy()
22. 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.
touch
onPause();
Paint
Scroller
23. ______ are views derived from ViewGroup that provide a unique layout model for its child views
setContentView
Paint
android.hardware.touchscreen
Layouts
24. Allow to combine loosely coupled components to perform certain tasks
single-pane
SQLite
Intents
View
25. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
setVolumeControlStream()
BroadcastReceiver
Back stack
onCreate() - onDestroy()
26. It is available starting with API Level 14 and higher.
ShareActionProvider
HttpURLConnection
Application resources
PieChart
27. Most network-connected Android apps use this to send and receive data.
AndroidManifest.xml
HTTP
NetworkInfo
SurfaceHolder.Callback
28. is run when running Android on the pc
ShareActionProvider
Lifecycle callback methods
Emulator
Layouts
29. 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.
onCreate() - onDestroy()
security sandbox
ACTION_DOCK_EVENT
ETC1
30. This is used to fetch the account names that the user has stored on their device.
Account Manager
Component - screen
Layouts
onCreate() - onDestroy()
31. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
Component - screen
PieChart
BatteryManager
NetworkInfo
32. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
OnCurrentItemChanged
Deserialize
drawText()
Entire
33. This widget as an item in the action bar is the preferred way to provide search in your app.
SearchView
resolveSizeAndState()
View
AttributeSet
34. This is used for the need of finer control over your view's layout parameters.
AndroidManifest.xml
onMeasure()
SearchView
authenticator class
35. Android system uses a special virtual machine to run java based applicatons
Dalvik Virtual Machine
Standby
onResume();
Activity
36. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
isConnected()
single-pane
Google Cloud Messaging for Android (GCM)
onStop();
37. An open source group led by Google
GestureDetector
onDraw()
Open Handset Alliance
SQLiteOpenHelper
38. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
visible
Scroller
setContentView
Paint
39. It doesn't currently support the <merge/> tag in the layouts to be inflated.
OAuth2 protocol
onMeasure()
ViewStub
Component - screen
40. This action is used in sending text content from one activity to another.
Dalvik Virtual Machine
BatteryManager
ETC1
ACTION_SEND
41. 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
SettingsActivity
Activity
LocationManager
42. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
SurfaceHolder.Callback
onPause();
PieChart
Stack - back stack
43. It inform the system what intents an application component is willing to accept.
AccountAuthenticatorActivity
When the activity resumes
setContentView
Intent filters
44. Relative to pixels and resolution screen
Dots per inch
GET_ACCOUNTS
Activity
Entire
45. This is the main class through which your application can access location services on Android.
LocationManager
Activity
ConnectivityManager
Intents
46. Are used in activities to create the user interface and to interact with the user.
Component - screen
Geocoder
Fragments
AsyncTask
47. Use this to draw bitmaps.
XmlPullParser
ViewStub
Destroyed - previous
drawBitmap()
48. This broadcasts an action whenever the device is connected or disconnected from power.
Full power
BatteryManager
ShareActionProvider
SearchView
49. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
<declare-styleable>
LTE
virtual table
Advanced Training
50. The industry standard way to deal with authentication to third-party services.
ViewStub
ACTION_SEND
Lifecycle callback methods
OAuth2 protocol