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 inform the system what intents an application component is willing to accept.
Implicit intent
BroadcastReceiver
Intent filters
When the activity resumes
2. When a new activity starts - it is pushed onto the ____ and takes user focus.
Emulator
Widgets
Back stack
Geocoder
3. For example - if your activity has a thread running in the background to download data from the network - it might create that thread in _____ and then stop the thread in _____
Scroller
Google Cloud Messaging for Android (GCM)
onCreate() - onDestroy()
visible
4. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
Activity
ACTION_DOCK_EVENT
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Widgets
5. Android is __________.
Linux based
onCreate() - onDestroy()
drawText()
Fragments
6. 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 ___ .
Paint
EXTRA_STREAM
onCreate() - onDestroy()
Stack
7. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
onCreate() - onDestroy()
Objects Activity lifecycle
Wi-Fi radio
Open Handset Alliance
8. The helper method is used to create the final width and height values.
AsyncTask
resolveSizeAndState()
ConnectivityManager
onMeasure()
9. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
PackageManager
SurfaceHolder.Callback
OnCurrentItemChanged
Canvas
10. This class is the basis for handling flywheel-style fling gestures.
Scroller
Services
Implicit intent
onAudioFocusChange()
11. The entire lifetime of an activity happens between the call to _____ and the call to _____
onSearchRequested()
onStop();
onCreate() - onDestroy()
Application resources
12. In order to get a list of accounts on the device - your app needs this permission.
Account
Service Content Provider
View
GET_ACCOUNTS
13. Callback method: The activity is no longer visible
AttributeSet
onDestroy();
onStop();
resolveSizeAndState()
14. It provides a simple way to perform your work outside the main thread.
Google
Dalvik Virtual Machine
View
AsyncTask
15. Android request its permission using its ________
GestureDetector
Activity
AsyncTask
AndroidManifest.xml
16. A service in which programmers can offer their Android application to Android users.
Destroyed - previous
Hierarchy Viewer
Google Play
Low power
17. It made implementing an effective and user friendly share action in your ActionBar even easier.
Wi-Fi radio
Low power
BatteryManager
ActionProvider
18. Theseare a key part of Android applications that directly affect the user experience.
getInputStream()
Layouts
Full power
ACTION_DOCK_EVENT
19. Relative to pixels and resolution screen
Serialize
ShareActionProvider
visible
Dots per inch
20. It is an efficient and maintainable way to parse XML on Android.
XmlPullParser
LocationManager
setContentView
Dots per inch
21. It is available starting with API Level 14 and higher.
Low power
AsyncTask
ShareActionProvider
touch
22. is run when running Android on the pc
Scroller
inflate()
onSearchRequested()
Emulator
23. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
NetworkInfo
PackageManager
Wi-Fi radio
OAuth2
24. Shows the actual amount of memory the application uses
ActionProvider
Implicit intent
auth scope
Application footprint
25. This is used to convert raw touch events into gestures.
ShareActionProvider
onAudioFocusChange()
Geocoder
GestureDetector
26. The most common way to define a layout using views is with an XML layout file saved in your ______
Wi-Fi radio
Application resources
security sandbox
ACTION_DOCK_EVENT
27. An open source group led by Google
Open Handset Alliance
AsyncTask
ETC1
BackupHelper
28. 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
onSearchRequested()
Destroyed - previous
HTTP
Activity
29. On a rooted device - the credentials would be readable by anyone with this access to the device.
Serialize
adb
NetworkInfo
Dalvik Virtual Machine
30. 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?
Entire
EXTRA_STREAM
Account
Paint
31. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
BatteryManager
Dots per inch
onDraw()
SurfaceView
32. This is used to fetch the account names that the user has stored on their device.
getInputStream()
authenticator class
Account Manager
BroadcastReceiver
33. It is a set of rules for encoding documents in machine-readable form.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
SecurityException
Low power
Extensible Markup Language (XML)
34. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
Objects Activity lifecycle
authenticator class
AndroidManifest.xml
Canvas
35. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
virtual table
SearchView
Serialize
Entire
36. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
ACTION_DOCK_EVENT
SurfaceHolder.Callback
getInputStream()
AccountAuthenticatorActivity
37. You can set the layout as the UI for your activity with passing the resource ID for the layout.
ACTION_DOCK_EVENT
ETC1
setContentView
Dots per inch
38. It is a subclass of PreferenceActivity.
Intent filters
BackupHelper
SettingsActivity
GestureDetector
39. 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.
SearchView
Wi-Fi radio
ACTION_SEND
onCreate() - onDestroy()
40. It is the process of lowering your audio stream output volume to make transient audio from another app easier to hear without totally disrupting the audio from your own application.
Ducking
setVolumeControlStream()
AbstractAccountAuthenticator
resolveSizeAndState()
41. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
onSearchRequested()
Activity
Layouts
HttpURLConnection
42. The minimal energy state during which no network connection is active or required.
BatteryManager
Widgets
Standby
ACTION_DOCK_EVENT
43. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
BroadcastReceiver
Geocoder
touch
onDestroy();
44. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Hierarchy Viewer
dual-
SecurityException
45. In most cases this will offer greater bandwidth at a significantly lower battery cost.
LocationManager
AccountAuthenticatorActivity
Wi-Fi radio
android.hardware.touchscreen
46. A styleable entity that contains these two custom attributes: showText and labelPosition.
android.hardware.touchscreen
Application footprint
PieChart
Geocoder
47. Use this to draw text.
drawText()
OAuth2 protocol
Linux based
android.hardware.touchscreen
48. It is a string that defines the specific type of access your app is asking for.
Geocoder
onDestroy();
LTE
auth scope
49. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Emulator
Open Handset Alliance
OnCurrentItemChanged
View
50. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Account
Geocoder
AbstractAccountAuthenticator
auth scope