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 is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
ACTION_DOCK_EVENT
ViewStub
visible
searchable configuration
2. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
security sandbox
InputStream
Stack - back stack
onResume();
3. Where Android is currently primarily developed
XmlPullParser
Google
ConnectivityManager
Entire
4. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Widgets
Wi-Fi radio
LTE
Activity
5. 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
Scroller
Implicit intent
Account Manager
PackageManager
6. Conversion of an object to XML
InputStream
Serialize
Open Handset Alliance
onAudioFocusChange()
7. Sharing of data in Android is done via________
Canvas
When the activity resumes
Service Content Provider
onSearchRequested()
8. It is used to load images in a background thread - then apply them to the UI once finished.
PieChart
onSearchRequested()
AsyncTask
BroadcastReceiver
9. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
onCreate() - onDestroy()
Services
Canvas
Android SDK
10. This is used to check that you're actually connected to the Internet and what type of connection is in place.
onSearchRequested()
Full power
onCreate() - onDestroy()
ConnectivityManager
11. This includes tools to help you identify problems in your layout performance.
SettingsActivity
SecurityException
Android SDK
Fragments
12. Perform background tasks without providing a user interface
Services
Dalvik Virtual Machine
onCreate() - onDestroy()
onPause();
13. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Hierarchy Viewer
onResume();
BroadcastReceiver
LTE
14. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
SQLite
When the activity resumes
ACTION_DOCK_EVENT
View
15. 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
onCreate() - onDestroy()
GET_ACCOUNTS
InputStream
16. Callback method: The activity is being created.
onPause();
onCreate();
auth scope
Activity
17. This class exposes a number of methods for applications to receive location updates.
SurfaceHolder.Callback
PieChart
LocationManager
OAuth2 protocol
18. Conversion of XML back to an object
Account
ViewStub
Stack
Deserialize
19. It is a string that defines the specific type of access your app is asking for.
EXTRA_STREAM
Account Manager
<declare-styleable>
auth scope
20. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
LTE
Layouts
Full power
single-pane
21. Converts XML Document to XML DOM
Fragments
<declare-styleable>
Activity
Parser
22. The most common way to define a layout using views is with an XML layout file saved in your ______
Component - screen
PackageManager
Application resources
BroadcastReceiver
23. Direct component call in Android
ConnectivityManager
Google Cloud Messaging (GCM)
Explicit intent
SurfaceView
24. These helpers are specialized classes for backing up certain kinds of data.
Objects Activity lifecycle
onCreate() - onDestroy()
BackupHelper
SettingsActivity
25. is run when running Android on the pc
LTE
Account
Emulator
Layouts
26. To define custom attributes - add this resources to your project.
<declare-styleable>
onCreate();
setContentView
ViewStub
27. This is the simplest way to monitor device state changes.
ActionProvider
Hierarchy Viewer
BroadcastReceiver
onStop();
28. Evaluation of registered components
Implicit intent
single-pane
LocationManager
Account Manager
29. Android provides this handy method to direct volume key presses to the audio stream the user specify.
Emulator
Application resources
setVolumeControlStream()
Serialize
30. Android request its permission using its ________
inflate()
Dots per inch
GET_ACCOUNTS
AndroidManifest.xml
31. Represents the visual representation of an Android application
HTTP
Activity
dual-
isConnected()
32. An Activity is an application ______ that provides a _______ 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
Component - screen
Layouts
AudioManager
Low power
33. This is the main class through which your application can access location services on Android.
Stack
LocationManager
onCreate() - onDestroy()
Dots per inch
34. Amode where the action bar is set up with tabs for navigation.
AbstractAccountAuthenticator
Layouts
dual-
Destroyed - previous
35. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
XmlPullParser
onAudioFocusChange()
Stack
Account
36. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
Stack - back stack
onDraw()
drawBitmap()
Service Content Provider
37. 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 _____
ACTION_SEND
resolveSizeAndState()
onCreate() - onDestroy()
GET_ACCOUNTS
38. This is an interface which is used to pass image data from the camera hardware to the application.
GestureDetector
HttpURLConnection
Application resources
SurfaceHolder.Callback
39. Necessary tools to develop Android applications
Component - screen
Android SDK
Destroyed - previous
OAuth2
40. This is used for the need of finer control over your view's layout parameters.
AccountAuthenticatorActivity
touch
onMeasure()
<declare-styleable>
41. Shows the actual amount of memory the application uses
SQLite
AudioManager
Application footprint
isConnected()
42. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
ACTION_SEND
ETC1
Google Cloud Messaging for Android (GCM)
Service Content Provider
43. It inform the system what intents an application component is willing to accept.
Intent filters
Dots per inch
LocationManager
Application footprint
44. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
searchable configuration
setContentView
Entire
android.hardware.touchscreen
45. It doesn't currently support the <merge/> tag in the layouts to be inflated.
NetworkInfo
getInputStream()
authenticator class
ViewStub
46. Whenever the device is docked or undocked - this action is broadcast.
Stack - back stack
HttpURLConnection
resolveSizeAndState()
ACTION_DOCK_EVENT
47. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
OnCurrentItemChanged
GestureDetector
Activity
AsyncTask
48. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
NetworkInfo
Entire
Google Play
Standby
49. If permissions are missing - the application will get this at runtime.
ViewStub
SearchView
ConnectivityManager
SecurityException
50. It's generally a good idea for one of your APKs to support this texture format as it is supported by all Android-powered devices that support the OpenGL ES 2.0 spec.
ETC1
onDestroy();
SurfaceHolder.Callback
Intents