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. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Hierarchy Viewer
PieChart
auth scope
Android SDK
2. It inform the system what intents an application component is willing to accept.
Intent filters
Open Handset Alliance
Ducking
Layouts
3. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Objects Activity lifecycle
setVolumeControlStream()
Low power
When the activity resumes
4. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
Destroyed - previous
onDestroy();
visible
AsyncTask
5. To define custom attributes - add this resources to your project.
<declare-styleable>
ConnectivityManager
GET_ACCOUNTS
ValueAnimator
6. For example - a ____ might be a button that initiates an action when the user touches it.
Standby
getInputStream()
Account Manager
View
7. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
Destroyed - previous
View
BroadcastReceiver
HttpURLConnection
8. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
View
Wi-Fi radio
ConnectivityManager
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
9. Theseare a key part of Android applications that directly affect the user experience.
Google Play
Layouts
onSearchRequested()
BroadcastReceiver
10. On a rooted device - the credentials would be readable by anyone with this access to the device.
Google Cloud Messaging (GCM)
Implicit intent
adb
Advanced Training
11. Callback method: The activity is no longer visible
Paint
onStart() - onStop()
onStop();
Linux based
12. It doesn't currently support the <merge/> tag in the layouts to be inflated.
OAuth2 protocol
Fragments
ViewStub
onStart() - onStop()
13. Callback method: Another activity is taking focus
onDestroy();
HttpURLConnection
onPause();
View
14. 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
PackageManager
isConnected()
SearchView
Component - screen
15. This includes tools to help you identify problems in your layout performance.
BatteryManager
ACTION_DOCK_EVENT
onDraw()
Android SDK
16. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
AndroidManifest.xml
LocationManager
onDraw()
SQLiteOpenHelper
17. It is used to load images in a background thread - then apply them to the UI once finished.
OnCurrentItemChanged
Emulator
SearchView
AsyncTask
18. This class is the basis for handling flywheel-style fling gestures.
onCreate();
onCreate() - onDestroy()
Scroller
Intents
19. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Google Cloud Messaging (GCM)
HTTP
Full power
20. It is a free service for sending messages to Android devices.
Layouts
LocationManager
Google Cloud Messaging (GCM)
ACTION_DOCK_EVENT
21. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Dalvik Virtual Machine
View
Google Cloud Messaging for Android (GCM)
HTTP
22. Callback method: The activity is being created.
adb
ETC1
onCreate();
ShareActionProvider
23. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
ValueAnimator
Layouts
onCreate() - onDestroy()
security sandbox
24. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Deserialize
Fragments
Layouts
Service Content Provider
25. Use this to draw text.
Scroller
Ducking
Component - screen
drawText()
26. A styleable entity that contains these two custom attributes: showText and labelPosition.
resolveSizeAndState()
NetworkInfo
PieChart
onDraw()
27. It is a set of rules for encoding documents in machine-readable form.
AttributeSet
Extensible Markup Language (XML)
Google Play
Fragments
28. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
PieChart
Standby
Advanced Training
ValueAnimator
29. is run when running Android on the pc
Emulator
Back stack
Widgets
onResume();
30. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
PackageManager
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Service Content Provider
When the activity resumes
31. This is used to convert raw touch events into gestures.
Entire
GestureDetector
setVolumeControlStream()
Standby
32. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Stack - back stack
ShareActionProvider
XmlPullParser
LocationManager
33. 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.
onPause();
OAuth2
AsyncTask
resolveSizeAndState()
34. An intermediate state that uses around 50% of the battery power at the full state.
Low power
Parser
Hierarchy Viewer
onSearchRequested()
35. Callback method: The activity is no longer visible.
Explicit intent
virtual table
onStop();
ACTION_DOCK_EVENT
36. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
ConnectivityManager
ViewStub
authenticator class
Application resources
37. An open source stand alone database
Dots per inch
AbstractAccountAuthenticator
Entire
SQLite
38. Necessary tools to develop Android applications
android.hardware.touchscreen
Component - screen
Deserialize
Android SDK
39. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Dalvik Debug Monitor Server
Standby
onStart() - onStop()
Intents
40. This broadcasts an action whenever the device is connected or disconnected from power.
resolveSizeAndState()
visible
AccountAuthenticatorActivity
BatteryManager
41. 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
PackageManager
ETC1
Stack
onPause();
42. This action is used in sending text content from one activity to another.
onStart() - onStop()
Activity
ACTION_SEND
SurfaceView
43. It is called to invoke the search dialog on older devices.
adb
onSearchRequested()
drawText()
Dalvik Debug Monitor Server
44. This is the most common input event in the Android system.
BroadcastReceiver
inflate()
touch
setContentView
45. This object contains an account name - which for Google accounts is an email address.
Account
Ducking
SurfaceHolder.Callback
Layouts
46. This is set up to animate for the duration of the fling.
ValueAnimator
setContentView
Geocoder
ACTION_DOCK_EVENT
47. Conversion of an object to XML
searchable configuration
Serialize
Paint
authenticator class
48. Android request its permission using its ________
InputStream
AndroidManifest.xml
AsyncTask
Hierarchy Viewer
49. Sharing of data in Android is done via________
dual-
EXTRA_STREAM
Services
Service Content Provider
50. 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
dual-
Advanced Training
Destroyed - previous
onStop();