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. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
ValueAnimator
AbstractAccountAuthenticator
When the activity resumes
LocationManager
2. The helper method is used to create the final width and height values.
resolveSizeAndState()
onAudioFocusChange()
Deserialize
onCreate();
3. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Layouts
Paint
Advanced Training
SQLite
4. This is used to register and de-register your media button event receiver.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
AudioManager
Android SDK
drawBitmap()
5. This object contains an account name - which for Google accounts is an email address.
Account
Open Handset Alliance
Standby
drawBitmap()
6. A mode where navigation is set up with a spinner widget.
ActionProvider
ACTION_DOCK_EVENT
single-pane
Objects Activity lifecycle
7. 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.
onPause();
SearchView
Intent filters
Linux based
8. This action is used in sending text content from one activity to another.
Scroller
resolveSizeAndState()
virtual table
ACTION_SEND
9. The most common way to define a layout using views is with an XML layout file saved in your ______
adb
Layouts
OnCurrentItemChanged
Application resources
10. It is available starting with API Level 14 and higher.
ShareActionProvider
Scroller
onDestroy();
View
11. 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
PackageManager
Dalvik Virtual Machine
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
drawText()
12. 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
onCreate();
BroadcastReceiver
Destroyed - previous
Component - screen
13. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
AccountAuthenticatorActivity
Android SDK
drawText()
Low power
14. 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.
BackupHelper
AndroidManifest.xml
Ducking
inflate()
15. ______ are views derived from ViewGroup that provide a unique layout model for its child views
onStop();
SettingsActivity
ValueAnimator
Layouts
16. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
GET_ACCOUNTS
onSearchRequested()
EXTRA_STREAM
Hierarchy Viewer
17. 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
AbstractAccountAuthenticator
Dalvik Virtual Machine
Google Play
18. 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?
Application resources
EXTRA_STREAM
GET_ACCOUNTS
Back stack
19. 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
Application footprint
dual-
AsyncTask
20. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
SurfaceHolder.Callback
Objects Activity lifecycle
SurfaceView
Paint
21. Theseare a key part of Android applications that directly affect the user experience.
Account
Layouts
ValueAnimator
Android SDK
22. It is an efficient and maintainable way to parse XML on Android.
OAuth2 protocol
When the activity resumes
XmlPullParser
Google Cloud Messaging (GCM)
23. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
HTTP
AsyncTask
isConnected()
single-pane
24. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Widgets
Emulator
onDraw()
Objects Activity lifecycle
25. This is set up to animate for the duration of the fling.
PackageManager
ValueAnimator
InputStream
Linux based
26. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Component - screen
OnCurrentItemChanged
android.hardware.touchscreen
getInputStream()
27. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Deserialize
Widgets
Entire
Back stack
28. Callback method: The activity is about to be destroyed.
auth scope
Hierarchy Viewer
ACTION_DOCK_EVENT
onDestroy();
29. Conversion of XML back to an object
BackupHelper
inflate()
searchable configuration
Deserialize
30. For example - a ____ might be a button that initiates an action when the user touches it.
BatteryManager
inflate()
onSearchRequested()
View
31. This is the main class through which your application can access location services on Android.
Widgets
Intent filters
LocationManager
XmlPullParser
32. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
AsyncTask
Full power
View
Widgets
33. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
HttpURLConnection
Google Play
SurfaceView
ViewStub
34. The visible lifetime of an activity happens between the call to ____ and the call to ______
dual-
onStart() - onStop()
Open Handset Alliance
LocationManager
35. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
Activity
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
setVolumeControlStream()
ViewStub
36. 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.
XmlPullParser
Paint
touch
Standby
37. It is a set of rules for encoding documents in machine-readable form.
Explicit intent
AsyncTask
Activity
Extensible Markup Language (XML)
38. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Serialize
Advanced Training
Wi-Fi radio
HTTP
39. This class provides one of the simplest ways to fire off a new task from the UI thread.
AsyncTask
Layouts
BatteryManager
When the activity resumes
40. It is a string that defines the specific type of access your app is asking for.
auth scope
Open Handset Alliance
PackageManager
getInputStream()
41. This can be used to draw previews of what the camera sensor is picking up.
resolveSizeAndState()
BackupHelper
SurfaceView
drawBitmap()
42. Once installed on a device - each Android application lives in its own ______
Low power
inflate()
security sandbox
ACTION_SEND
43. This class exposes a number of methods for applications to receive location updates.
OAuth2
Implicit intent
LocationManager
Lifecycle callback methods
44. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
onCreate() - onDestroy()
onAudioFocusChange()
Layouts
Services
45. Android is __________.
When the activity resumes
SearchView
Linux based
resolveSizeAndState()
46. Allow to combine loosely coupled components to perform certain tasks
Intents
Emulator
GestureDetector
Scroller
47. If permissions are missing - the application will get this at runtime.
Serialize
adb
SecurityException
onDestroy();
48. 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()
Service Content Provider
Layouts
ETC1
49. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
Intent filters
Layouts
onResume();
NetworkInfo
50. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
SQLiteOpenHelper
Back stack
ConnectivityManager
touch