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 behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
virtual table
PieChart
onPause();
Advanced Training
2. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
onStop();
ValueAnimator
Widgets
android.hardware.touchscreen
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.
ETC1
Layouts
SearchView
visible
4. Android request its permission using its ________
security sandbox
AndroidManifest.xml
Google Cloud Messaging (GCM)
AttributeSet
5. 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
onDestroy();
Services
BatteryManager
PackageManager
6. In order to get a list of accounts on the device - your app needs this permission.
AudioManager
GET_ACCOUNTS
Paint
Stack
7. If permissions are missing - the application will get this at runtime.
SecurityException
BatteryManager
AccountAuthenticatorActivity
NetworkInfo
8. When a new activity starts - it is pushed onto the ____ and takes user focus.
OAuth2
Destroyed - previous
<declare-styleable>
Back stack
9. It provides a simple way to perform your work outside the main thread.
AsyncTask
Objects Activity lifecycle
OAuth2
Scroller
10. It doesn't currently support the <merge/> tag in the layouts to be inflated.
SQLite
ViewStub
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Account Manager
11. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Canvas
Explicit intent
Google Play
ShareActionProvider
12. You can set the layout as the UI for your activity with passing the resource ID for the layout.
Widgets
virtual table
setContentView
Intents
13. Converts XML Document to XML DOM
Wi-Fi radio
Dalvik Virtual Machine
NetworkInfo
Parser
14. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
onDraw()
ACTION_DOCK_EVENT
onCreate() - onDestroy()
Linux based
15. This is used for the need of finer control over your view's layout parameters.
OAuth2
Advanced Training
onMeasure()
ViewStub
16. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
ACTION_DOCK_EVENT
AbstractAccountAuthenticator
onCreate();
BatteryManager
17. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Full power
Application footprint
Layouts
onCreate() - onDestroy()
18. It is used to load images in a background thread - then apply them to the UI once finished.
View
AsyncTask
Linux based
LocationManager
19. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
Component - screen
Stack - back stack
PackageManager
LTE
20. This is used to fetch the account names that the user has stored on their device.
resolveSizeAndState()
ValueAnimator
Account Manager
ActionProvider
21. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
OnCurrentItemChanged
Scroller
virtual table
Android SDK
22. 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?
OAuth2
Android SDK
AttributeSet
single-pane
23. Callback method: The activity is no longer visible
drawBitmap()
drawText()
resolveSizeAndState()
onStop();
24. Most network-connected Android apps use this to send and receive data.
HTTP
SQLiteOpenHelper
Objects Activity lifecycle
Open Handset Alliance
25. This is the main class through which your application can access location services on Android.
ACTION_DOCK_EVENT
LocationManager
GET_ACCOUNTS
OAuth2
26. Use this to draw bitmaps.
ACTION_DOCK_EVENT
Wi-Fi radio
drawBitmap()
Services
27. Perform background tasks without providing a user interface
Services
onCreate() - onDestroy()
Layouts
ViewStub
28. Binary data is shared using the ACTION_SEND action combined with setting the appropriate MIME type and placing the URI to the data in an extra named called?
setContentView
Activity
AsyncTask
EXTRA_STREAM
29. It is an efficient and maintainable way to parse XML on Android.
android.hardware.touchscreen
AsyncTask
XmlPullParser
View
30. 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.
Dalvik Virtual Machine
Activity
SecurityException
Service Content Provider
31. This is a readable source of bytes.
Stack - back stack
Full power
InputStream
Intents
32. It is called to invoke the search dialog on older devices.
OAuth2
Android SDK
InputStream
onSearchRequested()
33. is run when running Android on the pc
SurfaceHolder.Callback
Emulator
InputStream
Scroller
34. Callback method: Another activity is taking focus
BatteryManager
AsyncTask
SurfaceView
onPause();
35. This is set up to animate for the duration of the fling.
Explicit intent
Dots per inch
ValueAnimator
setContentView
36. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
onDraw()
BatteryManager
adb
Serialize
37. 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.
onCreate();
Paint
Standby
Google Cloud Messaging (GCM)
38. Evaluation of registered components
Hierarchy Viewer
Implicit intent
onCreate() - onDestroy()
drawText()
39. This includes tools to help you identify problems in your layout performance.
Android SDK
ETC1
SecurityException
AccountAuthenticatorActivity
40. 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.
Standby
SurfaceView
ActionProvider
OAuth2
41. An intermediate state that uses around 50% of the battery power at the full state.
Dalvik Debug Monitor Server
Low power
Google Cloud Messaging for Android (GCM)
AudioManager
42. A styleable entity that contains these two custom attributes: showText and labelPosition.
PieChart
PackageManager
AttributeSet
onDestroy();
43. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
Lifecycle callback methods
Layouts
ViewStub
searchable configuration
44. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
When the activity resumes
inflate()
SurfaceView
single-pane
45. 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
BroadcastReceiver
Deserialize
Dalvik Virtual Machine
46. Direct component call in Android
Deserialize
ETC1
ActionProvider
Explicit intent
47. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Standby
Full power
SurfaceHolder.Callback
SQLiteOpenHelper
48. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
Android SDK
NetworkInfo
resolveSizeAndState()
Geocoder
49. Whenever the device is docked or undocked - this action is broadcast.
When the activity resumes
AbstractAccountAuthenticator
Component - screen
ACTION_DOCK_EVENT
50. This is the simplest way to monitor device state changes.
SQLite
BroadcastReceiver
ACTION_DOCK_EVENT
EXTRA_STREAM