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. Where Android is currently primarily developed
dual-
SecurityException
Stack - back stack
Google
2. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
Activity
resolveSizeAndState()
Scroller
When the activity resumes
3. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
BroadcastReceiver
AccountAuthenticatorActivity
getInputStream()
ETC1
4. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
touch
HttpURLConnection
Wi-Fi radio
ConnectivityManager
5. Android request its permission using its ________
drawText()
setContentView
Intent filters
AndroidManifest.xml
6. This is set up to animate for the duration of the fling.
ViewStub
Widgets
AsyncTask
ValueAnimator
7. In order to get a list of accounts on the device - your app needs this permission.
Widgets
auth scope
GET_ACCOUNTS
Service Content Provider
8. A service in which programmers can offer their Android application to Android users.
PieChart
resolveSizeAndState()
Google Play
Back stack
9. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
Layouts
ViewStub
Google Play
ETC1
10. Necessary tools to develop Android applications
Service Content Provider
OAuth2 protocol
Android SDK
Parser
11. It is called to invoke the search dialog on older devices.
BroadcastReceiver
onSearchRequested()
Activity
ValueAnimator
12. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
LTE
Services
searchable configuration
GET_ACCOUNTS
13. 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
PackageManager
Implicit intent
AbstractAccountAuthenticator
ACTION_SEND
14. Allow to combine loosely coupled components to perform certain tasks
Extensible Markup Language (XML)
SearchView
Google
Intents
15. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
onPause();
Canvas
ACTION_SEND
BroadcastReceiver
16. 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.
SecurityException
Dots per inch
Intent filters
Paint
17. An open source group led by Google
Emulator
Open Handset Alliance
Ducking
Activity
18. To create an activity - you must create a subclass of
Linux based
Stack - back stack
Fragments
Activity
19. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Deserialize
Full power
Canvas
AudioManager
20. Shows the actual amount of memory the application uses
getInputStream()
Application footprint
Google Play
ValueAnimator
21. Converts XML Document to XML DOM
Dalvik Debug Monitor Server
virtual table
Scroller
Parser
22. This is the simplest way to monitor device state changes.
BroadcastReceiver
ShareActionProvider
ActionProvider
Back stack
23. The industry standard way to deal with authentication to third-party services.
Account Manager
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
OAuth2 protocol
BackupHelper
24. 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?
EXTRA_STREAM
BroadcastReceiver
Intent filters
PieChart
25. It is a string that defines the specific type of access your app is asking for.
getInputStream()
onMeasure()
Google Cloud Messaging for Android (GCM)
auth scope
26. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
onCreate() - onDestroy()
Advanced Training
Activity
Services
27. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
authenticator class
onResume();
onDraw()
Component - screen
28. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Implicit intent
Google Play
Hierarchy Viewer
NetworkInfo
29. 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 ___ .
Stack
ACTION_DOCK_EVENT
SQLite
Explicit intent
30. It doesn't currently support the <merge/> tag in the layouts to be inflated.
Extensible Markup Language (XML)
AsyncTask
Lifecycle callback methods
ViewStub
31. Conversion of an object to XML
BroadcastReceiver
Fragments
ConnectivityManager
Serialize
32. Amode where the action bar is set up with tabs for navigation.
dual-
getInputStream()
onStop();
visible
33. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Destroyed - previous
adb
Wi-Fi radio
Parser
34. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
Entire
virtual table
authenticator class
XmlPullParser
35. This is used to fetch the account names that the user has stored on their device.
SearchView
touch
Account Manager
HTTP
36. Callback method: The activity is about to be destroyed.
ShareActionProvider
Widgets
PieChart
onDestroy();
37. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
SearchView
auth scope
Back stack
38. Callback method: The activity is being created.
Objects Activity lifecycle
onCreate();
onAudioFocusChange()
Application footprint
39. It provides a simple way to perform your work outside the main thread.
onDestroy();
Emulator
AsyncTask
Paint
40. Android provides this handy method to direct volume key presses to the audio stream the user specify.
ViewStub
setVolumeControlStream()
SQLite
Google Cloud Messaging for Android (GCM)
41. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
Fragments
inflate()
AsyncTask
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
42. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Objects Activity lifecycle
onStart() - onStop()
Activity
Android SDK
43. You can set the layout as the UI for your activity with passing the resource ID for the layout.
ACTION_DOCK_EVENT
authenticator class
EXTRA_STREAM
setContentView
44. 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
setContentView
Services
single-pane
45. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
Linux based
AccountAuthenticatorActivity
Wi-Fi radio
ACTION_DOCK_EVENT
46. This action is used in sending text content from one activity to another.
ACTION_SEND
InputStream
Scroller
Application resources
47. The minimal energy state during which no network connection is active or required.
ViewStub
GestureDetector
Standby
Android SDK
48. It provides a single value - called an auth token that represents both the user's identity and the application's authorization to act on the user's behalf.
AsyncTask
OAuth2
ActionProvider
Geocoder
49. This includes tools to help you identify problems in your layout performance.
NetworkInfo
Extensible Markup Language (XML)
Android SDK
single-pane
50. It made implementing an effective and user friendly share action in your ActionBar even easier.
onMeasure()
ActionProvider
AsyncTask
Google Cloud Messaging for Android (GCM)