SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
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. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
ConnectivityManager
AsyncTask
LocationManager
BatteryManager
2. When a view is created from an XML layout - all of the attributes in the XML tag are read from the resource bundle and passed into the view's constructor as a what?
OAuth2
AttributeSet
GET_ACCOUNTS
LocationManager
3. Allow to combine loosely coupled components to perform certain tasks
SQLiteOpenHelper
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Intents
InputStream
4. An intermediate state that uses around 50% of the battery power at the full state.
onDestroy();
Standby
Low power
GestureDetector
5. This is set up to animate for the duration of the fling.
SQLite
Entire
XmlPullParser
ValueAnimator
6. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Stack
Dalvik Debug Monitor Server
Linux based
Open Handset Alliance
7. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
OnCurrentItemChanged
ETC1
ConnectivityManager
Application footprint
8. This is the most common input event in the Android system.
adb
LocationManager
touch
EXTRA_STREAM
9. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Stack - back stack
ACTION_DOCK_EVENT
View
searchable configuration
10. This is used to fetch the account names that the user has stored on their device.
Parser
Account Manager
AndroidManifest.xml
drawBitmap()
11. This broadcasts an action whenever the device is connected or disconnected from power.
OAuth2
BatteryManager
View
visible
12. To define custom attributes - add this resources to your project.
SecurityException
SurfaceHolder.Callback
Explicit intent
<declare-styleable>
13. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Advanced Training
onMeasure()
Geocoder
AndroidManifest.xml
14. Perform background tasks without providing a user interface
BroadcastReceiver
Google Cloud Messaging (GCM)
Google Play
Services
15. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
searchable configuration
OAuth2 protocol
Widgets
HttpURLConnection
16. Callback method: The activity has become visible.
visible
XmlPullParser
onResume();
Account
17. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
Dalvik Virtual Machine
When the activity resumes
Google Play
SQLiteOpenHelper
18. 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.
ViewStub
LocationManager
Activity
Destroyed - previous
19. 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
isConnected()
Google Play
PackageManager
AccountAuthenticatorActivity
20. This is the simplest way to monitor device state changes.
LocationManager
BroadcastReceiver
Objects Activity lifecycle
setVolumeControlStream()
21. Relative to pixels and resolution screen
Standby
onCreate();
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Dots per inch
22. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
Standby
Services
virtual table
security sandbox
23. is run when running Android on the pc
Services
Emulator
Dalvik Debug Monitor Server
onDraw()
24. Shows the actual amount of memory the application uses
Full power
Scroller
BroadcastReceiver
Application footprint
25. The entire lifetime of an activity happens between the call to _____ and the call to _____
onCreate() - onDestroy()
Parser
onStop();
Android SDK
26. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
Lifecycle callback methods
ViewStub
authenticator class
onCreate() - onDestroy()
27. Whenever the device is docked or undocked - this action is broadcast.
ACTION_DOCK_EVENT
ShareActionProvider
Android SDK
BroadcastReceiver
28. It made implementing an effective and user friendly share action in your ActionBar even easier.
Hierarchy Viewer
Widgets
Serialize
ActionProvider
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 ___ .
Google Cloud Messaging (GCM)
Google Play
Stack
Scroller
30. This object contains an account name - which for Google accounts is an email address.
InputStream
Account
touch
Explicit intent
31. Sharing of data in Android is done via________
Service Content Provider
AbstractAccountAuthenticator
getInputStream()
setContentView
32. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
resolveSizeAndState()
SQLiteOpenHelper
Extensible Markup Language (XML)
Intent filters
33. This action is used in sending text content from one activity to another.
View
Google Play
ACTION_SEND
Google
34. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
resolveSizeAndState()
AbstractAccountAuthenticator
OnCurrentItemChanged
NetworkInfo
35. This is an interface which is used to pass image data from the camera hardware to the application.
Full power
onAudioFocusChange()
visible
SurfaceHolder.Callback
36. It is a string that defines the specific type of access your app is asking for.
Ducking
Intent filters
auth scope
Layouts
37. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
OnCurrentItemChanged
Widgets
onCreate();
visible
38. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Activity
Lifecycle callback methods
LocationManager
setVolumeControlStream()
39. Use this to draw bitmaps.
ETC1
ValueAnimator
drawBitmap()
SurfaceView
40. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
drawBitmap()
ACTION_DOCK_EVENT
onStop();
getInputStream()
41. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
AsyncTask
XmlPullParser
Google Cloud Messaging for Android (GCM)
auth scope
42. Android request its permission using its ________
onCreate();
AndroidManifest.xml
Hierarchy Viewer
Entire
43. Direct component call in Android
Explicit intent
security sandbox
dual-
Scroller
44. The visible lifetime of an activity happens between the call to ____ and the call to ______
Stack - back stack
onStart() - onStop()
Standby
Low power
45. The dock-state details are included as an extra in a sticky broadcast of this action.
Lifecycle callback methods
onCreate() - onDestroy()
ACTION_DOCK_EVENT
inflate()
46. The industry standard way to deal with authentication to third-party services.
AsyncTask
SettingsActivity
OAuth2 protocol
AccountAuthenticatorActivity
47. In order to get a list of accounts on the device - your app needs this permission.
ACTION_DOCK_EVENT
Canvas
Services
GET_ACCOUNTS
48. Necessary tools to develop Android applications
virtual table
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Google Play
Android SDK
49. 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.
AudioManager
Fragments
onAudioFocusChange()
Ducking
50. For example - a ____ might be a button that initiates an action when the user touches it.
Google Cloud Messaging (GCM)
View
drawBitmap()
resolveSizeAndState()
250+ Top Skills To Get And Keep A Job
502 Pages of Distilled Wisdom
250+ Easy-to-Follow Guides
5000+ Proven Tips
13 Types of Essential Skills
The World's First & Only Encyclopedia of
Self Help, Self Improvement & Career Advice
Just $3.99 | PDF / EPub, Kindle Ready
Top Scores
Anon hero
- 100%
Link to This Test
Related Subjects
Soft Skills
Business Skills