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. It made implementing an effective and user friendly share action in your ActionBar even easier.
When the activity resumes
onStop();
ShareActionProvider
ActionProvider
2. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
InputStream
visible
Dalvik Virtual Machine
Extensible Markup Language (XML)
3. 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 ___ .
ACTION_DOCK_EVENT
Stack
Account Manager
getInputStream()
4. Where Android is currently primarily developed
OAuth2 protocol
Google
onDestroy();
Paint
5. To create an activity - you must create a subclass of
Activity
Account Manager
OnCurrentItemChanged
android.hardware.touchscreen
6. This is set up to animate for the duration of the fling.
ValueAnimator
ACTION_DOCK_EVENT
Linux based
ActionProvider
7. An open source stand alone database
Application resources
InputStream
setVolumeControlStream()
SQLite
8. Most network-connected Android apps use this to send and receive data.
Destroyed - previous
resolveSizeAndState()
HTTP
AbstractAccountAuthenticator
9. This includes tools to help you identify problems in your layout performance.
Android SDK
Emulator
Objects Activity lifecycle
onResume();
10. The helper method is used to create the final width and height values.
setContentView
HttpURLConnection
resolveSizeAndState()
PieChart
11. This is used to convert raw touch events into gestures.
Services
dual-
ActionProvider
GestureDetector
12. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Advanced Training
HttpURLConnection
<declare-styleable>
SearchView
13. It is used to load images in a background thread - then apply them to the UI once finished.
AsyncTask
Dots per inch
SurfaceHolder.Callback
Destroyed - previous
14. Perform background tasks without providing a user interface
Application resources
Services
onDraw()
AbstractAccountAuthenticator
15. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
Scroller
Component - screen
NetworkInfo
Lifecycle callback methods
16. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
Layouts
onMeasure()
Lifecycle callback methods
HttpURLConnection
17. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
GET_ACCOUNTS
adb
virtual table
Emulator
18. Sharing of data in Android is done via________
Service Content Provider
BatteryManager
Extensible Markup Language (XML)
Component - screen
19. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Hierarchy Viewer
Implicit intent
Full power
ACTION_SEND
20. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
android.hardware.touchscreen
Deserialize
setVolumeControlStream()
AccountAuthenticatorActivity
21. 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
GET_ACCOUNTS
isConnected()
LocationManager
22. 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
onCreate() - onDestroy()
ETC1
AttributeSet
Destroyed - previous
23. Callback method: The activity is about to be destroyed.
PieChart
XmlPullParser
onDestroy();
SQLite
24. is run when running Android on the pc
HttpURLConnection
AccountAuthenticatorActivity
Geocoder
Emulator
25. This is the most common input event in the Android system.
touch
onCreate() - onDestroy()
ACTION_DOCK_EVENT
resolveSizeAndState()
26. The most common way to define a layout using views is with an XML layout file saved in your ______
Intent filters
onDraw()
Application resources
Google Cloud Messaging for Android (GCM)
27. This object contains an account name - which for Google accounts is an email address.
Geocoder
Ducking
Account
Back stack
28. The industry standard way to deal with authentication to third-party services.
InputStream
setVolumeControlStream()
Extensible Markup Language (XML)
OAuth2 protocol
29. For example - a ____ might be a button that initiates an action when the user touches it.
View
HTTP
ConnectivityManager
drawBitmap()
30. This is used to fetch the account names that the user has stored on their device.
Ducking
Account Manager
LTE
Application resources
31. The dock-state details are included as an extra in a sticky broadcast of this action.
Intent filters
SecurityException
ACTION_DOCK_EVENT
Application resources
32. An intermediate state that uses around 50% of the battery power at the full state.
PieChart
Low power
Widgets
ETC1
33. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Services
Google Cloud Messaging for Android (GCM)
ACTION_DOCK_EVENT
Canvas
34. It provides a simple way to perform your work outside the main thread.
InputStream
onStart() - onStop()
AsyncTask
onPause();
35. This is used for the need of finer control over your view's layout parameters.
AttributeSet
Implicit intent
Extensible Markup Language (XML)
onMeasure()
36. You can set the layout as the UI for your activity with passing the resource ID for the layout.
SecurityException
Intents
setContentView
SearchView
37. 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 _____
HttpURLConnection
Layouts
onCreate() - onDestroy()
Full power
38. These helpers are specialized classes for backing up certain kinds of data.
Ducking
setVolumeControlStream()
BackupHelper
resolveSizeAndState()
39. It is a subclass of PreferenceActivity.
getInputStream()
Ducking
Component - screen
SettingsActivity
40. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
drawBitmap()
setVolumeControlStream()
Hierarchy Viewer
Linux based
41. A mode where navigation is set up with a spinner widget.
single-pane
Intents
Widgets
getInputStream()
42. Callback method: Another activity is taking focus
Account
security sandbox
onPause();
Open Handset Alliance
43. To define custom attributes - add this resources to your project.
<declare-styleable>
Intents
Stack - back stack
Intent filters
44. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
security sandbox
Objects Activity lifecycle
AttributeSet
Activity
45. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
AccountAuthenticatorActivity
setContentView
onDestroy();
Intents
46. The entire lifetime of an activity happens between the call to _____ and the call to _____
onCreate() - onDestroy()
Deserialize
android.hardware.touchscreen
Account
47. This is a readable source of bytes.
Extensible Markup Language (XML)
InputStream
onCreate() - onDestroy()
onCreate();
48. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Activity
Wi-Fi radio
AttributeSet
onResume();
49. Are used in activities to create the user interface and to interact with the user.
Intent filters
Fragments
HTTP
Dots per inch
50. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
SurfaceView
View
onDestroy();
android.hardware.touchscreen