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 set the layout as the UI for your activity with passing the resource ID for the layout.
ActionProvider
drawBitmap()
setContentView
Layouts
2. These helpers are specialized classes for backing up certain kinds of data.
OAuth2
Entire
Ducking
BackupHelper
3. 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 _____
Standby
onDraw()
Geocoder
onCreate() - onDestroy()
4. Conversion of an object to XML
Activity
security sandbox
Serialize
Application footprint
5. This object contains an account name - which for Google accounts is an email address.
single-pane
Account
SurfaceHolder.Callback
OAuth2
6. 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
Full power
Service Content Provider
onCreate() - onDestroy()
PackageManager
7. Amode where the action bar is set up with tabs for navigation.
Intent filters
dual-
onAudioFocusChange()
SurfaceHolder.Callback
8. The entire lifetime of an activity happens between the call to _____ and the call to _____
LTE
SecurityException
dual-
onCreate() - onDestroy()
9. It provides a single value - called an auth token that represents both the user's identity and the application's authorization to act on the user's behalf.
OAuth2
Application footprint
SurfaceHolder.Callback
Destroyed - previous
10. It doesn't currently support the <merge/> tag in the layouts to be inflated.
virtual table
ViewStub
AbstractAccountAuthenticator
Back stack
11. 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 ___ .
Dalvik Debug Monitor Server
Stack
Objects Activity lifecycle
AudioManager
12. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
visible
SurfaceHolder.Callback
NetworkInfo
setContentView
13. Callback method: The activity has become visible.
onResume();
setVolumeControlStream()
Extensible Markup Language (XML)
Serialize
14. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
ACTION_DOCK_EVENT
View
onDraw()
Destroyed - previous
15. Necessary tools to develop Android applications
Component - screen
Android SDK
SearchView
Lifecycle callback methods
16. This is used for the need of finer control over your view's layout parameters.
Stack
ETC1
OnCurrentItemChanged
onMeasure()
17. An open source stand alone database
Layouts
Services
Fragments
SQLite
18. This is used to register and de-register your media button event receiver.
AudioManager
adb
Parser
Stack - back stack
19. It is called to invoke the search dialog on older devices.
onSearchRequested()
When the activity resumes
android.hardware.touchscreen
Dots per inch
20. It is used to load images in a background thread - then apply them to the UI once finished.
AsyncTask
searchable configuration
visible
ACTION_SEND
21. Allow to combine loosely coupled components to perform certain tasks
View
AsyncTask
HTTP
Intents
22. 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.
Paint
AbstractAccountAuthenticator
SQLiteOpenHelper
Application footprint
23. Sharing of data in Android is done via________
ViewStub
Explicit intent
onResume();
Service Content Provider
24. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
Scroller
Google Cloud Messaging (GCM)
Full power
ViewStub
25. It is available starting with API Level 14 and higher.
ETC1
android.hardware.touchscreen
ShareActionProvider
ValueAnimator
26. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Layouts
android.hardware.touchscreen
Destroyed - previous
Stack - back stack
27. Android is __________.
Linux based
Google Cloud Messaging for Android (GCM)
Widgets
Implicit intent
28. It is an efficient and maintainable way to parse XML on Android.
Intent filters
XmlPullParser
onCreate();
Google Cloud Messaging for Android (GCM)
29. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
auth scope
SurfaceView
EXTRA_STREAM
getInputStream()
30. It is a subclass of PreferenceActivity.
drawText()
onAudioFocusChange()
SettingsActivity
Stack - back stack
31. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
Google Cloud Messaging (GCM)
BatteryManager
Stack - back stack
SettingsActivity
32. This is set up to animate for the duration of the fling.
Account Manager
BroadcastReceiver
ValueAnimator
onStart() - onStop()
33. An intermediate state that uses around 50% of the battery power at the full state.
Open Handset Alliance
Low power
HttpURLConnection
BackupHelper
34. Callback method: Another activity is taking focus
Linux based
SettingsActivity
GestureDetector
onPause();
35. Perform background tasks without providing a user interface
single-pane
Application resources
Services
OAuth2
36. Android request its permission using its ________
AbstractAccountAuthenticator
ACTION_SEND
BatteryManager
AndroidManifest.xml
37. The helper method is used to create the final width and height values.
onSearchRequested()
AndroidManifest.xml
resolveSizeAndState()
Scroller
38. Are used in activities to create the user interface and to interact with the user.
Intents
Fragments
ViewStub
Scroller
39. The dock-state details are included as an extra in a sticky broadcast of this action.
Ducking
ETC1
ACTION_DOCK_EVENT
Deserialize
40. If permissions are missing - the application will get this at runtime.
SecurityException
adb
Advanced Training
SQLiteOpenHelper
41. For example - a ____ might be a button that initiates an action when the user touches it.
View
Entire
Android SDK
visible
42. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Dots per inch
Hierarchy Viewer
Destroyed - previous
Linux based
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.
onAudioFocusChange()
Account Manager
Scroller
AsyncTask
44. A styleable entity that contains these two custom attributes: showText and labelPosition.
PieChart
BackupHelper
SurfaceView
SearchView
45. Whenever the device is docked or undocked - this action is broadcast.
Fragments
ACTION_DOCK_EVENT
Serialize
drawText()
46. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
security sandbox
Intent filters
Geocoder
ConnectivityManager
47. This is the main class through which your application can access location services on Android.
EXTRA_STREAM
SettingsActivity
Fragments
LocationManager
48. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Hierarchy Viewer
Widgets
touch
View
49. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
ShareActionProvider
XmlPullParser
ViewStub
OnCurrentItemChanged
50. is run when running Android on the pc
HTTP
Open Handset Alliance
onCreate() - onDestroy()
Emulator