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. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
NetworkInfo
Objects Activity lifecycle
Services
Application resources
2. This is used to convert raw touch events into gestures.
Destroyed - previous
resolveSizeAndState()
BackupHelper
GestureDetector
3. Callback method: Another activity is taking focus
PieChart
onPause();
SurfaceHolder.Callback
onDraw()
4. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
Canvas
inflate()
Entire
onCreate() - onDestroy()
5. 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.
<declare-styleable>
Activity
AttributeSet
ACTION_DOCK_EVENT
6. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
Google Cloud Messaging for Android (GCM)
Google Play
SQLite
Dalvik Debug Monitor Server
7. A mode where navigation is set up with a spinner widget.
Entire
SQLite
single-pane
Lifecycle callback methods
8. Once installed on a device - each Android application lives in its own ______
security sandbox
Implicit intent
onMeasure()
ViewStub
9. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Explicit intent
AsyncTask
drawText()
10. The entire lifetime of an activity happens between the call to _____ and the call to _____
SettingsActivity
Account
onCreate() - onDestroy()
ActionProvider
11. The dock-state details are included as an extra in a sticky broadcast of this action.
OAuth2
ACTION_DOCK_EVENT
NetworkInfo
adb
12. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
getInputStream()
ConnectivityManager
SurfaceHolder.Callback
virtual table
13. 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
HttpURLConnection
AsyncTask
Entire
14. Callback method: The activity is about to be destroyed.
onDestroy();
android.hardware.touchscreen
Scroller
Explicit intent
15. Android request its permission using its ________
Extensible Markup Language (XML)
AndroidManifest.xml
Application footprint
SecurityException
16. 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.
BatteryManager
Layouts
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
SearchView
17. Android provides this handy method to direct volume key presses to the audio stream the user specify.
resolveSizeAndState()
Scroller
setVolumeControlStream()
Activity
18. To create an activity - you must create a subclass of
onDestroy();
LocationManager
Activity
dual-
19. Theseare a key part of Android applications that directly affect the user experience.
Intent filters
isConnected()
GestureDetector
Layouts
20. 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
Full power
Activity
Layouts
Destroyed - previous
21. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
dual-
HttpURLConnection
Layouts
Canvas
22. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
Open Handset Alliance
Linux based
Scroller
isConnected()
23. 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.
PieChart
ShareActionProvider
Google Play
OAuth2
24. This is used to check that you're actually connected to the Internet and what type of connection is in place.
SQLiteOpenHelper
LocationManager
ConnectivityManager
BatteryManager
25. It is a set of rules for encoding documents in machine-readable form.
onDestroy();
GestureDetector
Extensible Markup Language (XML)
AudioManager
26. It inform the system what intents an application component is willing to accept.
onDraw()
onStart() - onStop()
Intent filters
Hierarchy Viewer
27. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
SurfaceHolder.Callback
visible
Layouts
Intents
28. This action is used in sending text content from one activity to another.
SQLite
Google Play
ACTION_SEND
single-pane
29. An intermediate state that uses around 50% of the battery power at the full state.
LTE
Low power
Fragments
Entire
30. Relative to pixels and resolution screen
AsyncTask
onDestroy();
Android SDK
Dots per inch
31. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
AsyncTask
BatteryManager
Objects Activity lifecycle
ACTION_SEND
32. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Layouts
SurfaceView
Intents
Google Cloud Messaging for Android (GCM)
33. Callback method: The activity is no longer visible.
AsyncTask
Account Manager
onStop();
ValueAnimator
34. Android system uses a special virtual machine to run java based applicatons
Open Handset Alliance
Stack - back stack
Dalvik Virtual Machine
drawBitmap()
35. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
AccountAuthenticatorActivity
virtual table
Android SDK
Application footprint
36. It provides a simple way to perform your work outside the main thread.
onStop();
EXTRA_STREAM
AccountAuthenticatorActivity
AsyncTask
37. Callback method: The activity is being created.
XmlPullParser
ConnectivityManager
getInputStream()
onCreate();
38. It doesn't currently support the <merge/> tag in the layouts to be inflated.
ViewStub
onResume();
AsyncTask
Lifecycle callback methods
39. Sharing of data in Android is done via________
SQLite
Service Content Provider
SearchView
Android SDK
40. Necessary tools to develop Android applications
Standby
Open Handset Alliance
Android SDK
Emulator
41. This is an interface which is used to pass image data from the camera hardware to the application.
View
SurfaceHolder.Callback
When the activity resumes
PackageManager
42. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
AbstractAccountAuthenticator
Deserialize
Intent filters
ValueAnimator
43. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
NetworkInfo
Scroller
ACTION_SEND
Paint
44. In order for the AccountManager to work with your custom account code - you need this class that implements the interfaces that AccountManager expects.
Account Manager
SurfaceView
Activity
authenticator class
45. This widget as an item in the action bar is the preferred way to provide search in your app.
Google Play
SearchView
OnCurrentItemChanged
AudioManager
46. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Android SDK
Google Cloud Messaging for Android (GCM)
BackupHelper
Standby
47. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
ValueAnimator
Entire
dual-
Low power
48. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
Intents
Application resources
SQLite
ConnectivityManager
49. It is an efficient and maintainable way to parse XML on Android.
XmlPullParser
onCreate() - onDestroy()
isConnected()
Android SDK
50. It is available starting with API Level 14 and higher.
SQLiteOpenHelper
ShareActionProvider
Application footprint
SQLite