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 helper method is used to create the final width and height values.
Dalvik Virtual Machine
resolveSizeAndState()
Google
Parser
2. These helpers are specialized classes for backing up certain kinds of data.
virtual table
adb
BackupHelper
Dalvik Debug Monitor Server
3. Once installed on a device - each Android application lives in its own ______
HTTP
Emulator
OAuth2
security sandbox
4. 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 ___ .
Dots per inch
ShareActionProvider
XmlPullParser
Stack
5. This is the simplest way to monitor device state changes.
BroadcastReceiver
Android SDK
Fragments
Canvas
6. 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.
AbstractAccountAuthenticator
Emulator
Activity
BackupHelper
7. Are used in activities to create the user interface and to interact with the user.
onStart() - onStop()
onDraw()
AbstractAccountAuthenticator
Fragments
8. To define custom attributes - add this resources to your project.
BroadcastReceiver
<declare-styleable>
Intent filters
drawText()
9. A mode where navigation is set up with a spinner widget.
Explicit intent
onCreate() - onDestroy()
Low power
single-pane
10. Necessary tools to develop Android applications
XmlPullParser
Application footprint
Android SDK
Dalvik Debug Monitor Server
11. Represents the visual representation of an Android application
AsyncTask
Activity
Canvas
<declare-styleable>
12. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
onCreate() - onDestroy()
getInputStream()
inflate()
Layouts
13. The industry standard way to deal with authentication to third-party services.
SettingsActivity
auth scope
OAuth2 protocol
inflate()
14. Use this to draw bitmaps.
ConnectivityManager
Component - screen
SurfaceView
drawBitmap()
15. 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()
virtual table
AsyncTask
Lifecycle callback methods
16. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Stack - back stack
Account
visible
PieChart
17. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
PieChart
Hierarchy Viewer
Lifecycle callback methods
ETC1
18. Theseare a key part of Android applications that directly affect the user experience.
Layouts
dual-
Standby
adb
19. The minimal energy state during which no network connection is active or required.
virtual table
Standby
onCreate() - onDestroy()
SQLiteOpenHelper
20. This is an interface which is used to pass image data from the camera hardware to the application.
AsyncTask
AccountAuthenticatorActivity
Parser
SurfaceHolder.Callback
21. Android request its permission using its ________
ValueAnimator
AndroidManifest.xml
SQLiteOpenHelper
OnCurrentItemChanged
22. It is an efficient and maintainable way to parse XML on Android.
XmlPullParser
android.hardware.touchscreen
Wi-Fi radio
resolveSizeAndState()
23. 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?
android.hardware.touchscreen
AndroidManifest.xml
touch
AttributeSet
24. Where Android is currently primarily developed
Wi-Fi radio
Component - screen
Google
onStop();
25. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
android.hardware.touchscreen
BatteryManager
adb
visible
26. It is a free service for sending messages to Android devices.
onStop();
setContentView
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Google Cloud Messaging (GCM)
27. This class is the basis for handling flywheel-style fling gestures.
EXTRA_STREAM
Scroller
ACTION_SEND
Linux based
28. It is a subclass of PreferenceActivity.
SettingsActivity
Account
Back stack
Component - screen
29. Use this to draw text.
Google Play
virtual table
drawText()
HTTP
30. It made implementing an effective and user friendly share action in your ActionBar even easier.
ConnectivityManager
OnCurrentItemChanged
Ducking
ActionProvider
31. An intermediate state that uses around 50% of the battery power at the full state.
Wi-Fi radio
onMeasure()
View
Low power
32. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
Geocoder
onStop();
PackageManager
AbstractAccountAuthenticator
33. On a rooted device - the credentials would be readable by anyone with this access to the device.
adb
SearchView
Account
onSearchRequested()
34. This is used for the need of finer control over your view's layout parameters.
resolveSizeAndState()
Scroller
onMeasure()
Dots per inch
35. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
onCreate() - onDestroy()
ETC1
onResume();
LTE
36. Shows the actual amount of memory the application uses
drawBitmap()
Paint
Application footprint
Intents
37. is run when running Android on the pc
Emulator
onCreate() - onDestroy()
BatteryManager
ConnectivityManager
38. 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
OnCurrentItemChanged
virtual table
View
39. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
AsyncTask
View
AttributeSet
isConnected()
40. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
When the activity resumes
AndroidManifest.xml
GestureDetector
Canvas
41. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
AbstractAccountAuthenticator
Entire
AccountAuthenticatorActivity
Extensible Markup Language (XML)
42. An open source stand alone database
SQLite
Advanced Training
<declare-styleable>
Implicit intent
43. This is used to fetch the account names that the user has stored on their device.
inflate()
PackageManager
Account Manager
Activity
44. This broadcasts an action whenever the device is connected or disconnected from power.
Scroller
ActionProvider
BatteryManager
onAudioFocusChange()
45. The most common way to define a layout using views is with an XML layout file saved in your ______
auth scope
ValueAnimator
Low power
Application resources
46. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
SettingsActivity
resolveSizeAndState()
Widgets
adb
47. For example - a ____ might be a button that initiates an action when the user touches it.
visible
View
Activity
onResume();
48. Callback method: The activity is being created.
onCreate();
Wi-Fi radio
Standby
Dalvik Virtual Machine
49. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Ducking
Advanced Training
LTE
Google
50. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
Destroyed - previous
SQLite
Google Play
searchable configuration