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. To create an activity - you must create a subclass of
SearchView
PieChart
onMeasure()
Activity
2. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
onDraw()
resolveSizeAndState()
AsyncTask
Canvas
3. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
BroadcastReceiver
drawText()
android.hardware.touchscreen
BatteryManager
4. This widget as an item in the action bar is the preferred way to provide search in your app.
SearchView
Dots per inch
dual-
LocationManager
5. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
SQLiteOpenHelper
onStop();
BroadcastReceiver
6. Android is __________.
Linux based
Activity
SQLiteOpenHelper
dual-
7. When a new activity starts - it is pushed onto the ____ and takes user focus.
Paint
Application footprint
Back stack
Linux based
8. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
Application footprint
GestureDetector
HttpURLConnection
NetworkInfo
9. Callback method: The activity is no longer visible.
SurfaceHolder.Callback
onStop();
InputStream
auth scope
10. Android request its permission using its ________
AndroidManifest.xml
Scroller
Linux based
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
11. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Stack
Wi-Fi radio
PackageManager
Intents
12. Are used in activities to create the user interface and to interact with the user.
getInputStream()
onPause();
View
Fragments
13. This is used to convert raw touch events into gestures.
GestureDetector
Low power
Open Handset Alliance
onPause();
14. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
SurfaceHolder.Callback
ActionProvider
Stack - back stack
onPause();
15. This object contains an account name - which for Google accounts is an email address.
onSearchRequested()
SecurityException
Account
resolveSizeAndState()
16. Callback method: The activity has become visible.
Linux based
onResume();
BackupHelper
Services
17. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Activity
Hierarchy Viewer
Account Manager
SQLite
18. Relative to pixels and resolution screen
ETC1
Dots per inch
Account Manager
AndroidManifest.xml
19. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
searchable configuration
Paint
PackageManager
View
20. 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.
Paint
security sandbox
HttpURLConnection
onResume();
21. A mode where navigation is set up with a spinner widget.
inflate()
Component - screen
GET_ACCOUNTS
single-pane
22. To define custom attributes - add this resources to your project.
OnCurrentItemChanged
HttpURLConnection
<declare-styleable>
onCreate() - onDestroy()
23. The dock-state details are included as an extra in a sticky broadcast of this action.
ACTION_DOCK_EVENT
setVolumeControlStream()
OAuth2
onResume();
24. 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
PackageManager
onMeasure()
EXTRA_STREAM
Layouts
25. The entire lifetime of an activity happens between the call to _____ and the call to _____
Android SDK
Full power
onCreate() - onDestroy()
NetworkInfo
26. It is an efficient and maintainable way to parse XML on Android.
Fragments
Google Cloud Messaging (GCM)
LocationManager
XmlPullParser
27. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
visible
security sandbox
Standby
AsyncTask
28. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
onAudioFocusChange()
Intents
searchable configuration
Scroller
29. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
Scroller
LTE
Intents
setContentView
30. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Canvas
dual-
ViewStub
Application resources
31. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
Scroller
Hierarchy Viewer
Objects Activity lifecycle
When the activity resumes
32. Where Android is currently primarily developed
getInputStream()
Google
onResume();
visible
33. This class is the basis for handling flywheel-style fling gestures.
SurfaceView
Service Content Provider
Fragments
Scroller
34. It is used to load images in a background thread - then apply them to the UI once finished.
virtual table
AsyncTask
drawBitmap()
Activity
35. It inform the system what intents an application component is willing to accept.
Parser
Wi-Fi radio
ACTION_DOCK_EVENT
Intent filters
36. 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.
EXTRA_STREAM
dual-
ETC1
getInputStream()
37. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
Stack
auth scope
Parser
AbstractAccountAuthenticator
38. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Wi-Fi radio
Entire
Google Cloud Messaging (GCM)
GestureDetector
39. This includes tools to help you identify problems in your layout performance.
Android SDK
SettingsActivity
XmlPullParser
LocationManager
40. This is the simplest way to monitor device state changes.
SQLiteOpenHelper
BroadcastReceiver
onAudioFocusChange()
Advanced Training
41. Callback method: The activity is being created.
onDraw()
AttributeSet
onCreate();
BackupHelper
42. Theseare a key part of Android applications that directly affect the user experience.
Wi-Fi radio
Layouts
View
GestureDetector
43. A service in which programmers can offer their Android application to Android users.
Google Cloud Messaging for Android (GCM)
Google Play
<declare-styleable>
ETC1
44. 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
Deserialize
<declare-styleable>
XmlPullParser
45. If permissions are missing - the application will get this at runtime.
Stack - back stack
SecurityException
ETC1
OAuth2
46. Conversion of XML back to an object
dual-
LTE
Deserialize
BroadcastReceiver
47. Allow to combine loosely coupled components to perform certain tasks
Intents
NetworkInfo
ETC1
onCreate();
48. This is used to register and de-register your media button event receiver.
onCreate() - onDestroy()
AudioManager
Low power
Intent filters
49. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Widgets
onStop();
OAuth2
Layouts
50. An open source group led by Google
ConnectivityManager
single-pane
Open Handset Alliance
LTE