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. ______ are views derived from ViewGroup that provide a unique layout model for its child views
ETC1
Layouts
Activity
AndroidManifest.xml
2. The visible lifetime of an activity happens between the call to ____ and the call to ______
HTTP
onStart() - onStop()
ConnectivityManager
Wi-Fi radio
3. These helpers are specialized classes for backing up certain kinds of data.
ConnectivityManager
Emulator
BackupHelper
Dalvik Debug Monitor Server
4. This includes tools to help you identify problems in your layout performance.
setVolumeControlStream()
Wi-Fi radio
Layouts
Android SDK
5. When a new activity starts - it is pushed onto the ____ and takes user focus.
Account Manager
Back stack
Canvas
Layouts
6. 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.
When the activity resumes
Geocoder
Activity
authenticator class
7. An open source group led by Google
security sandbox
Open Handset Alliance
Activity
Ducking
8. For example - a ____ might be a button that initiates an action when the user touches it.
View
inflate()
setVolumeControlStream()
EXTRA_STREAM
9. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Dalvik Debug Monitor Server
ViewStub
Geocoder
ActionProvider
10. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
touch
Advanced Training
visible
Stack - back stack
11. In order to get a list of accounts on the device - your app needs this permission.
LocationManager
SQLiteOpenHelper
onDestroy();
GET_ACCOUNTS
12. 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?
onDestroy();
ConnectivityManager
EXTRA_STREAM
<declare-styleable>
13. 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 ___ .
Stack
XmlPullParser
LocationManager
Android SDK
14. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
onPause();
Canvas
Objects Activity lifecycle
SurfaceHolder.Callback
15. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
ACTION_DOCK_EVENT
AccountAuthenticatorActivity
AsyncTask
Account Manager
16. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
SearchView
SettingsActivity
AbstractAccountAuthenticator
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
17. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
Intents
ConnectivityManager
android.hardware.touchscreen
BroadcastReceiver
18. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Emulator
OnCurrentItemChanged
onStop();
GET_ACCOUNTS
19. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
GestureDetector
Dalvik Debug Monitor Server
Emulator
Dalvik Virtual Machine
20. Callback method: The activity is no longer visible
Dots per inch
onAudioFocusChange()
onCreate() - onDestroy()
onStop();
21. 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.
adb
SearchView
Scroller
android.hardware.touchscreen
22. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
setVolumeControlStream()
onStart() - onStop()
isConnected()
Account
23. Conversion of an object to XML
Serialize
ConnectivityManager
Stack
AbstractAccountAuthenticator
24. 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
OAuth2
Component - screen
Implicit intent
onCreate() - onDestroy()
25. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
ActionProvider
SQLiteOpenHelper
security sandbox
26. 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.
onDraw()
Paint
EXTRA_STREAM
BroadcastReceiver
27. Amode where the action bar is set up with tabs for navigation.
AndroidManifest.xml
dual-
Canvas
ACTION_DOCK_EVENT
28. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
onCreate() - onDestroy()
ViewStub
searchable configuration
OAuth2 protocol
29. To define custom attributes - add this resources to your project.
Android SDK
Parser
touch
<declare-styleable>
30. It is a set of rules for encoding documents in machine-readable form.
Extensible Markup Language (XML)
dual-
ETC1
SQLiteOpenHelper
31. It provides a simple way to perform your work outside the main thread.
AsyncTask
BatteryManager
SecurityException
SurfaceHolder.Callback
32. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
SettingsActivity
Lifecycle callback methods
onStop();
ConnectivityManager
33. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Services
Canvas
EXTRA_STREAM
Google Cloud Messaging for Android (GCM)
34. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
Fragments
BroadcastReceiver
getInputStream()
Wi-Fi radio
35. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
ACTION_SEND
Intents
InputStream
View
36. is run when running Android on the pc
SurfaceView
onStop();
<declare-styleable>
Emulator
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 _____
onCreate() - onDestroy()
Widgets
Google Cloud Messaging (GCM)
SQLiteOpenHelper
38. Once installed on a device - each Android application lives in its own ______
Scroller
When the activity resumes
security sandbox
Entire
39. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
drawBitmap()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
onDraw()
Entire
40. _____ 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
onMeasure()
Widgets
ValueAnimator
41. This is used to convert raw touch events into gestures.
NetworkInfo
GestureDetector
Explicit intent
Objects Activity lifecycle
42. It is an efficient and maintainable way to parse XML on Android.
SQLiteOpenHelper
XmlPullParser
SecurityException
Fragments
43. The most common way to define a layout using views is with an XML layout file saved in your ______
Application resources
SQLite
BroadcastReceiver
inflate()
44. Are used in activities to create the user interface and to interact with the user.
LocationManager
Fragments
ShareActionProvider
Activity
45. Where Android is currently primarily developed
AsyncTask
Google
ValueAnimator
HTTP
46. A service in which programmers can offer their Android application to Android users.
BroadcastReceiver
Google Play
drawText()
OAuth2 protocol
47. It is a subclass of PreferenceActivity.
Emulator
SettingsActivity
Low power
touch
48. You can set the layout as the UI for your activity with passing the resource ID for the layout.
Widgets
onMeasure()
setContentView
Activity
49. This is used to register and de-register your media button event receiver.
Activity
setVolumeControlStream()
AudioManager
Service Content Provider
50. Represents the visual representation of an Android application
GET_ACCOUNTS
Ducking
Activity
GestureDetector