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. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
When the activity resumes
searchable configuration
Full power
Layouts
2. When a new activity starts - it is pushed onto the ____ and takes user focus.
OAuth2
Widgets
Back stack
BackupHelper
3. Conversion of an object to XML
Activity
Android SDK
ViewStub
Serialize
4. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
SearchView
inflate()
LocationManager
AndroidManifest.xml
5. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
SQLite
AbstractAccountAuthenticator
Destroyed - previous
EXTRA_STREAM
6. Theseare a key part of Android applications that directly affect the user experience.
OnCurrentItemChanged
resolveSizeAndState()
Advanced Training
Layouts
7. This is an interface which is used to pass image data from the camera hardware to the application.
Low power
Google Cloud Messaging for Android (GCM)
Geocoder
SurfaceHolder.Callback
8. It provides a simple way to perform your work outside the main thread.
searchable configuration
AsyncTask
android.hardware.touchscreen
BatteryManager
9. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Advanced Training
security sandbox
Stack - back stack
LocationManager
10. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
onResume();
AccountAuthenticatorActivity
Account
Application resources
11. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
NetworkInfo
BatteryManager
virtual table
authenticator class
12. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
Widgets
Android SDK
LTE
ViewStub
13. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
LocationManager
NetworkInfo
SurfaceHolder.Callback
Account
14. An intermediate state that uses around 50% of the battery power at the full state.
ETC1
Low power
Layouts
Google Play
15. Most network-connected Android apps use this to send and receive data.
AbstractAccountAuthenticator
HTTP
BackupHelper
Intent filters
16. It is a string that defines the specific type of access your app is asking for.
auth scope
Stack
BroadcastReceiver
InputStream
17. 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()
Serialize
Full power
Ducking
18. Android system uses a special virtual machine to run java based applicatons
Dalvik Virtual Machine
SurfaceHolder.Callback
Dalvik Debug Monitor Server
Parser
19. 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
Intents
Google Cloud Messaging for Android (GCM)
SurfaceView
20. This is used to fetch the account names that the user has stored on their device.
EXTRA_STREAM
SurfaceHolder.Callback
Account Manager
Objects Activity lifecycle
21. The dock-state details are included as an extra in a sticky broadcast of this action.
Dalvik Debug Monitor Server
AsyncTask
ConnectivityManager
ACTION_DOCK_EVENT
22. 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.
AudioManager
single-pane
OAuth2
Activity
23. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
onAudioFocusChange()
ActionProvider
SQLiteOpenHelper
setContentView
24. It is a set of rules for encoding documents in machine-readable form.
Extensible Markup Language (XML)
XmlPullParser
Google Play
View
25. This is the simplest way to monitor device state changes.
Services
Destroyed - previous
HTTP
BroadcastReceiver
26. It is an efficient and maintainable way to parse XML on Android.
XmlPullParser
Back stack
getInputStream()
Linux based
27. 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?
onResume();
BatteryManager
Implicit intent
AttributeSet
28. This is set up to animate for the duration of the fling.
ValueAnimator
NetworkInfo
Dalvik Debug Monitor Server
Component - screen
29. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Linux based
ViewStub
Geocoder
SearchView
30. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
isConnected()
Activity
Application resources
visible
31. The industry standard way to deal with authentication to third-party services.
SQLite
OAuth2 protocol
ACTION_SEND
authenticator class
32. Callback method: The activity is no longer visible
Application footprint
Scroller
Dalvik Debug Monitor Server
onStop();
33. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
SearchView
isConnected()
HttpURLConnection
SQLiteOpenHelper
34. The helper method is used to create the final width and height values.
Linux based
resolveSizeAndState()
BatteryManager
BroadcastReceiver
35. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
OnCurrentItemChanged
Serialize
auth scope
XmlPullParser
36. 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.
Google Cloud Messaging (GCM)
Canvas
SQLite
Ducking
37. Callback method: Another activity is taking focus
onPause();
NetworkInfo
Wi-Fi radio
Full power
38. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Dalvik Virtual Machine
isConnected()
Hierarchy Viewer
ACTION_SEND
39. Amode where the action bar is set up with tabs for navigation.
Stack
AsyncTask
XmlPullParser
dual-
40. Where Android is currently primarily developed
OAuth2 protocol
Google
Component - screen
LocationManager
41. This is the main class through which your application can access location services on Android.
authenticator class
Account Manager
LocationManager
onCreate() - onDestroy()
42. This action is used in sending text content from one activity to another.
PackageManager
LocationManager
ACTION_SEND
Account
43. Callback method: The activity is no longer visible.
OnCurrentItemChanged
ACTION_DOCK_EVENT
onStop();
PackageManager
44. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
BroadcastReceiver
Back stack
searchable configuration
Google Cloud Messaging (GCM)
45. An open source stand alone database
PackageManager
AsyncTask
SQLite
Geocoder
46. Callback method: The activity is being created.
ActionProvider
ConnectivityManager
onCreate();
Stack
47. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
getInputStream()
touch
BatteryManager
onCreate() - onDestroy()
48. A service in which programmers can offer their Android application to Android users.
ACTION_SEND
HttpURLConnection
Google Play
BatteryManager
49. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Dalvik Debug Monitor Server
Serialize
onPause();
PackageManager
50. For example - a ____ might be a button that initiates an action when the user touches it.
PackageManager
Entire
drawText()
View