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. This class provides one of the simplest ways to fire off a new task from the UI thread.
Emulator
AsyncTask
Paint
Component - screen
2. Direct component call in Android
Open Handset Alliance
ShareActionProvider
adb
Explicit intent
3. This can be used to draw previews of what the camera sensor is picking up.
OnCurrentItemChanged
SurfaceView
resolveSizeAndState()
Activity
4. It made implementing an effective and user friendly share action in your ActionBar even easier.
Scroller
Stack - back stack
ActionProvider
Open Handset Alliance
5. Evaluation of registered components
Stack
Implicit intent
setVolumeControlStream()
Google Cloud Messaging (GCM)
6. An open source stand alone database
SQLite
onDraw()
When the activity resumes
onCreate() - onDestroy()
7. Conversion of XML back to an object
Deserialize
Advanced Training
Serialize
ETC1
8. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Full power
HTTP
SearchView
onSearchRequested()
9. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
dual-
inflate()
AsyncTask
isConnected()
10. Allow to combine loosely coupled components to perform certain tasks
Dalvik Debug Monitor Server
OAuth2
Intents
onCreate();
11. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
onStop();
drawBitmap()
Entire
Intent filters
12. 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.
ETC1
setVolumeControlStream()
ACTION_DOCK_EVENT
Hierarchy Viewer
13. This is set up to animate for the duration of the fling.
Parser
Google Cloud Messaging for Android (GCM)
ValueAnimator
HttpURLConnection
14. is run when running Android on the pc
ActionProvider
Extensible Markup Language (XML)
auth scope
Emulator
15. The visible lifetime of an activity happens between the call to ____ and the call to ______
PieChart
Paint
onStart() - onStop()
inflate()
16. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
virtual table
Scroller
SQLiteOpenHelper
ShareActionProvider
17. The dock-state details are included as an extra in a sticky broadcast of this action.
Serialize
Activity
ACTION_DOCK_EVENT
InputStream
18. 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.
Ducking
ACTION_DOCK_EVENT
AudioManager
Account
19. The industry standard way to deal with authentication to third-party services.
Widgets
OAuth2 protocol
dual-
AsyncTask
20. To create an activity - you must create a subclass of
SettingsActivity
Activity
HttpURLConnection
Full power
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
SearchView
onCreate() - onDestroy()
Hierarchy Viewer
Destroyed - previous
22. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
AccountAuthenticatorActivity
HttpURLConnection
inflate()
Activity
23. This class is the basis for handling flywheel-style fling gestures.
Application resources
OnCurrentItemChanged
Scroller
XmlPullParser
24. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
isConnected()
Scroller
Canvas
ConnectivityManager
25. It provides a simple way to perform your work outside the main thread.
Google Cloud Messaging for Android (GCM)
searchable configuration
<declare-styleable>
AsyncTask
26. Amode where the action bar is set up with tabs for navigation.
dual-
getInputStream()
ConnectivityManager
Wi-Fi radio
27. Shows the actual amount of memory the application uses
security sandbox
Android SDK
Activity
Application footprint
28. Represents the visual representation of an Android application
onCreate();
Activity
Extensible Markup Language (XML)
onCreate() - onDestroy()
29. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
NetworkInfo
Intents
AudioManager
ACTION_DOCK_EVENT
30. 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()
GET_ACCOUNTS
onAudioFocusChange()
inflate()
31. This is used for the need of finer control over your view's layout parameters.
Canvas
ActionProvider
Fragments
onMeasure()
32. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
ETC1
onAudioFocusChange()
Stack
Low power
33. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
onDraw()
LTE
onSearchRequested()
Back stack
34. If permissions are missing - the application will get this at runtime.
View
searchable configuration
Entire
SecurityException
35. A service in which programmers can offer their Android application to Android users.
searchable configuration
Hierarchy Viewer
SettingsActivity
Google Play
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
SearchView
AndroidManifest.xml
Activity
37. Android system uses a special virtual machine to run java based applicatons
AsyncTask
Dalvik Virtual Machine
AbstractAccountAuthenticator
Android SDK
38. A mode where navigation is set up with a spinner widget.
Serialize
Account Manager
isConnected()
single-pane
39. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
Android SDK
Application resources
AccountAuthenticatorActivity
ValueAnimator
40. It is available starting with API Level 14 and higher.
ShareActionProvider
setContentView
AsyncTask
Parser
41. This widget as an item in the action bar is the preferred way to provide search in your app.
drawBitmap()
ShareActionProvider
onMeasure()
SearchView
42. Are used in activities to create the user interface and to interact with the user.
Fragments
Android SDK
EXTRA_STREAM
Intents
43. In order to get a list of accounts on the device - your app needs this permission.
resolveSizeAndState()
AsyncTask
GET_ACCOUNTS
Scroller
44. It is a string that defines the specific type of access your app is asking for.
Dalvik Debug Monitor Server
BatteryManager
auth scope
searchable configuration
45. For example - a ____ might be a button that initiates an action when the user touches it.
getInputStream()
View
resolveSizeAndState()
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
46. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
ACTION_DOCK_EVENT
onResume();
OnCurrentItemChanged
SQLite
47. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Widgets
Full power
SecurityException
AttributeSet
48. Callback method: The activity is about to be destroyed.
Implicit intent
AbstractAccountAuthenticator
When the activity resumes
onDestroy();
49. Callback method: The activity is no longer visible
OAuth2
Paint
Hierarchy Viewer
onStop();
50. 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.
Low power
BroadcastReceiver
AsyncTask
Paint