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. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
Component - screen
Hierarchy Viewer
AsyncTask
LTE
2. Perform background tasks without providing a user interface
Serialize
onCreate();
Wi-Fi radio
Services
3. This includes tools to help you identify problems in your layout performance.
onCreate() - onDestroy()
Android SDK
Wi-Fi radio
SQLiteOpenHelper
4. This is used to convert raw touch events into gestures.
GestureDetector
PieChart
Stack - back stack
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
5. 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.
Component - screen
InputStream
Paint
ETC1
6. Android is __________.
BatteryManager
Linux based
single-pane
Deserialize
7. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
Deserialize
Android SDK
AndroidManifest.xml
onAudioFocusChange()
8. Are used in activities to create the user interface and to interact with the user.
Explicit intent
inflate()
EXTRA_STREAM
Fragments
9. Callback method: The activity is no longer visible
<declare-styleable>
onDraw()
onStop();
SurfaceHolder.Callback
10. It doesn't currently support the <merge/> tag in the layouts to be inflated.
NetworkInfo
ViewStub
Explicit intent
SurfaceHolder.Callback
11. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
Scroller
ACTION_SEND
authenticator class
Ducking
12. A styleable entity that contains these two custom attributes: showText and labelPosition.
PieChart
isConnected()
View
authenticator class
13. Sharing of data in Android is done via________
single-pane
Account
Service Content Provider
getInputStream()
14. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
<declare-styleable>
Lifecycle callback methods
ViewStub
Standby
15. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
isConnected()
Wi-Fi radio
SQLiteOpenHelper
inflate()
16. It made implementing an effective and user friendly share action in your ActionBar even easier.
Paint
BackupHelper
BroadcastReceiver
ActionProvider
17. Use this to draw bitmaps.
Stack - back stack
inflate()
ViewStub
drawBitmap()
18. The entire lifetime of an activity happens between the call to _____ and the call to _____
ConnectivityManager
NetworkInfo
onCreate() - onDestroy()
OAuth2
19. Callback method: The activity is being created.
onCreate();
OAuth2 protocol
Paint
Extensible Markup Language (XML)
20. It is a subclass of PreferenceActivity.
ValueAnimator
onCreate() - onDestroy()
OnCurrentItemChanged
SettingsActivity
21. Use this to draw text.
drawText()
XmlPullParser
Canvas
View
22. This object contains an account name - which for Google accounts is an email address.
Hierarchy Viewer
Account
AudioManager
auth scope
23. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
SurfaceView
virtual table
ACTION_SEND
Widgets
24. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
getInputStream()
onStop();
View
searchable configuration
25. In order to get a list of accounts on the device - your app needs this permission.
Back stack
<declare-styleable>
GET_ACCOUNTS
Application resources
26. Most network-connected Android apps use this to send and receive data.
HTTP
BatteryManager
visible
Intents
27. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
Service Content Provider
Component - screen
ACTION_SEND
28. An open source stand alone database
SQLite
single-pane
Application footprint
Account
29. This action is used in sending text content from one activity to another.
Stack
onDraw()
OnCurrentItemChanged
ACTION_SEND
30. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
onStart() - onStop()
AsyncTask
InputStream
ConnectivityManager
31. The industry standard way to deal with authentication to third-party services.
OAuth2 protocol
Emulator
Google Cloud Messaging (GCM)
PieChart
32. It is a free service for sending messages to Android devices.
Google Cloud Messaging (GCM)
BroadcastReceiver
drawBitmap()
ACTION_DOCK_EVENT
33. Converts XML Document to XML DOM
EXTRA_STREAM
Stack
Parser
Open Handset Alliance
34. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
Full power
Stack - back stack
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Scroller
35. It is a set of rules for encoding documents in machine-readable form.
Paint
Objects Activity lifecycle
Extensible Markup Language (XML)
Activity
36. This class exposes a number of methods for applications to receive location updates.
Dalvik Virtual Machine
Application footprint
LocationManager
GET_ACCOUNTS
37. An open source group led by Google
Google Cloud Messaging for Android (GCM)
Open Handset Alliance
Stack - back stack
ShareActionProvider
38. 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.
ACTION_SEND
Activity
Services
ETC1
39. 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
AbstractAccountAuthenticator
PackageManager
Emulator
onStart() - onStop()
40. Callback method: Another activity is taking focus
onPause();
GestureDetector
Parser
setContentView
41. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
setContentView
Geocoder
visible
Intents
42. When a new activity starts - it is pushed onto the ____ and takes user focus.
Android SDK
Back stack
LTE
BackupHelper
43. Callback method: The activity has become visible.
SQLite
onResume();
Dalvik Virtual Machine
onCreate() - onDestroy()
44. This is the simplest way to monitor device state changes.
BroadcastReceiver
AndroidManifest.xml
Application footprint
onCreate() - onDestroy()
45. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
OAuth2
Entire
inflate()
AccountAuthenticatorActivity
46. It provides a simple way to perform your work outside the main thread.
Google Cloud Messaging for Android (GCM)
AsyncTask
Dots per inch
onStop();
47. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
ETC1
onCreate() - onDestroy()
Application footprint
resolveSizeAndState()
48. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Android SDK
Widgets
AsyncTask
android.hardware.touchscreen
49. Conversion of an object to XML
Dots per inch
SearchView
Serialize
onStart() - onStop()
50. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
EXTRA_STREAM
inflate()
Low power
Geocoder