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. Android system uses a special virtual machine to run java based applicatons
SearchView
BatteryManager
GestureDetector
Dalvik Virtual Machine
2. 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
Destroyed - previous
Advanced Training
Extensible Markup Language (XML)
3. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
AbstractAccountAuthenticator
onStop();
onDestroy();
PackageManager
4. An open source group led by Google
Open Handset Alliance
Wi-Fi radio
AttributeSet
Services
5. Callback method: The activity is about to be destroyed.
isConnected()
BroadcastReceiver
onDestroy();
onSearchRequested()
6. Most network-connected Android apps use this to send and receive data.
Canvas
Entire
SettingsActivity
HTTP
7. Conversion of XML back to an object
Deserialize
Android SDK
ViewStub
SQLiteOpenHelper
8. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Dalvik Debug Monitor Server
Hierarchy Viewer
Android SDK
OnCurrentItemChanged
9. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
ViewStub
Ducking
AsyncTask
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
10. 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
Intents
dual-
Destroyed - previous
Canvas
11. 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
Open Handset Alliance
Account Manager
Emulator
12. For example - a ____ might be a button that initiates an action when the user touches it.
View
onDraw()
BackupHelper
Explicit intent
13. Direct component call in Android
Explicit intent
Google
searchable configuration
Activity
14. A mode where navigation is set up with a spinner widget.
SearchView
Android SDK
HTTP
single-pane
15. This class is the basis for handling flywheel-style fling gestures.
onPause();
Activity
Scroller
onMeasure()
16. 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();
Scroller
adb
onCreate() - onDestroy()
17. The minimal energy state during which no network connection is active or required.
Standby
isConnected()
Open Handset Alliance
Intents
18. You can set the layout as the UI for your activity with passing the resource ID for the layout.
HTTP
setContentView
OnCurrentItemChanged
onCreate() - onDestroy()
19. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
onStop();
Advanced Training
OAuth2 protocol
touch
20. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
ConnectivityManager
ACTION_DOCK_EVENT
BatteryManager
Lifecycle callback methods
21. An _______ is an application component that provides a screen 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.
Activity
InputStream
onResume();
Stack - back stack
22. The visible lifetime of an activity happens between the call to ____ and the call to ______
onDestroy();
AccountAuthenticatorActivity
onMeasure()
onStart() - onStop()
23. A service in which programmers can offer their Android application to Android users.
Low power
SurfaceView
Google Play
EXTRA_STREAM
24. It is used to load images in a background thread - then apply them to the UI once finished.
resolveSizeAndState()
AsyncTask
Scroller
Entire
25. An open source stand alone database
AbstractAccountAuthenticator
SQLite
onDraw()
Dalvik Debug Monitor Server
26. This is an interface which is used to pass image data from the camera hardware to the application.
SurfaceHolder.Callback
resolveSizeAndState()
Entire
Deserialize
27. Android is __________.
HttpURLConnection
Linux based
PieChart
Full power
28. Whenever the device is docked or undocked - this action is broadcast.
LTE
auth scope
ACTION_DOCK_EVENT
onMeasure()
29. It doesn't currently support the <merge/> tag in the layouts to be inflated.
Account
View
ViewStub
dual-
30. This is the most common input event in the Android system.
AbstractAccountAuthenticator
touch
AttributeSet
Geocoder
31. It is a string that defines the specific type of access your app is asking for.
BackupHelper
onStop();
auth scope
BroadcastReceiver
32. In most cases this will offer greater bandwidth at a significantly lower battery cost.
ACTION_SEND
Wi-Fi radio
AttributeSet
security sandbox
33. Sharing of data in Android is done via________
Hierarchy Viewer
ValueAnimator
Android SDK
Service Content Provider
34. 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
authenticator class
EXTRA_STREAM
Linux based
35. Each activity can then start another activity in order to perform different actions. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a ___ .
View
Layouts
Standby
Stack
36. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
authenticator class
Scroller
ConnectivityManager
onCreate() - onDestroy()
37. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
LTE
onResume();
resolveSizeAndState()
BatteryManager
38. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
setContentView
onCreate() - onDestroy()
Activity
Dalvik Debug Monitor Server
39. Callback method: The activity has become visible.
onStop();
Full power
AndroidManifest.xml
onResume();
40. Amode where the action bar is set up with tabs for navigation.
Linux based
InputStream
LocationManager
dual-
41. Use this to draw text.
Explicit intent
onMeasure()
Objects Activity lifecycle
drawText()
42. Callback method: The activity is no longer visible.
NetworkInfo
onStop();
OnCurrentItemChanged
OAuth2 protocol
43. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
single-pane
SQLiteOpenHelper
<declare-styleable>
Emulator
44. Once installed on a device - each Android application lives in its own ______
virtual table
security sandbox
dual-
isConnected()
45. Callback method: The activity is no longer visible
Activity
onStop();
Linux based
ValueAnimator
46. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
ViewStub
Activity
onDraw()
Deserialize
47. To define custom attributes - add this resources to your project.
Deserialize
PieChart
<declare-styleable>
adb
48. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
ConnectivityManager
NetworkInfo
ShareActionProvider
onAudioFocusChange()
49. 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.
SearchView
Layouts
onPause();
Component - screen
50. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
ACTION_DOCK_EVENT
Dalvik Virtual Machine
android.hardware.touchscreen
onDestroy();