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 is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
android.hardware.touchscreen
onCreate() - onDestroy()
Intents
2. Use this to draw text.
ViewStub
SecurityException
Stack - back stack
drawText()
3. It is called to invoke the search dialog on older devices.
Activity
onSearchRequested()
BatteryManager
Application footprint
4. The most common way to define a layout using views is with an XML layout file saved in your ______
Application resources
AsyncTask
Scroller
PackageManager
5. This is an interface which is used to pass image data from the camera hardware to the application.
Component - screen
Lifecycle callback methods
Advanced Training
SurfaceHolder.Callback
6. This is set up to animate for the duration of the fling.
Canvas
Google
ValueAnimator
AbstractAccountAuthenticator
7. Callback method: The activity has become visible.
onResume();
GET_ACCOUNTS
Widgets
Google Play
8. An intermediate state that uses around 50% of the battery power at the full state.
Low power
Activity
onMeasure()
Dots per inch
9. Android provides this handy method to direct volume key presses to the audio stream the user specify.
Emulator
setVolumeControlStream()
XmlPullParser
dual-
10. 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?
GestureDetector
android.hardware.touchscreen
EXTRA_STREAM
Objects Activity lifecycle
11. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
onDraw()
EXTRA_STREAM
Full power
resolveSizeAndState()
12. Amode where the action bar is set up with tabs for navigation.
Services
ConnectivityManager
isConnected()
dual-
13. Android is __________.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Linux based
onSearchRequested()
getInputStream()
14. ______ are views derived from ViewGroup that provide a unique layout model for its child views
EXTRA_STREAM
Stack - back stack
Layouts
When the activity resumes
15. Perform background tasks without providing a user interface
Services
onCreate() - onDestroy()
Explicit intent
ACTION_SEND
16. When a new activity starts - it is pushed onto the ____ and takes user focus.
single-pane
setVolumeControlStream()
Stack
Back stack
17. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
SQLiteOpenHelper
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
SearchView
Android SDK
18. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
Google Cloud Messaging for Android (GCM)
Parser
BroadcastReceiver
virtual table
19. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
single-pane
InputStream
Scroller
authenticator class
20. It is a free service for sending messages to Android devices.
onCreate() - onDestroy()
PieChart
Google Cloud Messaging (GCM)
Dalvik Debug Monitor Server
21. This class exposes a number of methods for applications to receive location updates.
Entire
LocationManager
Dalvik Debug Monitor Server
ACTION_DOCK_EVENT
22. It made implementing an effective and user friendly share action in your ActionBar even easier.
Google Cloud Messaging (GCM)
ActionProvider
OAuth2
Dots per inch
23. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
resolveSizeAndState()
Standby
Hierarchy Viewer
AttributeSet
24. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
searchable configuration
Scroller
Layouts
Ducking
25. This broadcasts an action whenever the device is connected or disconnected from power.
OAuth2 protocol
single-pane
BatteryManager
Widgets
26. This is the simplest way to monitor device state changes.
Deserialize
BroadcastReceiver
drawText()
authenticator class
27. This class is the basis for handling flywheel-style fling gestures.
EXTRA_STREAM
SQLite
searchable configuration
Scroller
28. If permissions are missing - the application will get this at runtime.
SecurityException
onPause();
onStop();
Back stack
29. For example - a ____ might be a button that initiates an action when the user touches it.
Intents
View
single-pane
auth scope
30. Converts XML Document to XML DOM
InputStream
Parser
onCreate() - onDestroy()
ETC1
31. 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
AttributeSet
BroadcastReceiver
Canvas
Component - screen
32. Where Android is currently primarily developed
Google
Fragments
Account
View
33. Conversion of XML back to an object
Deserialize
SurfaceHolder.Callback
Destroyed - previous
Dalvik Virtual Machine
34. Relative to pixels and resolution screen
getInputStream()
auth scope
Dots per inch
Dalvik Debug Monitor Server
35. This is a readable source of bytes.
Fragments
onPause();
InputStream
OAuth2
36. The visible lifetime of an activity happens between the call to ____ and the call to ______
onStart() - onStop()
Services
AsyncTask
Application footprint
37. This is used to convert raw touch events into gestures.
GestureDetector
single-pane
Account Manager
security sandbox
38. Sharing of data in Android is done via________
Scroller
Service Content Provider
Canvas
BroadcastReceiver
39. A mode where navigation is set up with a spinner widget.
single-pane
Account Manager
Google
OnCurrentItemChanged
40. This object contains an account name - which for Google accounts is an email address.
SecurityException
Account
BackupHelper
View
41. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
Component - screen
HttpURLConnection
security sandbox
AsyncTask
42. It is used to load images in a background thread - then apply them to the UI once finished.
Hierarchy Viewer
HTTP
onAudioFocusChange()
AsyncTask
43. Theseare a key part of Android applications that directly affect the user experience.
ValueAnimator
Layouts
LocationManager
NetworkInfo
44. is run when running Android on the pc
SQLite
HttpURLConnection
visible
Emulator
45. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
getInputStream()
ConnectivityManager
Wi-Fi radio
HTTP
46. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Fragments
BroadcastReceiver
HTTP
Dalvik Debug Monitor Server
47. Conversion of an object to XML
OAuth2 protocol
Serialize
Geocoder
Explicit intent
48. 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
authenticator class
Serialize
Application footprint
49. A styleable entity that contains these two custom attributes: showText and labelPosition.
dual-
PackageManager
PieChart
SurfaceHolder.Callback
50. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
Application footprint
ViewStub
virtual table
Advanced Training