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. Sharing of data in Android is done via________
Service Content Provider
Layouts
AsyncTask
security sandbox
2. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Component - screen
Services
android.hardware.touchscreen
Widgets
3. This can be used to draw previews of what the camera sensor is picking up.
Google Play
Objects Activity lifecycle
authenticator class
SurfaceView
4. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
ConnectivityManager
onDestroy();
Destroyed - previous
SurfaceHolder.Callback
5. A mode where navigation is set up with a spinner widget.
onCreate() - onDestroy()
Google Cloud Messaging for Android (GCM)
Implicit intent
single-pane
6. 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?
onMeasure()
ValueAnimator
Account
EXTRA_STREAM
7. 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
onDestroy();
InputStream
Standby
8. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
SearchView
BatteryManager
LTE
onMeasure()
9. 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 _____
onCreate() - onDestroy()
Service Content Provider
HttpURLConnection
onDestroy();
10. 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
Parser
ShareActionProvider
Layouts
11. Callback method: The activity is being created.
Services
ACTION_DOCK_EVENT
onCreate();
adb
12. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
When the activity resumes
AccountAuthenticatorActivity
<declare-styleable>
Intent filters
13. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
AudioManager
Lifecycle callback methods
OAuth2
authenticator class
14. This object contains an account name - which for Google accounts is an email address.
BackupHelper
Account
onCreate() - onDestroy()
adb
15. Amode where the action bar is set up with tabs for navigation.
drawBitmap()
PieChart
dual-
AsyncTask
16. An open source stand alone database
SQLite
Hierarchy Viewer
searchable configuration
onCreate() - onDestroy()
17. If permissions are missing - the application will get this at runtime.
Application resources
SecurityException
<declare-styleable>
dual-
18. 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
Emulator
single-pane
Geocoder
19. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
Emulator
AbstractAccountAuthenticator
Dalvik Debug Monitor Server
isConnected()
20. A service in which programmers can offer their Android application to Android users.
Activity
Dots per inch
AccountAuthenticatorActivity
Google Play
21. This is set up to animate for the duration of the fling.
Dalvik Virtual Machine
ValueAnimator
onCreate();
onSearchRequested()
22. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
OnCurrentItemChanged
Stack
GET_ACCOUNTS
Fragments
23. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
Open Handset Alliance
visible
dual-
Component - screen
24. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
Advanced Training
OAuth2 protocol
BroadcastReceiver
Implicit intent
25. 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.
Scroller
BroadcastReceiver
BroadcastReceiver
Ducking
26. Where Android is currently primarily developed
PackageManager
ConnectivityManager
Destroyed - previous
Google
27. It is available starting with API Level 14 and higher.
single-pane
ShareActionProvider
Deserialize
Account
28. Callback method: The activity is no longer visible.
NetworkInfo
SettingsActivity
Explicit intent
onStop();
29. You can set the layout as the UI for your activity with passing the resource ID for the layout.
isConnected()
setContentView
onCreate();
Google
30. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
ViewStub
AsyncTask
LTE
PieChart
31. These helpers are specialized classes for backing up certain kinds of data.
BackupHelper
AndroidManifest.xml
Stack - back stack
BatteryManager
32. When a new activity starts - it is pushed onto the ____ and takes user focus.
HttpURLConnection
Back stack
ShareActionProvider
onCreate() - onDestroy()
33. The helper method is used to create the final width and height values.
setVolumeControlStream()
BatteryManager
resolveSizeAndState()
Service Content Provider
34. 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.
Entire
Paint
Explicit intent
PackageManager
35. On a rooted device - the credentials would be readable by anyone with this access to the device.
BatteryManager
Account Manager
adb
ViewStub
36. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Entire
Standby
BackupHelper
BroadcastReceiver
37. This includes tools to help you identify problems in your layout performance.
GestureDetector
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
BroadcastReceiver
Android SDK
38. The industry standard way to deal with authentication to third-party services.
adb
OAuth2 protocol
setContentView
ViewStub
39. It is a set of rules for encoding documents in machine-readable form.
EXTRA_STREAM
AsyncTask
AsyncTask
Extensible Markup Language (XML)
40. Shows the actual amount of memory the application uses
BroadcastReceiver
Application footprint
Google Cloud Messaging for Android (GCM)
BatteryManager
41. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Advanced Training
Google
Account
onResume();
42. In order to get a list of accounts on the device - your app needs this permission.
GET_ACCOUNTS
visible
ConnectivityManager
SQLiteOpenHelper
43. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
ConnectivityManager
Wi-Fi radio
onDraw()
LocationManager
44. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
Lifecycle callback methods
Intents
When the activity resumes
onStop();
45. This is the most common input event in the Android system.
Layouts
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
touch
onCreate();
46. Once installed on a device - each Android application lives in its own ______
AsyncTask
visible
onAudioFocusChange()
security sandbox
47. It provides a simple way to perform your work outside the main thread.
setContentView
getInputStream()
AsyncTask
HTTP
48. Android provides this handy method to direct volume key presses to the audio stream the user specify.
setVolumeControlStream()
Stack - back stack
NetworkInfo
Extensible Markup Language (XML)
49. Conversion of an object to XML
onDraw()
Serialize
NetworkInfo
Application resources
50. Direct component call in Android
Explicit intent
Scroller
ShareActionProvider
onMeasure()