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. On a rooted device - the credentials would be readable by anyone with this access to the device.
adb
AbstractAccountAuthenticator
SearchView
getInputStream()
2. It made implementing an effective and user friendly share action in your ActionBar even easier.
ActionProvider
NetworkInfo
Layouts
GET_ACCOUNTS
3. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
resolveSizeAndState()
getInputStream()
GestureDetector
ETC1
4. To create an activity - you must create a subclass of
SecurityException
Google Play
Wi-Fi radio
Activity
5. The visible lifetime of an activity happens between the call to ____ and the call to ______
onDestroy();
onStart() - onStop()
ConnectivityManager
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
6. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
OAuth2 protocol
Dalvik Debug Monitor Server
SearchView
AudioManager
7. 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 ___ .
Stack
HTTP
Linux based
setVolumeControlStream()
8. Represents the visual representation of an Android application
AudioManager
Destroyed - previous
View
Activity
9. This is used to fetch the account names that the user has stored on their device.
Ducking
Account Manager
onCreate() - onDestroy()
OnCurrentItemChanged
10. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
onStop();
onPause();
Emulator
searchable configuration
11. It is a subclass of PreferenceActivity.
SettingsActivity
Back stack
NetworkInfo
android.hardware.touchscreen
12. The helper method is used to create the final width and height values.
XmlPullParser
SurfaceHolder.Callback
PieChart
resolveSizeAndState()
13. 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.
auth scope
Wi-Fi radio
Paint
Back stack
14. Callback method: The activity is being created.
onCreate();
Canvas
Layouts
Layouts
15. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
<declare-styleable>
AsyncTask
Full power
virtual table
16. A mode where navigation is set up with a spinner widget.
ViewStub
SurfaceHolder.Callback
Objects Activity lifecycle
single-pane
17. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
Extensible Markup Language (XML)
auth scope
Service Content Provider
AccountAuthenticatorActivity
18. This action is used in sending text content from one activity to another.
SurfaceView
Back stack
Application resources
ACTION_SEND
19. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
onStop();
HTTP
inflate()
Service Content Provider
20. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
AccountAuthenticatorActivity
When the activity resumes
Lifecycle callback methods
BatteryManager
21. 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
Dalvik Debug Monitor Server
Destroyed - previous
Full power
EXTRA_STREAM
22. It is available starting with API Level 14 and higher.
SearchView
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
ShareActionProvider
setContentView
23. Callback method: The activity is about to be destroyed.
Scroller
onDestroy();
Wi-Fi radio
<declare-styleable>
24. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
OAuth2 protocol
authenticator class
onAudioFocusChange()
setContentView
25. This class is the basis for handling flywheel-style fling gestures.
Scroller
Android SDK
setContentView
Full power
26. An intermediate state that uses around 50% of the battery power at the full state.
Full power
Google Play
drawText()
Low power
27. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
PieChart
OAuth2
Scroller
ActionProvider
28. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
AsyncTask
Dalvik Debug Monitor Server
Serialize
Google Cloud Messaging for Android (GCM)
29. If permissions are missing - the application will get this at runtime.
OAuth2 protocol
Implicit intent
Android SDK
SecurityException
30. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
AsyncTask
Wi-Fi radio
visible
ViewStub
31. This is the most common input event in the Android system.
View
LocationManager
touch
ETC1
32. Use this to draw bitmaps.
drawBitmap()
Emulator
onCreate() - onDestroy()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
33. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Lifecycle callback methods
SQLite
ACTION_DOCK_EVENT
ConnectivityManager
34. This is used to register and de-register your media button event receiver.
AudioManager
OnCurrentItemChanged
visible
ViewStub
35. The most common way to define a layout using views is with an XML layout file saved in your ______
touch
Hierarchy Viewer
Account Manager
Application resources
36. This is an interface which is used to pass image data from the camera hardware to the application.
onSearchRequested()
Ducking
Standby
SurfaceHolder.Callback
37. Evaluation of registered components
Implicit intent
ACTION_DOCK_EVENT
Objects Activity lifecycle
Parser
38. Android request its permission using its ________
AndroidManifest.xml
onStop();
BroadcastReceiver
SecurityException
39. is run when running Android on the pc
AttributeSet
ViewStub
Emulator
Service Content Provider
40. Conversion of XML back to an object
SecurityException
onCreate() - onDestroy()
Extensible Markup Language (XML)
Deserialize
41. The entire lifetime of an activity happens between the call to _____ and the call to _____
onCreate() - onDestroy()
Services
BroadcastReceiver
Intents
42. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
drawText()
isConnected()
Android SDK
Fragments
43. An open source stand alone database
Stack - back stack
Application footprint
SQLite
Service Content Provider
44. 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.
ViewStub
When the activity resumes
ETC1
Dalvik Debug Monitor Server
45. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Activity
Open Handset Alliance
Destroyed - previous
android.hardware.touchscreen
46. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Entire
onCreate();
Google Cloud Messaging for Android (GCM)
Layouts
47. This includes tools to help you identify problems in your layout performance.
AudioManager
Back stack
Android SDK
SearchView
48. This is set up to animate for the duration of the fling.
Open Handset Alliance
Dots per inch
ValueAnimator
Objects Activity lifecycle
49. Theseare a key part of Android applications that directly affect the user experience.
Activity
Stack - back stack
Back stack
Layouts
50. Sharing of data in Android is done via________
onStart() - onStop()
Scroller
Service Content Provider
ActionProvider