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 broadcasts an action whenever the device is connected or disconnected from power.
Activity
Services
Standby
BatteryManager
2. It is a free service for sending messages to Android devices.
InputStream
Google Cloud Messaging (GCM)
BroadcastReceiver
getInputStream()
3. 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.
Deserialize
ConnectivityManager
ETC1
Extensible Markup Language (XML)
4. This action is used in sending text content from one activity to another.
Android SDK
HTTP
ACTION_SEND
InputStream
5. Allow to combine loosely coupled components to perform certain tasks
Intents
SurfaceHolder.Callback
visible
AsyncTask
6. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
ACTION_SEND
SearchView
SQLiteOpenHelper
OnCurrentItemChanged
7. Represents the visual representation of an Android application
Extensible Markup Language (XML)
onCreate() - onDestroy()
Activity
HttpURLConnection
8. This is the simplest way to monitor device state changes.
BroadcastReceiver
AccountAuthenticatorActivity
GET_ACCOUNTS
Open Handset Alliance
9. Callback method: The activity is no longer visible
drawBitmap()
Application footprint
onStop();
LocationManager
10. This is the main class through which your application can access location services on Android.
AudioManager
onCreate() - onDestroy()
LocationManager
onStop();
11. This class is the basis for handling flywheel-style fling gestures.
EXTRA_STREAM
Explicit intent
Scroller
LocationManager
12. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Widgets
LTE
ConnectivityManager
BroadcastReceiver
13. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Scroller
onStart() - onStop()
Google Cloud Messaging for Android (GCM)
Account
14. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
SQLiteOpenHelper
HTTP
Canvas
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
15. 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?
AttributeSet
Stack
SecurityException
single-pane
16. Android request its permission using its ________
touch
ACTION_DOCK_EVENT
AndroidManifest.xml
SecurityException
17. This is used to register and de-register your media button event receiver.
AudioManager
Google Play
Low power
Activity
18. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
Entire
View
InputStream
drawBitmap()
19. To define custom attributes - add this resources to your project.
onCreate() - onDestroy()
<declare-styleable>
ACTION_SEND
Stack - back stack
20. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
View
ActionProvider
InputStream
BroadcastReceiver
21. If permissions are missing - the application will get this at runtime.
SecurityException
ETC1
Linux based
onPause();
22. Direct component call in Android
SurfaceView
Open Handset Alliance
Explicit intent
SQLite
23. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
inflate()
ActionProvider
onResume();
Paint
24. Callback method: The activity is no longer visible.
Destroyed - previous
onStop();
AttributeSet
Android SDK
25. It inform the system what intents an application component is willing to accept.
Activity
Hierarchy Viewer
single-pane
Intent filters
26. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
AccountAuthenticatorActivity
Dalvik Debug Monitor Server
OnCurrentItemChanged
onDestroy();
27. You can set the layout as the UI for your activity with passing the resource ID for the layout.
ViewStub
setContentView
Android SDK
Canvas
28. This is set up to animate for the duration of the fling.
ConnectivityManager
security sandbox
ValueAnimator
Account Manager
29. A service in which programmers can offer their Android application to Android users.
XmlPullParser
Google Play
PackageManager
ViewStub
30. Necessary tools to develop Android applications
Android SDK
GET_ACCOUNTS
AbstractAccountAuthenticator
Dalvik Virtual Machine
31. Android provides this handy method to direct volume key presses to the audio stream the user specify.
ConnectivityManager
setVolumeControlStream()
onAudioFocusChange()
ACTION_SEND
32. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
HttpURLConnection
Activity
Advanced Training
Application resources
33. These helpers are specialized classes for backing up certain kinds of data.
SQLiteOpenHelper
AsyncTask
ETC1
BackupHelper
34. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Full power
ETC1
onMeasure()
35. Android system uses a special virtual machine to run java based applicatons
SearchView
visible
Google Cloud Messaging for Android (GCM)
Dalvik Virtual Machine
36. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
onDestroy();
AbstractAccountAuthenticator
ConnectivityManager
AudioManager
37. An intermediate state that uses around 50% of the battery power at the full state.
Explicit intent
SQLite
Extensible Markup Language (XML)
Low power
38. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
SurfaceHolder.Callback
isConnected()
BatteryManager
getInputStream()
39. Callback method: The activity is being created.
ConnectivityManager
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
BackupHelper
onCreate();
40. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Activity
Entire
LocationManager
Wi-Fi radio
41. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
ACTION_DOCK_EVENT
android.hardware.touchscreen
View
searchable configuration
42. When a new activity starts - it is pushed onto the ____ and takes user focus.
resolveSizeAndState()
setVolumeControlStream()
Back stack
Android SDK
43. Evaluation of registered components
onCreate() - onDestroy()
visible
Fragments
Implicit intent
44. This class exposes a number of methods for applications to receive location updates.
onCreate() - onDestroy()
Layouts
adb
LocationManager
45. Perform background tasks without providing a user interface
touch
Standby
Services
SurfaceHolder.Callback
46. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
drawText()
Linux based
onDraw()
AccountAuthenticatorActivity
47. Callback method: Another activity is taking focus
onPause();
setContentView
resolveSizeAndState()
SearchView
48. Use this to draw text.
drawText()
Emulator
Intents
ConnectivityManager
49. This is an interface which is used to pass image data from the camera hardware to the application.
SurfaceHolder.Callback
android.hardware.touchscreen
auth scope
Lifecycle callback methods
50. The helper method is used to create the final width and height values.
dual-
resolveSizeAndState()
virtual table
ConnectivityManager