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. 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
Dots per inch
Standby
SQLiteOpenHelper
2. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
BroadcastReceiver
LTE
Lifecycle callback methods
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
3. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Linux based
SearchView
Objects Activity lifecycle
AccountAuthenticatorActivity
4. This is used for the need of finer control over your view's layout parameters.
searchable configuration
Parser
Linux based
onMeasure()
5. If permissions are missing - the application will get this at runtime.
OnCurrentItemChanged
SecurityException
Explicit intent
Dots per inch
6. This object contains an account name - which for Google accounts is an email address.
SearchView
Account
HttpURLConnection
Layouts
7. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
ConnectivityManager
When the activity resumes
Component - screen
Widgets
8. It is available starting with API Level 14 and higher.
ShareActionProvider
BatteryManager
OAuth2
XmlPullParser
9. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
Android SDK
isConnected()
BatteryManager
PieChart
10. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
BatteryManager
AbstractAccountAuthenticator
dual-
onCreate() - onDestroy()
11. This is used to check that you're actually connected to the Internet and what type of connection is in place.
Application resources
security sandbox
ConnectivityManager
onMeasure()
12. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
authenticator class
Back stack
ACTION_DOCK_EVENT
ShareActionProvider
13. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
onDestroy();
AbstractAccountAuthenticator
Activity
ConnectivityManager
14. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
onStop();
Emulator
HttpURLConnection
Intents
15. Theseare a key part of Android applications that directly affect the user experience.
Layouts
onDraw()
Geocoder
setContentView
16. It inform the system what intents an application component is willing to accept.
onResume();
PackageManager
LocationManager
Intent filters
17. Relative to pixels and resolution screen
Linux based
Dots per inch
adb
OnCurrentItemChanged
18. The visible lifetime of an activity happens between the call to ____ and the call to ______
setContentView
Low power
onResume();
onStart() - onStop()
19. 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
ConnectivityManager
Activity
Stack
20. This is set up to animate for the duration of the fling.
ViewStub
onCreate() - onDestroy()
Activity
ValueAnimator
21. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
SQLiteOpenHelper
Services
AttributeSet
ConnectivityManager
22. 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.
SQLiteOpenHelper
onSearchRequested()
isConnected()
SearchView
23. This is used to convert raw touch events into gestures.
GestureDetector
ACTION_DOCK_EVENT
Account
resolveSizeAndState()
24. This class is the basis for handling flywheel-style fling gestures.
SurfaceHolder.Callback
Scroller
Dots per inch
Android SDK
25. Sharing of data in Android is done via________
Service Content Provider
drawText()
Wi-Fi radio
SQLite
26. It is a string that defines the specific type of access your app is asking for.
SurfaceHolder.Callback
auth scope
ShareActionProvider
onCreate() - onDestroy()
27. Are used in activities to create the user interface and to interact with the user.
LocationManager
Ducking
Fragments
auth scope
28. This is the main class through which your application can access location services on Android.
onCreate();
LocationManager
Destroyed - previous
Objects Activity lifecycle
29. This is the most common input event in the Android system.
<declare-styleable>
touch
SettingsActivity
Fragments
30. Necessary tools to develop Android applications
ViewStub
Android SDK
onResume();
Account Manager
31. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Google
BatteryManager
Extensible Markup Language (XML)
Dalvik Debug Monitor Server
32. It is a set of rules for encoding documents in machine-readable form.
Standby
onAudioFocusChange()
Widgets
Extensible Markup Language (XML)
33. Evaluation of registered components
isConnected()
ACTION_DOCK_EVENT
Implicit intent
security sandbox
34. Allow to combine loosely coupled components to perform certain tasks
Implicit intent
Intents
ACTION_DOCK_EVENT
onStart() - onStop()
35. Use this to draw bitmaps.
Wi-Fi radio
drawBitmap()
Component - screen
Objects Activity lifecycle
36. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Google Cloud Messaging for Android (GCM)
ACTION_SEND
Intents
onStart() - onStop()
37. To define custom attributes - add this resources to your project.
Activity
SettingsActivity
<declare-styleable>
ACTION_DOCK_EVENT
38. It is a free service for sending messages to Android devices.
Advanced Training
Stack
onCreate();
Google Cloud Messaging (GCM)
39. This widget as an item in the action bar is the preferred way to provide search in your app.
SearchView
onSearchRequested()
SurfaceHolder.Callback
BroadcastReceiver
40. Converts XML Document to XML DOM
SearchView
AttributeSet
Emulator
Parser
41. Android provides this handy method to direct volume key presses to the audio stream the user specify.
ConnectivityManager
setVolumeControlStream()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
searchable configuration
42. Callback method: The activity is no longer visible.
onStop();
onAudioFocusChange()
Activity
SearchView
43. Represents the visual representation of an Android application
Full power
Activity
LTE
authenticator class
44. This can be used to draw previews of what the camera sensor is picking up.
Parser
SurfaceView
onAudioFocusChange()
Canvas
45. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
InputStream
inflate()
auth scope
Scroller
46. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
Lifecycle callback methods
virtual table
SurfaceView
dual-
47. You can set the layout as the UI for your activity with passing the resource ID for the layout.
setContentView
Ducking
Dots per inch
ShareActionProvider
48. Where Android is currently primarily developed
Destroyed - previous
Objects Activity lifecycle
onDraw()
Google
49. In most cases this will offer greater bandwidth at a significantly lower battery cost.
android.hardware.touchscreen
Wi-Fi radio
AbstractAccountAuthenticator
AccountAuthenticatorActivity
50. It is used to load images in a background thread - then apply them to the UI once finished.
dual-
resolveSizeAndState()
adb
AsyncTask