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
LTE
View
AsyncTask
2. Shows the actual amount of memory the application uses
Account
Application footprint
onDraw()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
3. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
Activity
Standby
AccountAuthenticatorActivity
View
4. Converts XML Document to XML DOM
ActionProvider
Android SDK
Parser
ACTION_DOCK_EVENT
5. Evaluation of registered components
Paint
Lifecycle callback methods
ACTION_DOCK_EVENT
Implicit intent
6. Once installed on a device - each Android application lives in its own ______
GestureDetector
security sandbox
onSearchRequested()
SurfaceHolder.Callback
7. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
BatteryManager
onPause();
Google Play
ConnectivityManager
8. It is a string that defines the specific type of access your app is asking for.
PackageManager
isConnected()
Parser
auth scope
9. Perform background tasks without providing a user interface
Services
Service Content Provider
Geocoder
AccountAuthenticatorActivity
10. This widget as an item in the action bar is the preferred way to provide search in your app.
PackageManager
SearchView
Dalvik Virtual Machine
ValueAnimator
11. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Ducking
Objects Activity lifecycle
View
12. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
ValueAnimator
Layouts
PackageManager
HttpURLConnection
13. This is used to register and de-register your media button event receiver.
PieChart
AudioManager
Paint
Component - screen
14. Android system uses a special virtual machine to run java based applicatons
Application resources
Application footprint
Stack
Dalvik Virtual Machine
15. This broadcasts an action whenever the device is connected or disconnected from power.
SearchView
Google Play
BatteryManager
Intent filters
16. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
ActionProvider
Parser
View
inflate()
17. Necessary tools to develop Android applications
Dalvik Debug Monitor Server
Google Play
Android SDK
AccountAuthenticatorActivity
18. An open source group led by Google
SQLiteOpenHelper
Open Handset Alliance
Android SDK
AccountAuthenticatorActivity
19. 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 ___ .
Back stack
ConnectivityManager
Application resources
Stack
20. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
onCreate() - onDestroy()
Stack - back stack
Lifecycle callback methods
21. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
BroadcastReceiver
onPause();
Widgets
Android SDK
22. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
Widgets
searchable configuration
drawText()
NetworkInfo
23. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
Google Play
single-pane
BroadcastReceiver
ConnectivityManager
24. This class is the basis for handling flywheel-style fling gestures.
dual-
searchable configuration
Scroller
AndroidManifest.xml
25. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
ACTION_DOCK_EVENT
onStart() - onStop()
Extensible Markup Language (XML)
visible
26. 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
Objects Activity lifecycle
SecurityException
Standby
Destroyed - previous
27. In most cases this will offer greater bandwidth at a significantly lower battery cost.
dual-
Wi-Fi radio
onCreate() - onDestroy()
Activity
28. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
When the activity resumes
AudioManager
AsyncTask
Services
29. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
getInputStream()
ACTION_DOCK_EVENT
SQLite
Intents
30. This action is used in sending text content from one activity to another.
ACTION_SEND
ShareActionProvider
AsyncTask
Scroller
31. You can set the layout as the UI for your activity with passing the resource ID for the layout.
Emulator
When the activity resumes
setContentView
touch
32. Callback method: The activity has become visible.
Extensible Markup Language (XML)
View
ConnectivityManager
onResume();
33. This is the simplest way to monitor device state changes.
BroadcastReceiver
Application footprint
inflate()
Fragments
34. Allow to combine loosely coupled components to perform certain tasks
Intents
Android SDK
onSearchRequested()
dual-
35. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
onCreate() - onDestroy()
Advanced Training
onDestroy();
Implicit intent
36. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Activity
Layouts
Dalvik Debug Monitor Server
Intent filters
37. The industry standard way to deal with authentication to third-party services.
onCreate() - onDestroy()
OAuth2 protocol
ACTION_DOCK_EVENT
Explicit intent
38. This object contains an account name - which for Google accounts is an email address.
AccountAuthenticatorActivity
Account
Low power
resolveSizeAndState()
39. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Full power
Dalvik Debug Monitor Server
Stack - back stack
Account
40. Where Android is currently primarily developed
Google
Parser
Linux based
Activity
41. Use this to draw text.
drawText()
LTE
ValueAnimator
Google Cloud Messaging (GCM)
42. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
SecurityException
Hierarchy Viewer
onResume();
Dalvik Debug Monitor Server
43. If permissions are missing - the application will get this at runtime.
Google
SecurityException
ACTION_DOCK_EVENT
LTE
44. A styleable entity that contains these two custom attributes: showText and labelPosition.
SurfaceView
Google
PieChart
Objects Activity lifecycle
45. This is the main class through which your application can access location services on Android.
LocationManager
onDraw()
Open Handset Alliance
AsyncTask
46. This is set up to animate for the duration of the fling.
Geocoder
ValueAnimator
onCreate();
Fragments
47. 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.
PieChart
Objects Activity lifecycle
Paint
AsyncTask
48. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
LTE
View
InputStream
Emulator
49. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
searchable configuration
Parser
ViewStub
SettingsActivity
50. 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?
Dalvik Debug Monitor Server
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Intents
EXTRA_STREAM