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. It provides a simple way to perform your work outside the main thread.
Back stack
GestureDetector
AsyncTask
LocationManager
2. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
XmlPullParser
Lifecycle callback methods
Intent filters
When the activity resumes
3. 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.
Dots per inch
OAuth2
ConnectivityManager
GET_ACCOUNTS
4. When a new activity starts - it is pushed onto the ____ and takes user focus.
Explicit intent
ACTION_DOCK_EVENT
Back stack
onStop();
5. Use this to draw bitmaps.
AsyncTask
AsyncTask
drawBitmap()
SettingsActivity
6. Evaluation of registered components
SecurityException
Implicit intent
Scroller
Advanced Training
7. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
visible
PieChart
Application resources
touch
8. This class provides one of the simplest ways to fire off a new task from the UI thread.
Full power
Dalvik Debug Monitor Server
Scroller
AsyncTask
9. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Application footprint
android.hardware.touchscreen
onStop();
Google Cloud Messaging for Android (GCM)
10. This includes tools to help you identify problems in your layout performance.
authenticator class
getInputStream()
onResume();
Android SDK
11. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
Geocoder
SearchView
NetworkInfo
ConnectivityManager
12. It doesn't currently support the <merge/> tag in the layouts to be inflated.
BatteryManager
ViewStub
Activity
Activity
13. It is available starting with API Level 14 and higher.
SearchView
Stack
ShareActionProvider
adb
14. The most common way to define a layout using views is with an XML layout file saved in your ______
Application resources
Back stack
Linux based
Service Content Provider
15. The helper method is used to create the final width and height values.
onResume();
Standby
resolveSizeAndState()
ACTION_DOCK_EVENT
16. Conversion of an object to XML
onStop();
onStart() - onStop()
View
Serialize
17. 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.
ConnectivityManager
Back stack
ACTION_DOCK_EVENT
ETC1
18. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
Stack
inflate()
Google Cloud Messaging for Android (GCM)
AccountAuthenticatorActivity
19. Android system uses a special virtual machine to run java based applicatons
Dalvik Virtual Machine
onStop();
SurfaceHolder.Callback
setContentView
20. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
onDraw()
Dalvik Virtual Machine
Intents
onMeasure()
21. A service in which programmers can offer their Android application to Android users.
Google Play
LocationManager
onCreate() - onDestroy()
security sandbox
22. Converts XML Document to XML DOM
Activity
Parser
drawText()
BatteryManager
23. 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
AsyncTask
setContentView
Google
24. A styleable entity that contains these two custom attributes: showText and labelPosition.
single-pane
PieChart
Ducking
Stack
25. This is a readable source of bytes.
InputStream
Full power
Hierarchy Viewer
ACTION_SEND
26. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
AsyncTask
isConnected()
Google Cloud Messaging (GCM)
BackupHelper
27. 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
authenticator class
touch
ViewStub
28. 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
Service Content Provider
Open Handset Alliance
PackageManager
adb
29. This class is the basis for handling flywheel-style fling gestures.
ACTION_SEND
Android SDK
Scroller
OAuth2
30. Callback method: The activity is about to be destroyed.
ShareActionProvider
onStop();
Lifecycle callback methods
onDestroy();
31. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
View
AbstractAccountAuthenticator
Implicit intent
Account
32. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Fragments
Widgets
authenticator class
GET_ACCOUNTS
33. Relative to pixels and resolution screen
AsyncTask
Intents
Dots per inch
AttributeSet
34. It made implementing an effective and user friendly share action in your ActionBar even easier.
AsyncTask
SurfaceView
BroadcastReceiver
ActionProvider
35. It inform the system what intents an application component is willing to accept.
Intent filters
Fragments
virtual table
LocationManager
36. Represents the visual representation of an Android application
Canvas
Geocoder
Activity
When the activity resumes
37. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
searchable configuration
LTE
Layouts
NetworkInfo
38. In order to get a list of accounts on the device - your app needs this permission.
XmlPullParser
Scroller
GET_ACCOUNTS
searchable configuration
39. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
LTE
onStop();
auth scope
OnCurrentItemChanged
40. Are used in activities to create the user interface and to interact with the user.
SurfaceView
Fragments
Google Cloud Messaging for Android (GCM)
Account Manager
41. is run when running Android on the pc
Android SDK
ConnectivityManager
Emulator
GestureDetector
42. Callback method: The activity is being created.
OnCurrentItemChanged
onCreate();
onDraw()
PackageManager
43. Shows the actual amount of memory the application uses
Serialize
Low power
Application footprint
Android SDK
44. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
SettingsActivity
XmlPullParser
BroadcastReceiver
dual-
45. To create an activity - you must create a subclass of
Activity
BroadcastReceiver
OAuth2
onAudioFocusChange()
46. Perform background tasks without providing a user interface
Services
AsyncTask
Dalvik Debug Monitor Server
Stack - back stack
47. The entire lifetime of an activity happens between the call to _____ and the call to _____
HttpURLConnection
android.hardware.touchscreen
AndroidManifest.xml
onCreate() - onDestroy()
48. The visible lifetime of an activity happens between the call to ____ and the call to ______
onStart() - onStop()
BatteryManager
Intents
Low power
49. 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 ___ .
Serialize
Stack
touch
ACTION_SEND
50. Amode where the action bar is set up with tabs for navigation.
dual-
adb
Activity
security sandbox