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. Relative to pixels and resolution screen
drawBitmap()
Dots per inch
single-pane
AndroidManifest.xml
2. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Component - screen
BatteryManager
android.hardware.touchscreen
<declare-styleable>
3. On a rooted device - the credentials would be readable by anyone with this access to the device.
Full power
adb
Android SDK
ShareActionProvider
4. When a new activity starts - it is pushed onto the ____ and takes user focus.
View
Explicit intent
ConnectivityManager
Back stack
5. 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.
security sandbox
Google Cloud Messaging (GCM)
View
Paint
6. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
AsyncTask
resolveSizeAndState()
ViewStub
Scroller
7. The entire lifetime of an activity happens between the call to _____ and the call to _____
drawText()
Geocoder
onCreate() - onDestroy()
Google Cloud Messaging for Android (GCM)
8. This is the simplest way to monitor device state changes.
EXTRA_STREAM
Stack
BroadcastReceiver
ACTION_DOCK_EVENT
9. To define custom attributes - add this resources to your project.
Standby
<declare-styleable>
onCreate() - onDestroy()
NetworkInfo
10. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
onAudioFocusChange()
View
Implicit intent
onMeasure()
11. The visible lifetime of an activity happens between the call to ____ and the call to ______
Ducking
searchable configuration
AttributeSet
onStart() - onStop()
12. Android request its permission using its ________
Component - screen
AndroidManifest.xml
BatteryManager
security sandbox
13. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Advanced Training
Explicit intent
onCreate() - onDestroy()
Entire
14. Callback method: The activity has become visible.
Account
PieChart
onResume();
onCreate();
15. This is set up to animate for the duration of the fling.
ValueAnimator
Google Play
Widgets
Geocoder
16. The helper method is used to create the final width and height values.
resolveSizeAndState()
Application footprint
SurfaceView
Deserialize
17. The minimal energy state during which no network connection is active or required.
single-pane
Android SDK
Standby
AudioManager
18. Android is __________.
Linux based
SearchView
Back stack
SecurityException
19. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
AccountAuthenticatorActivity
SurfaceView
Layouts
View
20. 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.
Parser
SurfaceView
Ducking
BroadcastReceiver
21. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Low power
Scroller
LocationManager
Stack
22. Perform background tasks without providing a user interface
AttributeSet
onStop();
HTTP
Services
23. Allow to combine loosely coupled components to perform certain tasks
ViewStub
Intents
adb
drawText()
24. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
NetworkInfo
AsyncTask
Activity
AccountAuthenticatorActivity
25. Use this to draw bitmaps.
SearchView
drawBitmap()
Back stack
Full power
26. Whenever the device is docked or undocked - this action is broadcast.
ETC1
Dalvik Virtual Machine
Account Manager
ACTION_DOCK_EVENT
27. Android provides this handy method to direct volume key presses to the audio stream the user specify.
setContentView
Back stack
setVolumeControlStream()
onSearchRequested()
28. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
BroadcastReceiver
Services
OAuth2 protocol
SQLiteOpenHelper
29. An open source group led by Google
Account
isConnected()
Open Handset Alliance
Canvas
30. This can be used to draw previews of what the camera sensor is picking up.
touch
onStart() - onStop()
getInputStream()
SurfaceView
31. This class is the basis for handling flywheel-style fling gestures.
ValueAnimator
Scroller
<declare-styleable>
SQLiteOpenHelper
32. The dock-state details are included as an extra in a sticky broadcast of this action.
GestureDetector
visible
ACTION_DOCK_EVENT
Intent filters
33. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
OnCurrentItemChanged
SecurityException
AsyncTask
drawBitmap()
34. This includes tools to help you identify problems in your layout performance.
Dots per inch
ACTION_DOCK_EVENT
Android SDK
security sandbox
35. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
OAuth2
BatteryManager
searchable configuration
<declare-styleable>
36. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
ViewStub
Full power
Activity
Explicit intent
37. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
ViewStub
OAuth2 protocol
Low power
Geocoder
38. This is the main class through which your application can access location services on Android.
ACTION_SEND
onSearchRequested()
AndroidManifest.xml
LocationManager
39. An open source stand alone database
Activity
visible
Extensible Markup Language (XML)
SQLite
40. It is available starting with API Level 14 and higher.
Stack
searchable configuration
BatteryManager
ShareActionProvider
41. Callback method: The activity is no longer visible
onStop();
Paint
NetworkInfo
Open Handset Alliance
42. Sharing of data in Android is done via________
Service Content Provider
Low power
onStop();
PackageManager
43. This class provides one of the simplest ways to fire off a new task from the UI thread.
Wi-Fi radio
SettingsActivity
Canvas
AsyncTask
44. Use this to draw text.
drawText()
Paint
isConnected()
SurfaceView
45. Callback method: The activity is being created.
Services
PackageManager
Serialize
onCreate();
46. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
onDraw()
SQLiteOpenHelper
LTE
Ducking
47. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
setVolumeControlStream()
ConnectivityManager
ActionProvider
onStop();
48. is run when running Android on the pc
Emulator
Linux based
SurfaceView
AsyncTask
49. In order to get a list of accounts on the device - your app needs this permission.
GET_ACCOUNTS
Deserialize
onCreate() - onDestroy()
When the activity resumes
50. A styleable entity that contains these two custom attributes: showText and labelPosition.
PieChart
visible
Dalvik Debug Monitor Server
InputStream