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. The helper method is used to create the final width and height values.
SettingsActivity
resolveSizeAndState()
ACTION_SEND
BroadcastReceiver
2. Sharing of data in Android is done via________
Activity
Service Content Provider
ViewStub
Activity
3. Theseare a key part of Android applications that directly affect the user experience.
touch
BroadcastReceiver
Google Play
Layouts
4. Android provides this handy method to direct volume key presses to the audio stream the user specify.
ViewStub
setVolumeControlStream()
Component - screen
Low power
5. 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.
Wi-Fi radio
Google Cloud Messaging (GCM)
ETC1
OAuth2
6. A styleable entity that contains these two custom attributes: showText and labelPosition.
PieChart
onDestroy();
InputStream
inflate()
7. This widget as an item in the action bar is the preferred way to provide search in your app.
Deserialize
SearchView
Scroller
Intent filters
8. 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.
Application footprint
Activity
BroadcastReceiver
SurfaceHolder.Callback
9. The entire lifetime of an activity happens between the call to _____ and the call to _____
android.hardware.touchscreen
Scroller
onDestroy();
onCreate() - onDestroy()
10. This is an interface which is used to pass image data from the camera hardware to the application.
Stack
SQLiteOpenHelper
Explicit intent
SurfaceHolder.Callback
11. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
Layouts
visible
setVolumeControlStream()
Dalvik Virtual Machine
12. Callback method: The activity is about to be destroyed.
Android SDK
onDestroy();
virtual table
single-pane
13. Conversion of an object to XML
ViewStub
HTTP
Serialize
single-pane
14. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
BackupHelper
Full power
authenticator class
ACTION_DOCK_EVENT
15. This can be used to draw previews of what the camera sensor is picking up.
ActionProvider
SurfaceView
Lifecycle callback methods
Services
16. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Standby
Application footprint
Google Cloud Messaging for Android (GCM)
onStart() - onStop()
17. If permissions are missing - the application will get this at runtime.
ActionProvider
SecurityException
AsyncTask
ETC1
18. This object contains an account name - which for Google accounts is an email address.
Account
single-pane
auth scope
android.hardware.touchscreen
19. Allow to combine loosely coupled components to perform certain tasks
Intents
BroadcastReceiver
BatteryManager
AttributeSet
20. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Serialize
Scroller
AndroidManifest.xml
onDraw()
21. 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?
AttributeSet
LocationManager
onCreate();
Deserialize
22. This class exposes a number of methods for applications to receive location updates.
Widgets
ETC1
onCreate() - onDestroy()
LocationManager
23. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
android.hardware.touchscreen
AsyncTask
Google Cloud Messaging for Android (GCM)
Dalvik Debug Monitor Server
24. This is used to fetch the account names that the user has stored on their device.
Account Manager
Dalvik Virtual Machine
Dalvik Debug Monitor Server
touch
25. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
Activity
HTTP
ShareActionProvider
ConnectivityManager
26. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
Stack - back stack
BroadcastReceiver
BatteryManager
Google Play
27. Shows the actual amount of memory the application uses
onAudioFocusChange()
Scroller
ValueAnimator
Application footprint
28. This is used to check that you're actually connected to the Internet and what type of connection is in place.
BatteryManager
OAuth2 protocol
ConnectivityManager
ACTION_DOCK_EVENT
29. 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.
Full power
PieChart
onStop();
Paint
30. On a rooted device - the credentials would be readable by anyone with this access to the device.
getInputStream()
adb
Standby
Widgets
31. ______ are views derived from ViewGroup that provide a unique layout model for its child views
dual-
Layouts
ConnectivityManager
LocationManager
32. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
searchable configuration
Entire
Google Cloud Messaging (GCM)
Paint
33. The most common way to define a layout using views is with an XML layout file saved in your ______
drawBitmap()
SearchView
ViewStub
Application resources
34. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
authenticator class
ConnectivityManager
SurfaceView
Geocoder
35. Callback method: The activity is no longer visible
BatteryManager
InputStream
LTE
onStop();
36. is run when running Android on the pc
Emulator
onPause();
Fragments
Account
37. It made implementing an effective and user friendly share action in your ActionBar even easier.
AndroidManifest.xml
SQLiteOpenHelper
Extensible Markup Language (XML)
ActionProvider
38. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
Widgets
isConnected()
ValueAnimator
visible
39. These helpers are specialized classes for backing up certain kinds of data.
NetworkInfo
Advanced Training
OAuth2
BackupHelper
40. It is a set of rules for encoding documents in machine-readable form.
BatteryManager
LTE
AttributeSet
Extensible Markup Language (XML)
41. This includes tools to help you identify problems in your layout performance.
HttpURLConnection
Android SDK
Google Cloud Messaging for Android (GCM)
onStop();
42. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
getInputStream()
Google
AudioManager
Stack - back stack
43. It is a subclass of PreferenceActivity.
touch
drawBitmap()
ACTION_DOCK_EVENT
SettingsActivity
44. Once installed on a device - each Android application lives in its own ______
Component - screen
security sandbox
virtual table
onDestroy();
45. It is an efficient and maintainable way to parse XML on Android.
Ducking
XmlPullParser
Service Content Provider
BroadcastReceiver
46. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
Activity
ACTION_DOCK_EVENT
Intent filters
View
47. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
onAudioFocusChange()
inflate()
Intent filters
ViewStub
48. 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 _____
Dalvik Virtual Machine
onCreate() - onDestroy()
Android SDK
Lifecycle callback methods
49. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
BackupHelper
LocationManager
LTE
Lifecycle callback methods
50. It doesn't currently support the <merge/> tag in the layouts to be inflated.
security sandbox
Open Handset Alliance
ViewStub
SearchView