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. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
Google Cloud Messaging for Android (GCM)
View
onDraw()
ViewStub
2. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
ACTION_DOCK_EVENT
inflate()
ConnectivityManager
Standby
3. This is the main class through which your application can access location services on Android.
LocationManager
InputStream
PieChart
ValueAnimator
4. Allow to combine loosely coupled components to perform certain tasks
Low power
Activity
Stack
Intents
5. This broadcasts an action whenever the device is connected or disconnected from power.
Account
ConnectivityManager
EXTRA_STREAM
BatteryManager
6. It is called to invoke the search dialog on older devices.
onSearchRequested()
AndroidManifest.xml
Fragments
ViewStub
7. Sharing of data in Android is done via________
Service Content Provider
ActionProvider
Intent filters
Android SDK
8. Perform background tasks without providing a user interface
Linux based
ConnectivityManager
visible
Services
9. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Lifecycle callback methods
Destroyed - previous
Scroller
Google Play
10. The helper method is used to create the final width and height values.
<declare-styleable>
Activity
resolveSizeAndState()
Canvas
11. This object contains an account name - which for Google accounts is an email address.
authenticator class
Account
AndroidManifest.xml
HttpURLConnection
12. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
security sandbox
onResume();
HttpURLConnection
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
13. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Canvas
BroadcastReceiver
ACTION_SEND
Google
14. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
searchable configuration
onStart() - onStop()
View
Fragments
15. If permissions are missing - the application will get this at runtime.
SecurityException
AsyncTask
Google Play
SurfaceHolder.Callback
16. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
getInputStream()
HttpURLConnection
onCreate() - onDestroy()
onStart() - onStop()
17. Most network-connected Android apps use this to send and receive data.
HTTP
onMeasure()
LTE
onCreate();
18. This includes tools to help you identify problems in your layout performance.
ACTION_SEND
Android SDK
ConnectivityManager
BackupHelper
19. An intermediate state that uses around 50% of the battery power at the full state.
Advanced Training
Low power
ETC1
AbstractAccountAuthenticator
20. Use this to draw text.
EXTRA_STREAM
Paint
drawText()
onPause();
21. It is a subclass of PreferenceActivity.
ACTION_DOCK_EVENT
Full power
SettingsActivity
single-pane
22. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
Extensible Markup Language (XML)
Google Cloud Messaging for Android (GCM)
AccountAuthenticatorActivity
Google
23. These helpers are specialized classes for backing up certain kinds of data.
searchable configuration
LocationManager
BackupHelper
OAuth2
24. 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
drawBitmap()
Scroller
When the activity resumes
25. 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?
BatteryManager
EXTRA_STREAM
Destroyed - previous
Linux based
26. The most common way to define a layout using views is with an XML layout file saved in your ______
onCreate() - onDestroy()
Application resources
Component - screen
onMeasure()
27. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Low power
Widgets
SQLite
Advanced Training
28. This is used to check that you're actually connected to the Internet and what type of connection is in place.
Objects Activity lifecycle
Google Cloud Messaging for Android (GCM)
ConnectivityManager
LocationManager
29. Converts XML Document to XML DOM
Low power
Parser
ValueAnimator
Dots per inch
30. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Implicit intent
onCreate() - onDestroy()
Google Cloud Messaging for Android (GCM)
onStart() - onStop()
31. In most cases this will offer greater bandwidth at a significantly lower battery cost.
GET_ACCOUNTS
Wi-Fi radio
AudioManager
AbstractAccountAuthenticator
32. An open source stand alone database
ActionProvider
SQLite
Services
android.hardware.touchscreen
33. This class provides one of the simplest ways to fire off a new task from the UI thread.
LocationManager
auth scope
When the activity resumes
AsyncTask
34. To define custom attributes - add this resources to your project.
searchable configuration
<declare-styleable>
ValueAnimator
auth scope
35. Conversion of XML back to an object
Fragments
onStop();
Deserialize
LocationManager
36. The back stack abides to the basic "last in - first out" stack mechanism - so - when the user is done with the current activity and presses the Back button - it is popped from the stack (and ____) and the ____ activity resumes
Destroyed - previous
onDraw()
dual-
SQLiteOpenHelper
37. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
PackageManager
security sandbox
SQLiteOpenHelper
onPause();
38. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
SQLite
onCreate() - onDestroy()
NetworkInfo
39. Conversion of an object to XML
Objects Activity lifecycle
Serialize
Wi-Fi radio
Widgets
40. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
onStart() - onStop()
onDestroy();
SecurityException
onAudioFocusChange()
41. Callback method: The activity is no longer visible.
Fragments
Dalvik Virtual Machine
onCreate();
onStop();
42. Android provides this handy method to direct volume key presses to the audio stream the user specify.
setVolumeControlStream()
Full power
Deserialize
Layouts
43. 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
Explicit intent
PackageManager
Service Content Provider
SecurityException
44. A mode where navigation is set up with a spinner widget.
LocationManager
SQLite
Open Handset Alliance
single-pane
45. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
Android SDK
Application footprint
Entire
authenticator class
46. It is a free service for sending messages to Android devices.
Lifecycle callback methods
SQLite
ACTION_DOCK_EVENT
Google Cloud Messaging (GCM)
47. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Dalvik Debug Monitor Server
Linux based
Google Cloud Messaging (GCM)
SQLiteOpenHelper
48. This is the most common input event in the Android system.
AttributeSet
Dalvik Virtual Machine
onStart() - onStop()
touch
49. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
isConnected()
onSearchRequested()
View
Hierarchy Viewer
50. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
AsyncTask
OAuth2
resolveSizeAndState()
isConnected()