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. Represents the visual representation of an Android application
Activity
Android SDK
When the activity resumes
android.hardware.touchscreen
2. Callback method: The activity is no longer visible.
Stack
GET_ACCOUNTS
onStop();
onAudioFocusChange()
3. Where Android is currently primarily developed
single-pane
onStop();
Google
Implicit intent
4. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
When the activity resumes
Activity
onDestroy();
ConnectivityManager
5. In order to get a list of accounts on the device - your app needs this permission.
GET_ACCOUNTS
AudioManager
ViewStub
Linux based
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?
BatteryManager
NetworkInfo
Google Play
EXTRA_STREAM
7. This class is the basis for handling flywheel-style fling gestures.
onStart() - onStop()
LocationManager
Scroller
<declare-styleable>
8. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Dalvik Debug Monitor Server
AndroidManifest.xml
onStop();
virtual table
9. Conversion of an object to XML
BatteryManager
SecurityException
Scroller
Serialize
10. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
searchable configuration
Component - screen
SurfaceView
onAudioFocusChange()
11. Sharing of data in Android is done via________
SecurityException
Dots per inch
Intents
Service Content Provider
12. Callback method: The activity is being created.
visible
ValueAnimator
Google Cloud Messaging for Android (GCM)
onCreate();
13. 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
AndroidManifest.xml
Emulator
14. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
ValueAnimator
AsyncTask
View
onCreate();
15. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Widgets
View
ACTION_DOCK_EVENT
Intents
16. This is the main class through which your application can access location services on Android.
Services
LocationManager
onDestroy();
drawText()
17. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
ETC1
android.hardware.touchscreen
Canvas
18. Callback method: Another activity is taking focus
onMeasure()
onPause();
View
BackupHelper
19. It doesn't currently support the <merge/> tag in the layouts to be inflated.
XmlPullParser
Ducking
OnCurrentItemChanged
ViewStub
20. The minimal energy state during which no network connection is active or required.
Standby
ShareActionProvider
<declare-styleable>
Implicit intent
21. This is used to fetch the account names that the user has stored on their device.
Account Manager
onCreate();
Lifecycle callback methods
GET_ACCOUNTS
22. It provides a simple way to perform your work outside the main thread.
Intents
AsyncTask
Service Content Provider
isConnected()
23. 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
Extensible Markup Language (XML)
auth scope
PackageManager
OAuth2
24. You can set the layout as the UI for your activity with passing the resource ID for the layout.
setContentView
Dalvik Debug Monitor Server
onStop();
ConnectivityManager
25. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Entire
Account
onStart() - onStop()
Emulator
26. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
AccountAuthenticatorActivity
AbstractAccountAuthenticator
Objects Activity lifecycle
inflate()
27. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
ACTION_SEND
drawBitmap()
Google Cloud Messaging for Android (GCM)
Implicit intent
28. 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()
resolveSizeAndState()
Android SDK
When the activity resumes
29. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
GET_ACCOUNTS
BatteryManager
Google
Destroyed - previous
30. It inform the system what intents an application component is willing to accept.
Explicit intent
Intent filters
Account Manager
Emulator
31. An intermediate state that uses around 50% of the battery power at the full state.
Low power
Dots per inch
SQLiteOpenHelper
ACTION_SEND
32. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
touch
adb
visible
GET_ACCOUNTS
33. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
OAuth2 protocol
PackageManager
onCreate() - onDestroy()
ViewStub
34. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
SettingsActivity
onAudioFocusChange()
authenticator class
Low power
35. Android request its permission using its ________
Dalvik Debug Monitor Server
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Scroller
AndroidManifest.xml
36. 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
Full power
Wi-Fi radio
Ducking
37. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
<declare-styleable>
Intents
Entire
BroadcastReceiver
38. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Account
Advanced Training
AndroidManifest.xml
ValueAnimator
39. A service in which programmers can offer their Android application to Android users.
Google Play
BackupHelper
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
SQLite
40. It is a free service for sending messages to Android devices.
onCreate() - onDestroy()
onSearchRequested()
Google Cloud Messaging (GCM)
Dots per inch
41. Once installed on a device - each Android application lives in its own ______
ViewStub
Scroller
security sandbox
Ducking
42. This is the most common input event in the Android system.
touch
AbstractAccountAuthenticator
Layouts
ViewStub
43. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
PackageManager
OAuth2
Full power
isConnected()
44. A styleable entity that contains these two custom attributes: showText and labelPosition.
Full power
PieChart
Parser
OAuth2 protocol
45. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
onDraw()
PackageManager
Application footprint
authenticator class
46. This is used to register and de-register your media button event receiver.
AudioManager
Application footprint
onMeasure()
SearchView
47. An open source stand alone database
BroadcastReceiver
Canvas
SQLite
GestureDetector
48. This can be used to draw previews of what the camera sensor is picking up.
SurfaceView
Hierarchy Viewer
Back stack
Full power
49. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
OnCurrentItemChanged
SQLite
android.hardware.touchscreen
EXTRA_STREAM
50. This is an interface which is used to pass image data from the camera hardware to the application.
Open Handset Alliance
SearchView
Android SDK
SurfaceHolder.Callback