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. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
onStop();
Layouts
Account Manager
When the activity resumes
2. These helpers are specialized classes for backing up certain kinds of data.
BackupHelper
Account
Dots per inch
Linux based
3. It doesn't currently support the <merge/> tag in the layouts to be inflated.
searchable configuration
adb
Hierarchy Viewer
ViewStub
4. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
Paint
Extensible Markup Language (XML)
View
Activity
5. It made implementing an effective and user friendly share action in your ActionBar even easier.
ActionProvider
AndroidManifest.xml
BatteryManager
Parser
6. 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 _____
View
<declare-styleable>
onCreate() - onDestroy()
LocationManager
7. The entire lifetime of an activity happens between the call to _____ and the call to _____
onCreate() - onDestroy()
ConnectivityManager
BatteryManager
ViewStub
8. Callback method: The activity has become visible.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
AsyncTask
onResume();
Activity
9. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
searchable configuration
EXTRA_STREAM
Application resources
ConnectivityManager
10. 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.
Activity
Wi-Fi radio
Fragments
InputStream
11. Theseare a key part of Android applications that directly affect the user experience.
Layouts
OAuth2 protocol
Application footprint
Service Content Provider
12. This broadcasts an action whenever the device is connected or disconnected from power.
BackupHelper
Stack - back stack
BatteryManager
Activity
13. Callback method: The activity is no longer visible
onStop();
AsyncTask
ValueAnimator
Dalvik Debug Monitor Server
14. Converts XML Document to XML DOM
Activity
setVolumeControlStream()
Parser
onStop();
15. The dock-state details are included as an extra in a sticky broadcast of this action.
ACTION_DOCK_EVENT
EXTRA_STREAM
onCreate() - onDestroy()
When the activity resumes
16. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
ViewStub
Advanced Training
Objects Activity lifecycle
onCreate();
17. Callback method: The activity is no longer visible.
Google
SearchView
onStop();
AsyncTask
18. Allow to combine loosely coupled components to perform certain tasks
Geocoder
Scroller
Intents
AndroidManifest.xml
19. The industry standard way to deal with authentication to third-party services.
setVolumeControlStream()
OAuth2 protocol
Geocoder
AudioManager
20. It is an efficient and maintainable way to parse XML on Android.
XmlPullParser
onMeasure()
Fragments
Wi-Fi radio
21. This is an interface which is used to pass image data from the camera hardware to the application.
security sandbox
Stack - back stack
SurfaceHolder.Callback
Deserialize
22. This action is used in sending text content from one activity to another.
Objects Activity lifecycle
ACTION_SEND
BroadcastReceiver
<declare-styleable>
23. 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()
Fragments
OnCurrentItemChanged
Stack - back stack
24. This object contains an account name - which for Google accounts is an email address.
Account
Destroyed - previous
getInputStream()
single-pane
25. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
onDraw()
AsyncTask
Full power
Widgets
26. Necessary tools to develop Android applications
OAuth2
Android SDK
Intent filters
Ducking
27. When a view is created from an XML layout - all of the attributes in the XML tag are read from the resource bundle and passed into the view's constructor as a what?
Android SDK
AttributeSet
OAuth2
onStop();
28. Callback method: The activity is being created.
Scroller
Component - screen
onCreate();
XmlPullParser
29. In most cases this will offer greater bandwidth at a significantly lower battery cost.
virtual table
Parser
Wi-Fi radio
Google Cloud Messaging for Android (GCM)
30. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Full power
Dalvik Debug Monitor Server
PieChart
Entire
31. Android request its permission using its ________
Google Cloud Messaging for Android (GCM)
InputStream
ConnectivityManager
AndroidManifest.xml
32. This is the simplest way to monitor device state changes.
AsyncTask
BroadcastReceiver
OnCurrentItemChanged
setContentView
33. This class exposes a number of methods for applications to receive location updates.
LocationManager
Paint
single-pane
NetworkInfo
34. Android system uses a special virtual machine to run java based applicatons
LTE
Dalvik Virtual Machine
onSearchRequested()
Serialize
35. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
Application footprint
onCreate() - onDestroy()
visible
BroadcastReceiver
36. It is a string that defines the specific type of access your app is asking for.
BroadcastReceiver
auth scope
AndroidManifest.xml
onCreate() - onDestroy()
37. This class provides one of the simplest ways to fire off a new task from the UI thread.
onAudioFocusChange()
AsyncTask
Dots per inch
NetworkInfo
38. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
LocationManager
Linux based
AbstractAccountAuthenticator
View
39. Once installed on a device - each Android application lives in its own ______
security sandbox
Widgets
onCreate();
View
40. To define custom attributes - add this resources to your project.
virtual table
<declare-styleable>
Wi-Fi radio
Lifecycle callback methods
41. This is used to fetch the account names that the user has stored on their device.
Activity
onCreate() - onDestroy()
Standby
Account Manager
42. This widget as an item in the action bar is the preferred way to provide search in your app.
ETC1
Emulator
Geocoder
SearchView
43. It is a free service for sending messages to Android devices.
Activity
BroadcastReceiver
Google Cloud Messaging (GCM)
Application footprint
44. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
SearchView
onResume();
OnCurrentItemChanged
searchable configuration
45. Represents the visual representation of an Android application
onStop();
onResume();
onDestroy();
Activity
46. If permissions are missing - the application will get this at runtime.
security sandbox
SecurityException
onCreate() - onDestroy()
isConnected()
47. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
Dalvik Debug Monitor Server
ViewStub
Intent filters
SearchView
48. It provides a simple way to perform your work outside the main thread.
AudioManager
BackupHelper
onPause();
AsyncTask
49. 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.
LocationManager
authenticator class
SearchView
virtual table
50. 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?
View
When the activity resumes
Canvas
EXTRA_STREAM