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. An open source group led by Google
Open Handset Alliance
Explicit intent
AccountAuthenticatorActivity
onStart() - onStop()
2. 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
visible
PieChart
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
3. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Emulator
OnCurrentItemChanged
Fragments
View
4. It is the process of lowering your audio stream output volume to make transient audio from another app easier to hear without totally disrupting the audio from your own application.
Ducking
BroadcastReceiver
auth scope
AbstractAccountAuthenticator
5. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
SurfaceHolder.Callback
View
Intents
LocationManager
6. 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
Component - screen
getInputStream()
SQLite
Hierarchy Viewer
7. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
single-pane
Objects Activity lifecycle
OAuth2 protocol
virtual table
8. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
onCreate() - onDestroy()
Activity
Entire
Widgets
9. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
Google Cloud Messaging for Android (GCM)
Android SDK
Parser
BroadcastReceiver
10. This search feature was introduced in Android 3.0 and can maintain backward compatibility with older versions of Android by using the default search dialog provided by the system.
ShareActionProvider
Activity
SearchView
PackageManager
11. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
Serialize
SQLiteOpenHelper
When the activity resumes
Layouts
12. 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.
onStop();
Geocoder
ETC1
Parser
13. Callback method: Another activity is taking focus
SettingsActivity
Back stack
onPause();
View
14. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
setContentView
BackupHelper
authenticator class
onDraw()
15. In most cases this will offer greater bandwidth at a significantly lower battery cost.
BackupHelper
security sandbox
Wi-Fi radio
onStart() - onStop()
16. Represents the visual representation of an Android application
Linux based
Activity
Emulator
BroadcastReceiver
17. Theseare a key part of Android applications that directly affect the user experience.
android.hardware.touchscreen
Layouts
onDestroy();
single-pane
18. This is the most common input event in the Android system.
touch
Google
resolveSizeAndState()
Layouts
19. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Canvas
LocationManager
onStart() - onStop()
AttributeSet
20. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Activity
auth scope
Geocoder
adb
21. 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
ACTION_SEND
Open Handset Alliance
AndroidManifest.xml
PackageManager
22. This object contains an account name - which for Google accounts is an email address.
onCreate();
SQLite
Account
Canvas
23. Converts XML Document to XML DOM
Parser
AccountAuthenticatorActivity
BackupHelper
Scroller
24. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
ViewStub
PackageManager
single-pane
onCreate() - onDestroy()
25. This class is the basis for handling flywheel-style fling gestures.
Paint
<declare-styleable>
Scroller
onAudioFocusChange()
26. To create an activity - you must create a subclass of
Layouts
Activity
Scroller
onMeasure()
27. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
drawText()
getInputStream()
Advanced Training
isConnected()
28. The most common way to define a layout using views is with an XML layout file saved in your ______
LocationManager
Intents
Fragments
Application resources
29. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
onCreate() - onDestroy()
Service Content Provider
Stack - back stack
Geocoder
30. Android system uses a special virtual machine to run java based applicatons
Dalvik Virtual Machine
onCreate() - onDestroy()
drawText()
InputStream
31. This includes tools to help you identify problems in your layout performance.
SQLite
onStop();
security sandbox
Android SDK
32. 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
Hierarchy Viewer
Google Cloud Messaging (GCM)
Destroyed - previous
Dalvik Virtual Machine
33. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
Intents
virtual table
Google Play
auth scope
34. Most network-connected Android apps use this to send and receive data.
PackageManager
Dalvik Debug Monitor Server
HTTP
Emulator
35. Amode where the action bar is set up with tabs for navigation.
LTE
inflate()
adb
dual-
36. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
dual-
EXTRA_STREAM
onCreate();
Dalvik Debug Monitor Server
37. It made implementing an effective and user friendly share action in your ActionBar even easier.
searchable configuration
auth scope
InputStream
ActionProvider
38. On a rooted device - the credentials would be readable by anyone with this access to the device.
Implicit intent
ACTION_SEND
touch
adb
39. This is the main class through which your application can access location services on Android.
LocationManager
drawText()
Android SDK
resolveSizeAndState()
40. The dock-state details are included as an extra in a sticky broadcast of this action.
onCreate() - onDestroy()
AsyncTask
ACTION_DOCK_EVENT
BatteryManager
41. Use this to draw bitmaps.
drawBitmap()
Full power
isConnected()
Serialize
42. An intermediate state that uses around 50% of the battery power at the full state.
ConnectivityManager
Linux based
AsyncTask
Low power
43. 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
ViewStub
onStop();
BroadcastReceiver
44. To define custom attributes - add this resources to your project.
Dalvik Debug Monitor Server
Low power
<declare-styleable>
GET_ACCOUNTS
45. This is an interface which is used to pass image data from the camera hardware to the application.
SurfaceHolder.Callback
Open Handset Alliance
Paint
Fragments
46. ______ are views derived from ViewGroup that provide a unique layout model for its child views
onStop();
Layouts
android.hardware.touchscreen
Emulator
47. It is a free service for sending messages to Android devices.
onStart() - onStop()
Google Cloud Messaging (GCM)
ViewStub
Deserialize
48. Evaluation of registered components
Implicit intent
Intents
Full power
onMeasure()
49. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
AttributeSet
LTE
android.hardware.touchscreen
BatteryManager
50. This is set up to animate for the duration of the fling.
visible
ValueAnimator
AsyncTask
Intent filters