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
Activity
View
Explicit intent
onDraw()
2. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
resolveSizeAndState()
Fragments
Geocoder
Lifecycle callback methods
3. The industry standard way to deal with authentication to third-party services.
ViewStub
isConnected()
OAuth2
OAuth2 protocol
4. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Android SDK
Entire
Canvas
SearchView
5. This widget as an item in the action bar is the preferred way to provide search in your app.
Deserialize
touch
SearchView
inflate()
6. A styleable entity that contains these two custom attributes: showText and labelPosition.
resolveSizeAndState()
PieChart
Dalvik Debug Monitor Server
Objects Activity lifecycle
7. This is used to check that you're actually connected to the Internet and what type of connection is in place.
virtual table
ConnectivityManager
BackupHelper
LocationManager
8. It is a set of rules for encoding documents in machine-readable form.
onCreate() - onDestroy()
Extensible Markup Language (XML)
Google
SettingsActivity
9. The back stack abides to the basic "last in - first out" stack mechanism - so - when the user is done with the current activity and presses the Back button - it is popped from the stack (and ____) and the ____ activity resumes
Paint
Destroyed - previous
BackupHelper
onAudioFocusChange()
10. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Android SDK
Canvas
LTE
ETC1
11. A service in which programmers can offer their Android application to Android users.
Application footprint
Parser
ACTION_SEND
Google Play
12. 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.
AndroidManifest.xml
Application footprint
SearchView
Dalvik Virtual Machine
13. Evaluation of registered components
Hierarchy Viewer
visible
Android SDK
Implicit intent
14. Callback method: Another activity is taking focus
onCreate() - onDestroy()
Serialize
onDestroy();
onPause();
15. It doesn't currently support the <merge/> tag in the layouts to be inflated.
BackupHelper
onCreate() - onDestroy()
AsyncTask
ViewStub
16. Allow to combine loosely coupled components to perform certain tasks
ViewStub
View
Intents
Deserialize
17. Necessary tools to develop Android applications
Android SDK
SQLite
SurfaceView
AccountAuthenticatorActivity
18. You can reacquire the necessary resources and resume actions that were interrupted. These state transitions are all part of the _________
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
PackageManager
ShareActionProvider
When the activity resumes
19. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
ConnectivityManager
virtual table
XmlPullParser
Objects Activity lifecycle
20. 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
Geocoder
LocationManager
Android SDK
Component - screen
21. It is an efficient and maintainable way to parse XML on Android.
XmlPullParser
ViewStub
Linux based
onStart() - onStop()
22. The minimal energy state during which no network connection is active or required.
LocationManager
ACTION_DOCK_EVENT
auth scope
Standby
23. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
NetworkInfo
adb
Android SDK
PieChart
24. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
BroadcastReceiver
OnCurrentItemChanged
PackageManager
When the activity resumes
25. The entire lifetime of an activity happens between the call to _____ and the call to _____
Lifecycle callback methods
SurfaceHolder.Callback
onCreate() - onDestroy()
AbstractAccountAuthenticator
26. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
Intents
authenticator class
onPause();
LocationManager
27. Theseare a key part of Android applications that directly affect the user experience.
ViewStub
Layouts
Activity
View
28. 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() - onDestroy()
Deserialize
Paint
Google Cloud Messaging for Android (GCM)
29. An open source stand alone database
HttpURLConnection
SearchView
Objects Activity lifecycle
SQLite
30. Converts XML Document to XML DOM
Parser
Serialize
Layouts
ValueAnimator
31. Sharing of data in Android is done via________
HttpURLConnection
onDraw()
SearchView
Service Content Provider
32. On a rooted device - the credentials would be readable by anyone with this access to the device.
View
Account
BroadcastReceiver
adb
33. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
drawText()
auth scope
Geocoder
AbstractAccountAuthenticator
34. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
Application footprint
auth scope
Widgets
Scroller
35. Android system uses a special virtual machine to run java based applicatons
GestureDetector
OAuth2
Dalvik Virtual Machine
visible
36. It is a free service for sending messages to Android devices.
Google Cloud Messaging (GCM)
Standby
Entire
Ducking
37. 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.
Stack
ETC1
When the activity resumes
BackupHelper
38. These helpers are specialized classes for backing up certain kinds of data.
GET_ACCOUNTS
dual-
ActionProvider
BackupHelper
39. Android is __________.
drawBitmap()
Hierarchy Viewer
Linux based
EXTRA_STREAM
40. This is a readable source of bytes.
onMeasure()
InputStream
onResume();
OnCurrentItemChanged
41. When a new activity starts - it is pushed onto the ____ and takes user focus.
Back stack
ACTION_DOCK_EVENT
drawBitmap()
SearchView
42. This is used to convert raw touch events into gestures.
adb
Ducking
Component - screen
GestureDetector
43. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
Google
SearchView
Destroyed - previous
ConnectivityManager
44. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
SettingsActivity
inflate()
Intent filters
SearchView
45. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
AsyncTask
Application resources
SQLiteOpenHelper
Widgets
46. This is an interface which is used to pass image data from the camera hardware to the application.
onStart() - onStop()
View
SurfaceHolder.Callback
AsyncTask
47. It is a string that defines the specific type of access your app is asking for.
ActionProvider
auth scope
Low power
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
48. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
android.hardware.touchscreen
AccountAuthenticatorActivity
Explicit intent
GestureDetector
49. An open source group led by Google
Android SDK
NetworkInfo
AbstractAccountAuthenticator
Open Handset Alliance
50. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
adb
Google Cloud Messaging (GCM)
Implicit intent
View