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 intermediate state that uses around 50% of the battery power at the full state.
Linux based
Services
Low power
ACTION_DOCK_EVENT
2. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
onStart() - onStop()
Lifecycle callback methods
HTTP
ValueAnimator
3. Shows the actual amount of memory the application uses
SQLiteOpenHelper
Extensible Markup Language (XML)
Application footprint
searchable configuration
4. This widget as an item in the action bar is the preferred way to provide search in your app.
Activity
onMeasure()
SearchView
Ducking
5. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Advanced Training
Explicit intent
onCreate();
onAudioFocusChange()
6. This is used to convert raw touch events into gestures.
Scroller
GestureDetector
Scroller
touch
7. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
touch
Canvas
Back stack
8. It provides a simple way to perform your work outside the main thread.
single-pane
SearchView
AsyncTask
BackupHelper
9. This includes tools to help you identify problems in your layout performance.
LTE
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Google Cloud Messaging (GCM)
Android SDK
10. Android system uses a special virtual machine to run java based applicatons
Dalvik Virtual Machine
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Application resources
Dalvik Debug Monitor Server
11. Converts XML Document to XML DOM
onDraw()
onResume();
Parser
onCreate() - onDestroy()
12. It doesn't currently support the <merge/> tag in the layouts to be inflated.
onMeasure()
ViewStub
GestureDetector
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
13. These helpers are specialized classes for backing up certain kinds of data.
BackupHelper
Lifecycle callback methods
InputStream
searchable configuration
14. 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
Lifecycle callback methods
Destroyed - previous
Services
onSearchRequested()
15. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
drawText()
View
ActionProvider
AccountAuthenticatorActivity
16. This action is used in sending text content from one activity to another.
Android SDK
Emulator
auth scope
ACTION_SEND
17. An open source stand alone database
SQLite
drawBitmap()
setVolumeControlStream()
SecurityException
18. 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
Stack
onCreate();
onCreate() - onDestroy()
19. A mode where navigation is set up with a spinner widget.
auth scope
AndroidManifest.xml
AccountAuthenticatorActivity
single-pane
20. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
NetworkInfo
Dalvik Debug Monitor Server
Intents
inflate()
21. 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
touch
ETC1
drawText()
22. When a new activity starts - it is pushed onto the ____ and takes user focus.
Fragments
Scroller
Destroyed - previous
Back stack
23. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Entire
onMeasure()
Objects Activity lifecycle
Services
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.
auth scope
onAudioFocusChange()
Stack - back stack
Fragments
25. It is called to invoke the search dialog on older devices.
authenticator class
Account
onSearchRequested()
searchable configuration
26. Evaluation of registered components
Activity
Android SDK
Implicit intent
HTTP
27. 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.
InputStream
Fragments
Ducking
BroadcastReceiver
28. An open source group led by Google
setVolumeControlStream()
Open Handset Alliance
adb
Activity
29. It is a string that defines the specific type of access your app is asking for.
android.hardware.touchscreen
auth scope
drawBitmap()
ActionProvider
30. In order to get a list of accounts on the device - your app needs this permission.
onMeasure()
LocationManager
GET_ACCOUNTS
BroadcastReceiver
31. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
Layouts
XmlPullParser
BroadcastReceiver
authenticator class
32. 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?
ACTION_SEND
AttributeSet
Stack
Scroller
33. Conversion of XML back to an object
Account
adb
Deserialize
PackageManager
34. Callback method: Another activity is taking focus
touch
Parser
adb
onPause();
35. To create an activity - you must create a subclass of
BatteryManager
ACTION_DOCK_EVENT
Activity
AttributeSet
36. This class provides one of the simplest ways to fire off a new task from the UI thread.
Back stack
ETC1
AsyncTask
Dots per inch
37. Where Android is currently primarily developed
Google
isConnected()
Scroller
android.hardware.touchscreen
38. It made implementing an effective and user friendly share action in your ActionBar even easier.
ActionProvider
Stack - back stack
getInputStream()
ConnectivityManager
39. On a rooted device - the credentials would be readable by anyone with this access to the device.
Intent filters
adb
AbstractAccountAuthenticator
getInputStream()
40. For example - a ____ might be a button that initiates an action when the user touches it.
SQLiteOpenHelper
SurfaceView
View
Paint
41. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
AbstractAccountAuthenticator
Standby
Component - screen
onStop();
42. Direct component call in Android
Explicit intent
SurfaceView
PieChart
resolveSizeAndState()
43. Android is __________.
Linux based
Deserialize
Standby
onStart() - onStop()
44. This is the simplest way to monitor device state changes.
BroadcastReceiver
onCreate();
Widgets
AudioManager
45. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
onCreate() - onDestroy()
ACTION_DOCK_EVENT
Dalvik Debug Monitor Server
security sandbox
46. Amode where the action bar is set up with tabs for navigation.
Paint
ACTION_DOCK_EVENT
dual-
authenticator class
47. This is an interface which is used to pass image data from the camera hardware to the application.
SurfaceHolder.Callback
SQLite
Intent filters
AttributeSet
48. 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
Activity
Component - screen
BroadcastReceiver
Account Manager
49. You can set the layout as the UI for your activity with passing the resource ID for the layout.
setContentView
Back stack
onStop();
onStop();
50. It is a subclass of PreferenceActivity.
BroadcastReceiver
Extensible Markup Language (XML)
SettingsActivity
Parser