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. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Geocoder
Implicit intent
Widgets
Dots per inch
2. This class is the basis for handling flywheel-style fling gestures.
onStop();
Scroller
Stack - back stack
InputStream
3. It is a free service for sending messages to Android devices.
inflate()
Google Cloud Messaging (GCM)
Services
ACTION_DOCK_EVENT
4. To create an activity - you must create a subclass of
inflate()
Service Content Provider
Activity
BackupHelper
5. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
dual-
Serialize
Geocoder
ConnectivityManager
6. An intermediate state that uses around 50% of the battery power at the full state.
Low power
onCreate() - onDestroy()
Intent filters
Android SDK
7. This is the most common input event in the Android system.
onCreate() - onDestroy()
Google
Lifecycle callback methods
touch
8. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
Back stack
getInputStream()
PackageManager
searchable configuration
9. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
onStop();
Geocoder
Advanced Training
Layouts
10. The entire lifetime of an activity happens between the call to _____ and the call to _____
onCreate() - onDestroy()
searchable configuration
single-pane
Objects Activity lifecycle
11. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Activity
Objects Activity lifecycle
AudioManager
Open Handset Alliance
12. Allow to combine loosely coupled components to perform certain tasks
Services
Intents
ActionProvider
resolveSizeAndState()
13. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
HttpURLConnection
Full power
drawText()
GET_ACCOUNTS
14. It is a string that defines the specific type of access your app is asking for.
drawText()
HttpURLConnection
android.hardware.touchscreen
auth scope
15. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
BroadcastReceiver
PackageManager
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
SecurityException
16. Where Android is currently primarily developed
BackupHelper
Google
SQLiteOpenHelper
ACTION_SEND
17. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
onResume();
Entire
SearchView
Widgets
18. 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
Stack - back stack
Stack
onCreate() - onDestroy()
19. In most cases this will offer greater bandwidth at a significantly lower battery cost.
SurfaceHolder.Callback
Wi-Fi radio
onSearchRequested()
Standby
20. This is a readable source of bytes.
Dalvik Debug Monitor Server
Service Content Provider
Serialize
InputStream
21. It provides a simple way to perform your work outside the main thread.
Low power
Intents
getInputStream()
AsyncTask
22. This object contains an account name - which for Google accounts is an email address.
onSearchRequested()
Intents
Account
<declare-styleable>
23. An open source group led by Google
Android SDK
Open Handset Alliance
onStop();
Canvas
24. A styleable entity that contains these two custom attributes: showText and labelPosition.
single-pane
LTE
onAudioFocusChange()
PieChart
25. This is used to fetch the account names that the user has stored on their device.
SettingsActivity
Account Manager
OAuth2
Service Content Provider
26. Once installed on a device - each Android application lives in its own ______
Deserialize
View
Account
security sandbox
27. To define custom attributes - add this resources to your project.
Dalvik Virtual Machine
OAuth2
<declare-styleable>
onDestroy();
28. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
visible
SearchView
ValueAnimator
Paint
29. Callback method: Another activity is taking focus
onPause();
BroadcastReceiver
onCreate() - onDestroy()
security sandbox
30. This includes tools to help you identify problems in your layout performance.
ConnectivityManager
onCreate() - onDestroy()
Android SDK
Dots per inch
31. It made implementing an effective and user friendly share action in your ActionBar even easier.
Account Manager
ValueAnimator
SQLite
ActionProvider
32. A mode where navigation is set up with a spinner widget.
Geocoder
onResume();
PieChart
single-pane
33. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
Activity
ViewStub
single-pane
AccountAuthenticatorActivity
34. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
onCreate() - onDestroy()
Lifecycle callback methods
AbstractAccountAuthenticator
onPause();
35. A service in which programmers can offer their Android application to Android users.
ACTION_DOCK_EVENT
ACTION_DOCK_EVENT
Google Play
InputStream
36. It is available starting with API Level 14 and higher.
android.hardware.touchscreen
ShareActionProvider
inflate()
HTTP
37. 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?
onAudioFocusChange()
Back stack
adb
AttributeSet
38. Use this to draw text.
android.hardware.touchscreen
Deserialize
LocationManager
drawText()
39. 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.
OAuth2
AsyncTask
Account
Emulator
40. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
Parser
onDraw()
touch
View
41. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
NetworkInfo
Wi-Fi radio
Scroller
Canvas
42. This is used to convert raw touch events into gestures.
GestureDetector
inflate()
PieChart
Intent filters
43. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
When the activity resumes
onCreate() - onDestroy()
onStart() - onStop()
Open Handset Alliance
44. 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
Android SDK
LocationManager
Stack - back stack
45. Conversion of XML back to an object
onStop();
onDraw()
HttpURLConnection
Deserialize
46. Use this to draw bitmaps.
drawBitmap()
Hierarchy Viewer
OnCurrentItemChanged
Objects Activity lifecycle
47. It inform the system what intents an application component is willing to accept.
Implicit intent
Intent filters
Layouts
EXTRA_STREAM
48. 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
Paint
PieChart
onCreate() - onDestroy()
PackageManager
49. The helper method is used to create the final width and height values.
dual-
LocationManager
Intent filters
resolveSizeAndState()
50. This widget as an item in the action bar is the preferred way to provide search in your app.
onCreate() - onDestroy()
Application resources
SearchView
onMeasure()