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. Represents the visual representation of an Android application
Dalvik Debug Monitor Server
Hierarchy Viewer
Activity
Widgets
2. 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.
security sandbox
Ducking
Layouts
AccountAuthenticatorActivity
3. Android system uses a special virtual machine to run java based applicatons
Dalvik Virtual Machine
ViewStub
SQLiteOpenHelper
SearchView
4. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Dalvik Debug Monitor Server
<declare-styleable>
drawText()
Dalvik Virtual Machine
5. This widget as an item in the action bar is the preferred way to provide search in your app.
SearchView
onCreate() - onDestroy()
Back stack
Widgets
6. It is an efficient and maintainable way to parse XML on Android.
onPause();
XmlPullParser
AndroidManifest.xml
onDestroy();
7. To create an activity - you must create a subclass of
onResume();
OAuth2 protocol
resolveSizeAndState()
Activity
8. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
visible
searchable configuration
Intents
BroadcastReceiver
9. To define custom attributes - add this resources to your project.
Advanced Training
Entire
<declare-styleable>
onStop();
10. 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 _____
android.hardware.touchscreen
onDraw()
Entire
onCreate() - onDestroy()
11. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
HTTP
BackupHelper
Widgets
touch
12. It is called to invoke the search dialog on older devices.
Account Manager
onSearchRequested()
Stack - back stack
Android SDK
13. It is available starting with API Level 14 and higher.
authenticator class
OnCurrentItemChanged
ShareActionProvider
Google Cloud Messaging (GCM)
14. The industry standard way to deal with authentication to third-party services.
onCreate() - onDestroy()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
security sandbox
OAuth2 protocol
15. Callback method: The activity is about to be destroyed.
onDestroy();
Activity
auth scope
OAuth2 protocol
16. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
HttpURLConnection
Account
onStart() - onStop()
ViewStub
17. It is used to load images in a background thread - then apply them to the UI once finished.
AsyncTask
ActionProvider
Intents
onResume();
18. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
adb
Entire
drawText()
Google
19. Are used in activities to create the user interface and to interact with the user.
SettingsActivity
ACTION_DOCK_EVENT
Fragments
GET_ACCOUNTS
20. 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.
XmlPullParser
Activity
<declare-styleable>
SearchView
21. Allow to combine loosely coupled components to perform certain tasks
Intents
Low power
ETC1
setContentView
22. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
ViewStub
SurfaceHolder.Callback
authenticator class
setContentView
23. It is a string that defines the specific type of access your app is asking for.
Google Cloud Messaging for Android (GCM)
Google Play
Widgets
auth scope
24. Callback method: The activity is being created.
drawBitmap()
onCreate();
searchable configuration
Dalvik Debug Monitor Server
25. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
setContentView
Back stack
SQLite
BroadcastReceiver
26. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Activity
Google Cloud Messaging for Android (GCM)
Google Cloud Messaging (GCM)
Parser
27. It is a subclass of PreferenceActivity.
Scroller
PackageManager
SettingsActivity
Android SDK
28. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
When the activity resumes
GET_ACCOUNTS
Scroller
Geocoder
29. This class exposes a number of methods for applications to receive location updates.
Entire
LocationManager
Services
Dalvik Virtual Machine
30. This is set up to animate for the duration of the fling.
security sandbox
Widgets
ValueAnimator
onStop();
31. When a new activity starts - it is pushed onto the ____ and takes user focus.
BackupHelper
onCreate();
Back stack
Google Cloud Messaging (GCM)
32. Android request its permission using its ________
Account Manager
AndroidManifest.xml
EXTRA_STREAM
Stack
33. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
View
getInputStream()
BroadcastReceiver
SQLite
34. It inform the system what intents an application component is willing to accept.
Entire
Low power
Intent filters
android.hardware.touchscreen
35. This is the most common input event in the Android system.
Emulator
touch
Canvas
PieChart
36. In most cases this will offer greater bandwidth at a significantly lower battery cost.
onAudioFocusChange()
drawText()
searchable configuration
Wi-Fi radio
37. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Full power
AsyncTask
Canvas
GET_ACCOUNTS
38. Necessary tools to develop Android applications
Deserialize
Stack - back stack
drawText()
Android SDK
39. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
EXTRA_STREAM
Hierarchy Viewer
BroadcastReceiver
setVolumeControlStream()
40. This class provides one of the simplest ways to fire off a new task from the UI thread.
SecurityException
Google
Back stack
AsyncTask
41. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
XmlPullParser
ConnectivityManager
Objects Activity lifecycle
ETC1
42. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
Standby
Activity
Geocoder
onDraw()
43. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
touch
SearchView
Deserialize
Lifecycle callback methods
44. An open source stand alone database
Full power
BroadcastReceiver
SQLite
onPause();
45. These helpers are specialized classes for backing up certain kinds of data.
Stack - back stack
BackupHelper
InputStream
ViewStub
46. Use this to draw text.
drawText()
AbstractAccountAuthenticator
Account
Application resources
47. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
ShareActionProvider
setVolumeControlStream()
AbstractAccountAuthenticator
onResume();
48. This broadcasts an action whenever the device is connected or disconnected from power.
SettingsActivity
Google Play
BatteryManager
Paint
49. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
Serialize
BatteryManager
HTTP
onAudioFocusChange()
50. It is a set of rules for encoding documents in machine-readable form.
Extensible Markup Language (XML)
onCreate();
Low power
<declare-styleable>