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. This class provides one of the simplest ways to fire off a new task from the UI thread.
AsyncTask
BatteryManager
onStop();
drawText()
2. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
onMeasure()
onCreate() - onDestroy()
Extensible Markup Language (XML)
SQLiteOpenHelper
3. This broadcasts an action whenever the device is connected or disconnected from power.
BatteryManager
Dalvik Debug Monitor Server
When the activity resumes
Activity
4. is run when running Android on the pc
Emulator
onStop();
Ducking
Fragments
5. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
drawBitmap()
Full power
Intents
NetworkInfo
6. 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()
resolveSizeAndState()
Account
HttpURLConnection
7. It is a free service for sending messages to Android devices.
HTTP
AbstractAccountAuthenticator
Google Cloud Messaging (GCM)
Ducking
8. The industry standard way to deal with authentication to third-party services.
ACTION_DOCK_EVENT
AsyncTask
Layouts
OAuth2 protocol
9. Callback method: The activity is no longer visible.
onStop();
Parser
Dalvik Debug Monitor Server
ValueAnimator
10. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
InputStream
Stack - back stack
onCreate() - onDestroy()
Android SDK
11. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Hierarchy Viewer
drawText()
Linux based
Lifecycle callback methods
12. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
ShareActionProvider
Account
PackageManager
visible
13. It made implementing an effective and user friendly share action in your ActionBar even easier.
Entire
LocationManager
ActionProvider
onDraw()
14. It is a set of rules for encoding documents in machine-readable form.
authenticator class
visible
Extensible Markup Language (XML)
Activity
15. The most common way to define a layout using views is with an XML layout file saved in your ______
Application resources
Google Cloud Messaging for Android (GCM)
When the activity resumes
AudioManager
16. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Google
Canvas
Dalvik Debug Monitor Server
NetworkInfo
17. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
SettingsActivity
BatteryManager
Low power
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
18. Represents the visual representation of an Android application
Activity
onCreate();
SearchView
SettingsActivity
19. This is used to register and de-register your media button event receiver.
AudioManager
Service Content Provider
OAuth2
BatteryManager
20. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
GET_ACCOUNTS
BatteryManager
Component - screen
Geocoder
21. Shows the actual amount of memory the application uses
ACTION_DOCK_EVENT
onStop();
Application footprint
SettingsActivity
22. Allow to combine loosely coupled components to perform certain tasks
GestureDetector
GET_ACCOUNTS
Intents
AbstractAccountAuthenticator
23. When a new activity starts - it is pushed onto the ____ and takes user focus.
single-pane
NetworkInfo
Back stack
AsyncTask
24. Conversion of an object to XML
Wi-Fi radio
LocationManager
Serialize
Dalvik Debug Monitor Server
25. To create an activity - you must create a subclass of
setVolumeControlStream()
android.hardware.touchscreen
Activity
SettingsActivity
26. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
single-pane
onDraw()
LTE
Standby
27. Theseare a key part of Android applications that directly affect the user experience.
adb
SettingsActivity
Layouts
visible
28. This widget as an item in the action bar is the preferred way to provide search in your app.
Serialize
visible
SearchView
searchable configuration
29. This is a readable source of bytes.
Parser
InputStream
Stack
Ducking
30. Each activity can then start another activity in order to perform different actions. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a ___ .
onCreate();
SecurityException
Stack
Widgets
31. Binary data is shared using the ACTION_SEND action combined with setting the appropriate MIME type and placing the URI to the data in an extra named called?
Google
Google Play
security sandbox
EXTRA_STREAM
32. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
BroadcastReceiver
Serialize
virtual table
onStop();
33. Direct component call in Android
Hierarchy Viewer
Paint
Explicit intent
touch
34. You can set the layout as the UI for your activity with passing the resource ID for the layout.
Geocoder
BroadcastReceiver
Extensible Markup Language (XML)
setContentView
35. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
onAudioFocusChange()
dual-
Open Handset Alliance
android.hardware.touchscreen
36. It is an efficient and maintainable way to parse XML on Android.
Component - screen
Open Handset Alliance
Paint
XmlPullParser
37. Android is __________.
Linux based
GET_ACCOUNTS
onResume();
HttpURLConnection
38. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
onCreate() - onDestroy()
SurfaceHolder.Callback
AsyncTask
Stack - back stack
39. It is a subclass of PreferenceActivity.
SettingsActivity
Paint
SearchView
Full power
40. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
Application footprint
NetworkInfo
searchable configuration
onDraw()
41. Android request its permission using its ________
Lifecycle callback methods
Wi-Fi radio
AndroidManifest.xml
Widgets
42. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
InputStream
BroadcastReceiver
Canvas
Advanced Training
43. In order to get a list of accounts on the device - your app needs this permission.
InputStream
GET_ACCOUNTS
ACTION_SEND
LocationManager
44. On a rooted device - the credentials would be readable by anyone with this access to the device.
Explicit intent
Back stack
Implicit intent
adb
45. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
<declare-styleable>
Lifecycle callback methods
OAuth2
Intent filters
46. This action is used in sending text content from one activity to another.
BatteryManager
ETC1
Account
ACTION_SEND
47. For example - a ____ might be a button that initiates an action when the user touches it.
View
BatteryManager
GET_ACCOUNTS
InputStream
48. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
ShareActionProvider
Activity
onResume();
BatteryManager
49. The visible lifetime of an activity happens between the call to ____ and the call to ______
onStart() - onStop()
Stack - back stack
AsyncTask
Android SDK
50. It doesn't currently support the <merge/> tag in the layouts to be inflated.
searchable configuration
ViewStub
drawBitmap()
Services