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 is a lightweight mechanism used to transmit data from a server to a particular app instance.
Google Cloud Messaging for Android (GCM)
onCreate() - onDestroy()
Implicit intent
LTE
2. If permissions are missing - the application will get this at runtime.
SecurityException
auth scope
Advanced Training
Scroller
3. Theseare a key part of Android applications that directly affect the user experience.
AudioManager
Layouts
onAudioFocusChange()
ShareActionProvider
4. An open source group led by Google
Account Manager
SearchView
Open Handset Alliance
Dalvik Debug Monitor Server
5. It doesn't currently support the <merge/> tag in the layouts to be inflated.
ViewStub
Layouts
onStop();
resolveSizeAndState()
6. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Standby
AccountAuthenticatorActivity
Layouts
Wi-Fi radio
7. Allow to combine loosely coupled components to perform certain tasks
Intents
touch
onCreate() - onDestroy()
visible
8. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
Emulator
searchable configuration
OnCurrentItemChanged
Android SDK
9. A service in which programmers can offer their Android application to Android users.
SearchView
Google Play
Dots per inch
SQLiteOpenHelper
10. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Geocoder
dual-
AsyncTask
Explicit intent
11. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
Serialize
ConnectivityManager
android.hardware.touchscreen
Google Play
12. Use this to draw bitmaps.
onStart() - onStop()
drawBitmap()
Entire
ViewStub
13. 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?
AttributeSet
ETC1
ConnectivityManager
Android SDK
14. It is used to load images in a background thread - then apply them to the UI once finished.
AsyncTask
ConnectivityManager
drawBitmap()
AttributeSet
15. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
Application footprint
onCreate() - onDestroy()
SearchView
getInputStream()
16. This can be used to draw previews of what the camera sensor is picking up.
SurfaceView
SecurityException
Component - screen
security sandbox
17. This class provides one of the simplest ways to fire off a new task from the UI thread.
HttpURLConnection
AsyncTask
onCreate();
Dots per inch
18. Where Android is currently primarily developed
Scroller
Google
Back stack
Geocoder
19. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
onCreate() - onDestroy()
SQLite
Account
AccountAuthenticatorActivity
20. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Scroller
SurfaceHolder.Callback
Objects Activity lifecycle
virtual table
21. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Stack - back stack
EXTRA_STREAM
Application resources
Application footprint
22. 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?
GET_ACCOUNTS
<declare-styleable>
EXTRA_STREAM
NetworkInfo
23. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Entire
BroadcastReceiver
Deserialize
SurfaceView
24. It is available starting with API Level 14 and higher.
onAudioFocusChange()
SQLiteOpenHelper
ShareActionProvider
EXTRA_STREAM
25. It is a set of rules for encoding documents in machine-readable form.
OnCurrentItemChanged
Standby
Extensible Markup Language (XML)
ConnectivityManager
26. Use this to draw text.
drawText()
Intents
Deserialize
LocationManager
27. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
BatteryManager
Application footprint
SurfaceView
Serialize
28. Android system uses a special virtual machine to run java based applicatons
When the activity resumes
Dalvik Virtual Machine
Component - screen
BackupHelper
29. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
isConnected()
LTE
LocationManager
Standby
30. It is an efficient and maintainable way to parse XML on Android.
XmlPullParser
Stack
AudioManager
onDraw()
31. This is a readable source of bytes.
BackupHelper
InputStream
View
SearchView
32. Callback method: Another activity is taking focus
onPause();
ActionProvider
android.hardware.touchscreen
AccountAuthenticatorActivity
33. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Service Content Provider
Extensible Markup Language (XML)
Hierarchy Viewer
HttpURLConnection
34. Represents the visual representation of an Android application
onSearchRequested()
Low power
Activity
onCreate() - onDestroy()
35. It's generally a good idea for one of your APKs to support this texture format as it is supported by all Android-powered devices that support the OpenGL ES 2.0 spec.
BroadcastReceiver
ACTION_DOCK_EVENT
onCreate() - onDestroy()
ETC1
36. The minimal energy state during which no network connection is active or required.
Intents
Low power
Standby
ViewStub
37. You can set the layout as the UI for your activity with passing the resource ID for the layout.
Account
ACTION_SEND
single-pane
setContentView
38. Direct component call in Android
onStart() - onStop()
SQLite
AsyncTask
Explicit intent
39. This is used to register and de-register your media button event receiver.
LTE
onStop();
GestureDetector
AudioManager
40. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
Wi-Fi radio
Dalvik Virtual Machine
virtual table
Intents
41. 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
Canvas
drawText()
Deserialize
42. Android request its permission using its ________
<declare-styleable>
AndroidManifest.xml
ACTION_DOCK_EVENT
AsyncTask
43. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Widgets
Google
AsyncTask
SurfaceView
44. This class is the basis for handling flywheel-style fling gestures.
Google
setVolumeControlStream()
Fragments
Scroller
45. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
LocationManager
Activity
Services
OnCurrentItemChanged
46. The most common way to define a layout using views is with an XML layout file saved in your ______
ShareActionProvider
Objects Activity lifecycle
Parser
Application resources
47. The industry standard way to deal with authentication to third-party services.
OAuth2 protocol
<declare-styleable>
Wi-Fi radio
GestureDetector
48. The helper method is used to create the final width and height values.
Account Manager
resolveSizeAndState()
Serialize
AbstractAccountAuthenticator
49. Evaluation of registered components
Implicit intent
Account
isConnected()
Widgets
50. Necessary tools to develop Android applications
ConnectivityManager
SurfaceView
Android SDK
Extensible Markup Language (XML)