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. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
PieChart
onDraw()
EXTRA_STREAM
InputStream
2. This is the main class through which your application can access location services on Android.
isConnected()
PieChart
LocationManager
AbstractAccountAuthenticator
3. A mode where navigation is set up with a spinner widget.
AsyncTask
single-pane
Geocoder
ConnectivityManager
4. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
Hierarchy Viewer
Stack
BroadcastReceiver
Destroyed - previous
5. Evaluation of registered components
ValueAnimator
OAuth2
ConnectivityManager
Implicit intent
6. To define custom attributes - add this resources to your project.
SurfaceView
Lifecycle callback methods
resolveSizeAndState()
<declare-styleable>
7. is run when running Android on the pc
Emulator
LocationManager
InputStream
AsyncTask
8. Shows the actual amount of memory the application uses
Google
AsyncTask
Application footprint
Services
9. This broadcasts an action whenever the device is connected or disconnected from power.
BatteryManager
Hierarchy Viewer
Entire
resolveSizeAndState()
10. 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.
Scroller
ETC1
onStop();
onMeasure()
11. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
BroadcastReceiver
View
visible
Widgets
12. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
SQLiteOpenHelper
AbstractAccountAuthenticator
AccountAuthenticatorActivity
AsyncTask
13. Converts XML Document to XML DOM
SecurityException
Parser
android.hardware.touchscreen
setVolumeControlStream()
14. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
Destroyed - previous
authenticator class
Geocoder
Objects Activity lifecycle
15. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
Canvas
touch
When the activity resumes
Standby
16. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
SQLiteOpenHelper
Full power
AsyncTask
PackageManager
17. It doesn't currently support the <merge/> tag in the layouts to be inflated.
Activity
Application footprint
ViewStub
AsyncTask
18. Theseare a key part of Android applications that directly affect the user experience.
Layouts
Google Play
Emulator
resolveSizeAndState()
19. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
HttpURLConnection
SettingsActivity
BroadcastReceiver
Dalvik Debug Monitor Server
20. 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
android.hardware.touchscreen
SurfaceView
LocationManager
21. This is set up to animate for the duration of the fling.
ValueAnimator
Fragments
BatteryManager
Full power
22. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
visible
ConnectivityManager
PackageManager
ViewStub
23. When a new activity starts - it is pushed onto the ____ and takes user focus.
setVolumeControlStream()
Back stack
Deserialize
Explicit intent
24. This class provides one of the simplest ways to fire off a new task from the UI thread.
When the activity resumes
AsyncTask
Dots per inch
Linux based
25. 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
Google Play
PackageManager
Entire
onSearchRequested()
26. To create an activity - you must create a subclass of
onCreate();
ACTION_SEND
View
Activity
27. It is available starting with API Level 14 and higher.
ActionProvider
ShareActionProvider
OnCurrentItemChanged
Google
28. Callback method: The activity has become visible.
onResume();
ConnectivityManager
Android SDK
PackageManager
29. 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
Open Handset Alliance
ConnectivityManager
Stack - back stack
30. Callback method: Another activity is taking focus
SearchView
Intents
onPause();
dual-
31. It made implementing an effective and user friendly share action in your ActionBar even easier.
Hierarchy Viewer
ActionProvider
ConnectivityManager
AsyncTask
32. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
AudioManager
View
Intents
LocationManager
33. Where Android is currently primarily developed
onMeasure()
ActionProvider
Google
Application resources
34. This is used for the need of finer control over your view's layout parameters.
security sandbox
Implicit intent
onMeasure()
Extensible Markup Language (XML)
35. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
BroadcastReceiver
Deserialize
onStart() - onStop()
BatteryManager
36. This is used to check that you're actually connected to the Internet and what type of connection is in place.
AudioManager
Canvas
ConnectivityManager
onPause();
37. 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
When the activity resumes
OnCurrentItemChanged
Component - screen
onPause();
38. 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
Destroyed - previous
Advanced Training
OAuth2
When the activity resumes
39. It is a subclass of PreferenceActivity.
Stack
SettingsActivity
onDestroy();
ETC1
40. 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.
OAuth2 protocol
Ducking
AndroidManifest.xml
adb
41. 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 _____
onDestroy();
onCreate() - onDestroy()
drawText()
Google Cloud Messaging (GCM)
42. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
LTE
SurfaceHolder.Callback
onCreate() - onDestroy()
drawText()
43. This action is used in sending text content from one activity to another.
ACTION_SEND
getInputStream()
When the activity resumes
PackageManager
44. It is a free service for sending messages to Android devices.
AsyncTask
Stack
Google Cloud Messaging (GCM)
Emulator
45. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
resolveSizeAndState()
ViewStub
Canvas
46. This includes tools to help you identify problems in your layout performance.
Android SDK
touch
ViewStub
SettingsActivity
47. Allow to combine loosely coupled components to perform certain tasks
BatteryManager
Intents
AccountAuthenticatorActivity
resolveSizeAndState()
48. Amode where the action bar is set up with tabs for navigation.
touch
dual-
isConnected()
InputStream
49. It is called to invoke the search dialog on older devices.
onSearchRequested()
Account
HTTP
LocationManager
50. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
touch
HttpURLConnection
Canvas
Application footprint