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. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
SecurityException
SurfaceView
Entire
Deserialize
2. Direct component call in Android
Explicit intent
InputStream
searchable configuration
View
3. Converts XML Document to XML DOM
touch
SearchView
Parser
resolveSizeAndState()
4. If permissions are missing - the application will get this at runtime.
onResume();
setVolumeControlStream()
NetworkInfo
SecurityException
5. This is the simplest way to monitor device state changes.
BroadcastReceiver
LocationManager
Application footprint
Android SDK
6. 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.
Objects Activity lifecycle
onStop();
Paint
single-pane
7. You can set the layout as the UI for your activity with passing the resource ID for the layout.
Android SDK
Low power
Layouts
setContentView
8. 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.
View
AsyncTask
Layouts
OAuth2
9. Relative to pixels and resolution screen
Dots per inch
adb
Application resources
BatteryManager
10. Callback method: The activity is no longer visible
Services
Service Content Provider
onCreate() - onDestroy()
onStop();
11. It made implementing an effective and user friendly share action in your ActionBar even easier.
BackupHelper
ActionProvider
AsyncTask
onCreate() - onDestroy()
12. It is a free service for sending messages to Android devices.
AbstractAccountAuthenticator
Google Cloud Messaging (GCM)
authenticator class
BackupHelper
13. Android request its permission using its ________
AndroidManifest.xml
isConnected()
Explicit intent
SQLiteOpenHelper
14. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
SQLiteOpenHelper
LTE
ACTION_DOCK_EVENT
GET_ACCOUNTS
15. This broadcasts an action whenever the device is connected or disconnected from power.
single-pane
When the activity resumes
BatteryManager
View
16. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
AccountAuthenticatorActivity
Android SDK
Serialize
NetworkInfo
17. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
android.hardware.touchscreen
LTE
Layouts
Full power
18. A mode where navigation is set up with a spinner widget.
getInputStream()
Serialize
AsyncTask
single-pane
19. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Geocoder
adb
onMeasure()
Widgets
20. Amode where the action bar is set up with tabs for navigation.
dual-
ACTION_DOCK_EVENT
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Geocoder
21. Android provides this handy method to direct volume key presses to the audio stream the user specify.
SurfaceView
Open Handset Alliance
BroadcastReceiver
setVolumeControlStream()
22. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
Layouts
BroadcastReceiver
Activity
InputStream
23. 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 ___ .
Dots per inch
onMeasure()
dual-
Stack
24. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Scroller
onCreate() - onDestroy()
GET_ACCOUNTS
ActionProvider
25. It is an efficient and maintainable way to parse XML on Android.
XmlPullParser
onStop();
SQLite
BroadcastReceiver
26. Use this to draw bitmaps.
drawBitmap()
searchable configuration
dual-
Intent filters
27. The minimal energy state during which no network connection is active or required.
SQLiteOpenHelper
AudioManager
Standby
virtual table
28. Android is __________.
Layouts
Linux based
drawText()
BatteryManager
29. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
android.hardware.touchscreen
Services
Linux based
Dalvik Debug Monitor Server
30. Callback method: Another activity is taking focus
Activity
onPause();
Layouts
AsyncTask
31. To define custom attributes - add this resources to your project.
visible
InputStream
Application footprint
<declare-styleable>
32. Theseare a key part of Android applications that directly affect the user experience.
Layouts
Geocoder
BroadcastReceiver
Scroller
33. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
Paint
Implicit intent
Open Handset Alliance
HttpURLConnection
34. This is an interface which is used to pass image data from the camera hardware to the application.
ConnectivityManager
SurfaceHolder.Callback
adb
onCreate() - onDestroy()
35. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
searchable configuration
Canvas
Emulator
AccountAuthenticatorActivity
36. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Geocoder
Google Cloud Messaging for Android (GCM)
Lifecycle callback methods
ShareActionProvider
37. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
isConnected()
GestureDetector
onMeasure()
Lifecycle callback methods
38. An intermediate state that uses around 50% of the battery power at the full state.
Services
Low power
AsyncTask
Deserialize
39. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
Layouts
Full power
onCreate() - onDestroy()
SecurityException
40. Necessary tools to develop Android applications
ConnectivityManager
Android SDK
LocationManager
dual-
41. The helper method is used to create the final width and height values.
resolveSizeAndState()
Ducking
Extensible Markup Language (XML)
Low power
42. is run when running Android on the pc
Dots per inch
Emulator
When the activity resumes
Google Cloud Messaging (GCM)
43. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
NetworkInfo
Linux based
AbstractAccountAuthenticator
Canvas
44. For example - a ____ might be a button that initiates an action when the user touches it.
AsyncTask
Google Cloud Messaging for Android (GCM)
onPause();
View
45. The entire lifetime of an activity happens between the call to _____ and the call to _____
AccountAuthenticatorActivity
Back stack
security sandbox
onCreate() - onDestroy()
46. It is used to load images in a background thread - then apply them to the UI once finished.
GET_ACCOUNTS
Widgets
AsyncTask
Deserialize
47. This class provides one of the simplest ways to fire off a new task from the UI thread.
onStop();
AsyncTask
PieChart
Paint
48. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
authenticator class
ACTION_DOCK_EVENT
Paint
onDraw()
49. Perform background tasks without providing a user interface
getInputStream()
Service Content Provider
ACTION_SEND
Services
50. Sharing of data in Android is done via________
ACTION_DOCK_EVENT
Google Play
Dalvik Debug Monitor Server
Service Content Provider