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. Android provides this handy method to direct volume key presses to the audio stream the user specify.
onSearchRequested()
drawText()
setVolumeControlStream()
Objects Activity lifecycle
2. is run when running Android on the pc
Emulator
PackageManager
BroadcastReceiver
onResume();
3. It provides a simple way to perform your work outside the main thread.
Extensible Markup Language (XML)
AsyncTask
Services
virtual table
4. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
Lifecycle callback methods
LocationManager
security sandbox
5. The entire lifetime of an activity happens between the call to _____ and the call to _____
single-pane
getInputStream()
Application footprint
onCreate() - onDestroy()
6. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
onStop();
searchable configuration
Scroller
AudioManager
7. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
SQLite
LTE
Service Content Provider
Widgets
8. This is used to register and de-register your media button event receiver.
AudioManager
Google Cloud Messaging (GCM)
virtual table
Activity
9. Use this to draw bitmaps.
drawBitmap()
HttpURLConnection
Linux based
ValueAnimator
10. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
touch
onCreate() - onDestroy()
Objects Activity lifecycle
Widgets
11. Callback method: The activity is about to be destroyed.
Layouts
onDestroy();
Application footprint
Google
12. 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.
GET_ACCOUNTS
SearchView
AndroidManifest.xml
Serialize
13. 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
Service Content Provider
onCreate() - onDestroy()
SearchView
Component - screen
14. Conversion of XML back to an object
Dots per inch
HTTP
onCreate();
Deserialize
15. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Stack - back stack
LocationManager
Google Play
Ducking
16. This class is the basis for handling flywheel-style fling gestures.
Scroller
searchable configuration
AndroidManifest.xml
AsyncTask
17. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Geocoder
Android SDK
onCreate() - onDestroy()
onDestroy();
18. It is called to invoke the search dialog on older devices.
ACTION_SEND
AsyncTask
onSearchRequested()
ETC1
19. In order to get a list of accounts on the device - your app needs this permission.
Low power
onMeasure()
HTTP
GET_ACCOUNTS
20. 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
Back stack
onResume();
dual-
21. Are used in activities to create the user interface and to interact with the user.
onCreate() - onDestroy()
Fragments
onCreate();
ActionProvider
22. It is an efficient and maintainable way to parse XML on Android.
Emulator
Deserialize
Canvas
XmlPullParser
23. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Geocoder
Dalvik Debug Monitor Server
SQLite
LocationManager
24. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
onSearchRequested()
AttributeSet
onDraw()
SQLite
25. This is set up to animate for the duration of the fling.
setVolumeControlStream()
Wi-Fi radio
ValueAnimator
isConnected()
26. This class exposes a number of methods for applications to receive location updates.
AsyncTask
HTTP
onMeasure()
LocationManager
27. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Advanced Training
ConnectivityManager
XmlPullParser
GestureDetector
28. Amode where the action bar is set up with tabs for navigation.
Full power
Entire
dual-
Open Handset Alliance
29. Callback method: The activity is being created.
Deserialize
onCreate();
Google Cloud Messaging (GCM)
ViewStub
30. 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?
InputStream
EXTRA_STREAM
ViewStub
Google Cloud Messaging for Android (GCM)
31. 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 _____
onCreate() - onDestroy()
Full power
Open Handset Alliance
resolveSizeAndState()
32. 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()
ValueAnimator
security sandbox
Destroyed - previous
33. On a rooted device - the credentials would be readable by anyone with this access to the device.
adb
onCreate();
Stack - back stack
Component - screen
34. It is a set of rules for encoding documents in machine-readable form.
Entire
<declare-styleable>
Extensible Markup Language (XML)
onCreate() - onDestroy()
35. Represents the visual representation of an Android application
onStop();
Activity
Layouts
Explicit intent
36. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
visible
SecurityException
Entire
ACTION_SEND
37. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
AccountAuthenticatorActivity
Google Cloud Messaging for Android (GCM)
Stack - back stack
ViewStub
38. Shows the actual amount of memory the application uses
Activity
Application footprint
HttpURLConnection
Open Handset Alliance
39. Perform background tasks without providing a user interface
AsyncTask
Hierarchy Viewer
Services
onCreate() - onDestroy()
40. Converts XML Document to XML DOM
SearchView
Full power
Parser
Intents
41. 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
drawText()
BroadcastReceiver
Full power
PackageManager
42. When a new activity starts - it is pushed onto the ____ and takes user focus.
Back stack
LocationManager
Lifecycle callback methods
SQLite
43. 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()
OAuth2
Dalvik Virtual Machine
44. 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
Entire
Advanced Training
Dalvik Debug Monitor Server
45. The minimal energy state during which no network connection is active or required.
AttributeSet
Standby
Service Content Provider
Paint
46. 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.
SettingsActivity
ETC1
onAudioFocusChange()
HTTP
47. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Account
Hierarchy Viewer
OnCurrentItemChanged
HttpURLConnection
48. The most common way to define a layout using views is with an XML layout file saved in your ______
Application resources
Stack
Implicit intent
Activity
49. This is the most common input event in the Android system.
ConnectivityManager
SecurityException
onCreate() - onDestroy()
touch
50. This action is used in sending text content from one activity to another.
Scroller
onStop();
OnCurrentItemChanged
ACTION_SEND