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. Most network-connected Android apps use this to send and receive data.
touch
getInputStream()
HTTP
Low power
2. The helper method is used to create the final width and height values.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
visible
Parser
resolveSizeAndState()
3. Where Android is currently primarily developed
Low power
ETC1
Stack
Google
4. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Android SDK
auth scope
android.hardware.touchscreen
onDestroy();
5. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
inflate()
onCreate() - onDestroy()
drawText()
Services
6. This action is used in sending text content from one activity to another.
adb
Scroller
ACTION_SEND
Account Manager
7. Android provides this handy method to direct volume key presses to the audio stream the user specify.
single-pane
Parser
setVolumeControlStream()
OAuth2
8. The entire lifetime of an activity happens between the call to _____ and the call to _____
onCreate() - onDestroy()
GET_ACCOUNTS
Component - screen
When the activity resumes
9. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
getInputStream()
PieChart
NetworkInfo
OnCurrentItemChanged
10. If permissions are missing - the application will get this at runtime.
InputStream
OnCurrentItemChanged
SecurityException
Intents
11. This is the most common input event in the Android system.
Service Content Provider
onResume();
Implicit intent
touch
12. 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
Lifecycle callback methods
Android SDK
Explicit intent
13. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
setVolumeControlStream()
dual-
HttpURLConnection
Application resources
14. Once installed on a device - each Android application lives in its own ______
AndroidManifest.xml
LTE
Application resources
security sandbox
15. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
ViewStub
Implicit intent
AsyncTask
Services
16. Callback method: The activity has become visible.
onCreate() - onDestroy()
onResume();
Activity
BatteryManager
17. This is used to fetch the account names that the user has stored on their device.
Low power
Activity
Scroller
Account Manager
18. An open source group led by Google
drawText()
AsyncTask
Open Handset Alliance
Explicit intent
19. This object contains an account name - which for Google accounts is an email address.
Account
Scroller
isConnected()
Google Cloud Messaging (GCM)
20. is run when running Android on the pc
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Canvas
Lifecycle callback methods
Emulator
21. This includes tools to help you identify problems in your layout performance.
View
Objects Activity lifecycle
Android SDK
Canvas
22. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
LTE
Standby
PackageManager
ConnectivityManager
23. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
authenticator class
isConnected()
Google Cloud Messaging for Android (GCM)
onAudioFocusChange()
24. Callback method: The activity is no longer visible
setContentView
touch
Services
onStop();
25. Allow to combine loosely coupled components to perform certain tasks
Stack
onCreate() - onDestroy()
Intents
Google Cloud Messaging (GCM)
26. Android system uses a special virtual machine to run java based applicatons
EXTRA_STREAM
Deserialize
Dalvik Virtual Machine
BackupHelper
27. It is available starting with API Level 14 and higher.
Activity
Application resources
resolveSizeAndState()
ShareActionProvider
28. When a new activity starts - it is pushed onto the ____ and takes user focus.
onCreate() - onDestroy()
Fragments
ConnectivityManager
Back stack
29. Represents the visual representation of an Android application
AsyncTask
Lifecycle callback methods
Activity
Account Manager
30. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
Dalvik Virtual Machine
onStop();
View
When the activity resumes
31. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
Google Cloud Messaging (GCM)
onDraw()
Activity
Layouts
32. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
onAudioFocusChange()
Scroller
inflate()
ACTION_DOCK_EVENT
33. Converts XML Document to XML DOM
onCreate() - onDestroy()
Parser
ViewStub
Dalvik Virtual Machine
34. For example - a ____ might be a button that initiates an action when the user touches it.
Low power
SearchView
ACTION_DOCK_EVENT
View
35. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
EXTRA_STREAM
View
Extensible Markup Language (XML)
Full power
36. It is called to invoke the search dialog on older devices.
onPause();
Standby
ACTION_DOCK_EVENT
onSearchRequested()
37. Use this to draw bitmaps.
drawBitmap()
onDestroy();
Component - screen
SQLite
38. 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.
AsyncTask
Full power
SearchView
Paint
39. Use this to draw text.
security sandbox
ViewStub
authenticator class
drawText()
40. This class is the basis for handling flywheel-style fling gestures.
Lifecycle callback methods
Advanced Training
Parser
Scroller
41. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Serialize
single-pane
Entire
Scroller
42. Relative to pixels and resolution screen
EXTRA_STREAM
SurfaceView
Dots per inch
Activity
43. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
android.hardware.touchscreen
onStart() - onStop()
getInputStream()
Activity
44. Callback method: The activity is about to be destroyed.
onDestroy();
Serialize
AsyncTask
LTE
45. This is set up to animate for the duration of the fling.
SettingsActivity
NetworkInfo
getInputStream()
ValueAnimator
46. 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.
Ducking
Serialize
resolveSizeAndState()
Parser
47. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
virtual table
visible
Lifecycle callback methods
EXTRA_STREAM
48. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
AttributeSet
Geocoder
Dalvik Debug Monitor Server
LTE
49. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
SurfaceHolder.Callback
isConnected()
SurfaceView
Activity
50. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
virtual table
Intents
Android SDK
Explicit intent