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. Once installed on a device - each Android application lives in its own ______
touch
Canvas
security sandbox
Standby
2. Callback method: The activity is being created.
When the activity resumes
Explicit intent
onCreate() - onDestroy()
onCreate();
3. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
Advanced Training
onCreate() - onDestroy()
When the activity resumes
InputStream
4. The entire lifetime of an activity happens between the call to _____ and the call to _____
onCreate() - onDestroy()
PieChart
Advanced Training
ActionProvider
5. Where Android is currently primarily developed
Serialize
Dalvik Virtual Machine
Google
Hierarchy Viewer
6. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
ActionProvider
ValueAnimator
dual-
onDraw()
7. It made implementing an effective and user friendly share action in your ActionBar even easier.
Parser
OAuth2 protocol
ViewStub
ActionProvider
8. This object contains an account name - which for Google accounts is an email address.
Activity
BroadcastReceiver
BatteryManager
Account
9. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Scroller
Explicit intent
Parser
ValueAnimator
10. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
single-pane
Hierarchy Viewer
GET_ACCOUNTS
Activity
11. To define custom attributes - add this resources to your project.
SurfaceHolder.Callback
Google Play
<declare-styleable>
Activity
12. Callback method: The activity has become visible.
onResume();
Stack - back stack
Fragments
Service Content Provider
13. Callback method: The activity is no longer visible.
onStop();
authenticator class
PieChart
touch
14. An open source stand alone database
onPause();
visible
SQLite
AttributeSet
15. An Activity is an application ______ that provides a _______ 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
Component - screen
AttributeSet
onStop();
auth scope
16. A styleable entity that contains these two custom attributes: showText and labelPosition.
InputStream
PieChart
Serialize
onCreate() - onDestroy()
17. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
OnCurrentItemChanged
Google Play
onCreate() - onDestroy()
ACTION_DOCK_EVENT
18. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
AttributeSet
android.hardware.touchscreen
ViewStub
onPause();
19. This is an interface which is used to pass image data from the camera hardware to the application.
Dalvik Debug Monitor Server
PieChart
single-pane
SurfaceHolder.Callback
20. In order to get a list of accounts on the device - your app needs this permission.
Application resources
Extensible Markup Language (XML)
GET_ACCOUNTS
onDestroy();
21. Android system uses a special virtual machine to run java based applicatons
Standby
Dalvik Virtual Machine
InputStream
AttributeSet
22. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
onCreate();
Layouts
setVolumeControlStream()
Entire
23. It is a free service for sending messages to Android devices.
getInputStream()
ACTION_DOCK_EVENT
Google Cloud Messaging (GCM)
isConnected()
24. This is used for the need of finer control over your view's layout parameters.
Activity
onMeasure()
Activity
Dalvik Debug Monitor Server
25. This broadcasts an action whenever the device is connected or disconnected from power.
onStop();
BatteryManager
Android SDK
SettingsActivity
26. 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
onStop();
Back stack
setContentView
27. This class is the basis for handling flywheel-style fling gestures.
SearchView
Deserialize
Scroller
View
28. This is the main class through which your application can access location services on Android.
View
GET_ACCOUNTS
LocationManager
searchable configuration
29. Shows the actual amount of memory the application uses
XmlPullParser
LTE
Application footprint
OAuth2
30. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
dual-
Advanced Training
Destroyed - previous
Activity
31. The industry standard way to deal with authentication to third-party services.
searchable configuration
Dalvik Debug Monitor Server
OAuth2 protocol
onStop();
32. The most common way to define a layout using views is with an XML layout file saved in your ______
View
onCreate() - onDestroy()
Application resources
Application footprint
33. Callback method: Another activity is taking focus
InputStream
onDestroy();
setVolumeControlStream()
onPause();
34. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
Component - screen
Fragments
getInputStream()
ConnectivityManager
35. 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?
NetworkInfo
Full power
Scroller
AttributeSet
36. 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?
HttpURLConnection
EXTRA_STREAM
AndroidManifest.xml
Canvas
37. Represents the visual representation of an Android application
Activity
Scroller
SurfaceView
Android SDK
38. The dock-state details are included as an extra in a sticky broadcast of this action.
ACTION_DOCK_EVENT
isConnected()
Service Content Provider
SQLiteOpenHelper
39. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
ACTION_SEND
ACTION_DOCK_EVENT
auth scope
Widgets
40. It is used to load images in a background thread - then apply them to the UI once finished.
authenticator class
OAuth2 protocol
AsyncTask
PieChart
41. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
getInputStream()
searchable configuration
Layouts
BroadcastReceiver
42. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
AudioManager
GestureDetector
ACTION_SEND
NetworkInfo
43. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Google Cloud Messaging for Android (GCM)
onPause();
PieChart
onCreate() - onDestroy()
44. This class exposes a number of methods for applications to receive location updates.
LocationManager
touch
Objects Activity lifecycle
Explicit intent
45. These helpers are specialized classes for backing up certain kinds of data.
GET_ACCOUNTS
single-pane
LocationManager
BackupHelper
46. You can set the layout as the UI for your activity with passing the resource ID for the layout.
BatteryManager
OnCurrentItemChanged
View
setContentView
47. Android provides this handy method to direct volume key presses to the audio stream the user specify.
setVolumeControlStream()
Lifecycle callback methods
Application resources
View
48. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
Layouts
onAudioFocusChange()
Account
Layouts
49. Most network-connected Android apps use this to send and receive data.
Serialize
Extensible Markup Language (XML)
Advanced Training
HTTP
50. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
onStop();
Open Handset Alliance
AsyncTask
Stack - back stack