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 defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Service Content Provider
SQLiteOpenHelper
Scroller
SecurityException
2. This can be used to draw previews of what the camera sensor is picking up.
SurfaceView
setContentView
Standby
visible
3. It made implementing an effective and user friendly share action in your ActionBar even easier.
Account
ActionProvider
ViewStub
isConnected()
4. This includes tools to help you identify problems in your layout performance.
ConnectivityManager
Dalvik Virtual Machine
Android SDK
Entire
5. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
Explicit intent
onSearchRequested()
Back stack
onDraw()
6. Relative to pixels and resolution screen
Dots per inch
OAuth2 protocol
HTTP
Scroller
7. 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.
Extensible Markup Language (XML)
Paint
AndroidManifest.xml
LocationManager
8. Android is __________.
Linux based
getInputStream()
PackageManager
Google
9. This is used for the need of finer control over your view's layout parameters.
Objects Activity lifecycle
Extensible Markup Language (XML)
onMeasure()
Stack
10. An open source group led by Google
onDestroy();
Open Handset Alliance
AndroidManifest.xml
Objects Activity lifecycle
11. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
InputStream
Dalvik Virtual Machine
OnCurrentItemChanged
security sandbox
12. It is used to toggle the enabled state on any component defined in the manifest - including whichever broadcast receivers you wish to enable or disable
setContentView
Serialize
PackageManager
Stack - back stack
13. 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 _____
Back stack
ShareActionProvider
setContentView
onCreate() - onDestroy()
14. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
Layouts
Widgets
ViewStub
View
15. On a rooted device - the credentials would be readable by anyone with this access to the device.
Google Play
adb
Component - screen
Implicit intent
16. Callback method: The activity is no longer visible.
ConnectivityManager
Account
AbstractAccountAuthenticator
onStop();
17. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Wi-Fi radio
View
AttributeSet
Linux based
18. This is used to convert raw touch events into gestures.
GestureDetector
Service Content Provider
getInputStream()
Fragments
19. Perform background tasks without providing a user interface
Android SDK
Lifecycle callback methods
Services
ConnectivityManager
20. This is a readable source of bytes.
AsyncTask
Scroller
SQLite
InputStream
21. Android system uses a special virtual machine to run java based applicatons
Dalvik Virtual Machine
ActionProvider
SettingsActivity
Service Content Provider
22. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
ACTION_DOCK_EVENT
Full power
SearchView
View
23. Necessary tools to develop Android applications
Extensible Markup Language (XML)
<declare-styleable>
Android SDK
Component - screen
24. The helper method is used to create the final width and height values.
Parser
Android SDK
resolveSizeAndState()
LocationManager
25. In order to get a list of accounts on the device - your app needs this permission.
GET_ACCOUNTS
SearchView
When the activity resumes
Wi-Fi radio
26. This class provides one of the simplest ways to fire off a new task from the UI thread.
dual-
Intent filters
ShareActionProvider
AsyncTask
27. Are used in activities to create the user interface and to interact with the user.
BatteryManager
Fragments
Wi-Fi radio
Component - screen
28. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Objects Activity lifecycle
Stack - back stack
ActionProvider
Full power
29. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
security sandbox
ActionProvider
When the activity resumes
30. It inform the system what intents an application component is willing to accept.
NetworkInfo
ACTION_DOCK_EVENT
Deserialize
Intent filters
31. For example - a ____ might be a button that initiates an action when the user touches it.
Stack - back stack
View
OAuth2
Fragments
32. A mode where navigation is set up with a spinner widget.
Objects Activity lifecycle
single-pane
Fragments
ViewStub
33. It is used to load images in a background thread - then apply them to the UI once finished.
SearchView
AsyncTask
Extensible Markup Language (XML)
Full power
34. It is called to invoke the search dialog on older devices.
onSearchRequested()
Full power
NetworkInfo
adb
35. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
onStart() - onStop()
Hierarchy Viewer
Intents
EXTRA_STREAM
36. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
Application footprint
AccountAuthenticatorActivity
onResume();
Application resources
37. 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.
View
Activity
Ducking
ViewStub
38. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
resolveSizeAndState()
onCreate() - onDestroy()
Google Cloud Messaging for Android (GCM)
Back stack
39. The most common way to define a layout using views is with an XML layout file saved in your ______
Application resources
HTTP
LTE
onStop();
40. The visible lifetime of an activity happens between the call to ____ and the call to ______
AsyncTask
onStart() - onStop()
auth scope
Back stack
41. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
security sandbox
searchable configuration
Intents
onCreate();
42. Callback method: The activity is no longer visible
onStop();
Scroller
Scroller
Application resources
43. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
When the activity resumes
onAudioFocusChange()
ViewStub
ConnectivityManager
44. An intermediate state that uses around 50% of the battery power at the full state.
onPause();
Low power
When the activity resumes
Account
45. Direct component call in Android
Stack
Explicit intent
ValueAnimator
setContentView
46. Amode where the action bar is set up with tabs for navigation.
Dalvik Virtual Machine
Stack
dual-
onStop();
47. A styleable entity that contains these two custom attributes: showText and labelPosition.
Low power
Wi-Fi radio
Serialize
PieChart
48. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Widgets
Google Cloud Messaging for Android (GCM)
PieChart
setVolumeControlStream()
49. This is the most common input event in the Android system.
OAuth2 protocol
touch
View
AsyncTask
50. This is set up to animate for the duration of the fling.
isConnected()
Open Handset Alliance
ValueAnimator
HttpURLConnection