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. Conversion of XML back to an object
Deserialize
onMeasure()
Stack
BatteryManager
2. Use this to draw bitmaps.
Stack
Google
Google Cloud Messaging for Android (GCM)
drawBitmap()
3. A styleable entity that contains these two custom attributes: showText and labelPosition.
resolveSizeAndState()
AsyncTask
PieChart
Destroyed - previous
4. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
Dalvik Debug Monitor Server
Component - screen
onSearchRequested()
When the activity resumes
5. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
EXTRA_STREAM
Lifecycle callback methods
AbstractAccountAuthenticator
onCreate();
6. Allow to combine loosely coupled components to perform certain tasks
Intents
Hierarchy Viewer
Advanced Training
onStop();
7. The minimal energy state during which no network connection is active or required.
SearchView
AudioManager
SurfaceHolder.Callback
Standby
8. Shows the actual amount of memory the application uses
SQLite
AsyncTask
Application footprint
SettingsActivity
9. This widget as an item in the action bar is the preferred way to provide search in your app.
SearchView
inflate()
Explicit intent
Activity
10. This is used for the need of finer control over your view's layout parameters.
onMeasure()
Scroller
onCreate();
Activity
11. For example - a ____ might be a button that initiates an action when the user touches it.
Android SDK
Entire
View
Layouts
12. The industry standard way to deal with authentication to third-party services.
android.hardware.touchscreen
OAuth2 protocol
onPause();
onStop();
13. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
AudioManager
LocationManager
ValueAnimator
Stack - back stack
14. In order to get a list of accounts on the device - your app needs this permission.
GET_ACCOUNTS
Service Content Provider
ActionProvider
XmlPullParser
15. Relative to pixels and resolution screen
Standby
Stack
onMeasure()
Dots per inch
16. Callback method: The activity is being created.
SearchView
GestureDetector
onCreate();
ACTION_SEND
17. Where Android is currently primarily developed
HTTP
onMeasure()
Google
ACTION_SEND
18. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Advanced Training
Open Handset Alliance
ValueAnimator
Canvas
19. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
PieChart
ConnectivityManager
Component - screen
Services
20. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Advanced Training
OAuth2
SurfaceView
android.hardware.touchscreen
21. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
virtual table
OnCurrentItemChanged
Dalvik Virtual Machine
AudioManager
22. This class provides one of the simplest ways to fire off a new task from the UI thread.
AsyncTask
drawBitmap()
HttpURLConnection
PieChart
23. Are used in activities to create the user interface and to interact with the user.
onCreate() - onDestroy()
Full power
Fragments
BatteryManager
24. Callback method: The activity is about to be destroyed.
onSearchRequested()
onCreate() - onDestroy()
onDestroy();
onCreate();
25. The helper method is used to create the final width and height values.
resolveSizeAndState()
NetworkInfo
drawBitmap()
Application footprint
26. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
Dalvik Virtual Machine
HttpURLConnection
AttributeSet
Stack
27. Callback method: The activity is no longer visible
GET_ACCOUNTS
onStop();
When the activity resumes
Account Manager
28. Evaluation of registered components
Implicit intent
Application footprint
EXTRA_STREAM
OAuth2
29. 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.
OAuth2 protocol
ETC1
ACTION_DOCK_EVENT
SearchView
30. It is an efficient and maintainable way to parse XML on Android.
getInputStream()
onStop();
Advanced Training
XmlPullParser
31. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Advanced Training
authenticator class
AsyncTask
Hierarchy Viewer
32. It is a subclass of PreferenceActivity.
OAuth2 protocol
ViewStub
SettingsActivity
onDestroy();
33. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
single-pane
PackageManager
isConnected()
GestureDetector
34. 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()
Low power
Fragments
resolveSizeAndState()
35. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
onCreate() - onDestroy()
View
getInputStream()
Low power
36. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Emulator
drawBitmap()
Application footprint
Entire
37. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
inflate()
onAudioFocusChange()
ACTION_DOCK_EVENT
virtual table
38. It is called to invoke the search dialog on older devices.
SQLiteOpenHelper
Deserialize
Services
onSearchRequested()
39. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Advanced Training
ACTION_DOCK_EVENT
ACTION_SEND
Google Cloud Messaging for Android (GCM)
40. Most network-connected Android apps use this to send and receive data.
authenticator class
Intent filters
HTTP
BatteryManager
41. This provides methods to define line's color - whether to fill a rectangle with a color or leave it empty - and defines the color - style - font - and so forth of each shape you draw.
Paint
Ducking
drawText()
Deserialize
42. Theseare a key part of Android applications that directly affect the user experience.
Wi-Fi radio
Stack - back stack
onSearchRequested()
Layouts
43. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
BatteryManager
BackupHelper
Wi-Fi radio
onCreate() - onDestroy()
44. This can be used to draw previews of what the camera sensor is picking up.
onCreate() - onDestroy()
searchable configuration
LocationManager
SurfaceView
45. 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
Android SDK
Activity
AbstractAccountAuthenticator
46. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Hierarchy Viewer
Stack - back stack
setVolumeControlStream()
Scroller
47. An open source stand alone database
SQLite
Back stack
onCreate();
HttpURLConnection
48. Represents the visual representation of an Android application
LocationManager
AccountAuthenticatorActivity
Activity
Application footprint
49. 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
SettingsActivity
Serialize
PackageManager
onCreate() - onDestroy()
50. In most cases this will offer greater bandwidth at a significantly lower battery cost.
SearchView
onCreate();
Wi-Fi radio
inflate()