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. An open source stand alone database
SQLite
OAuth2
android.hardware.touchscreen
SearchView
2. Perform background tasks without providing a user interface
Services
SQLite
Scroller
SettingsActivity
3. Direct component call in Android
ACTION_DOCK_EVENT
Google Cloud Messaging for Android (GCM)
Explicit intent
android.hardware.touchscreen
4. 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
View
PackageManager
Scroller
Lifecycle callback methods
5. 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?
Serialize
Lifecycle callback methods
Standby
EXTRA_STREAM
6. It is a set of rules for encoding documents in machine-readable form.
setContentView
Google Cloud Messaging (GCM)
Extensible Markup Language (XML)
Dots per inch
7. To create an activity - you must create a subclass of
Activity
SettingsActivity
View
Layouts
8. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
Stack - back stack
LTE
onCreate() - onDestroy()
touch
9. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Paint
ETC1
Full power
Activity
10. It provides a simple way to perform your work outside the main thread.
AsyncTask
Serialize
Activity
authenticator class
11. This is used to check that you're actually connected to the Internet and what type of connection is in place.
ConnectivityManager
ShareActionProvider
SQLite
Low power
12. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
BroadcastReceiver
Services
single-pane
InputStream
13. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
When the activity resumes
Activity
AndroidManifest.xml
android.hardware.touchscreen
14. Converts XML Document to XML DOM
View
Parser
Dots per inch
Stack - back stack
15. It is available starting with API Level 14 and higher.
ShareActionProvider
Stack
Google Play
onCreate();
16. This class is the basis for handling flywheel-style fling gestures.
BatteryManager
BatteryManager
Scroller
ACTION_SEND
17. This is used for the need of finer control over your view's layout parameters.
onMeasure()
auth scope
onCreate() - onDestroy()
inflate()
18. Represents the visual representation of an Android application
Google Cloud Messaging for Android (GCM)
Activity
android.hardware.touchscreen
Ducking
19. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
BatteryManager
visible
android.hardware.touchscreen
Open Handset Alliance
20. The entire lifetime of an activity happens between the call to _____ and the call to _____
Implicit intent
Layouts
onCreate() - onDestroy()
Wi-Fi radio
21. Callback method: The activity is being created.
touch
GestureDetector
onCreate();
ACTION_DOCK_EVENT
22. 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.
onDraw()
Dots per inch
Component - screen
SearchView
23. This is the most common input event in the Android system.
touch
ACTION_SEND
LocationManager
Implicit intent
24. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
touch
HTTP
getInputStream()
Low power
25. An open source group led by Google
Intent filters
virtual table
Open Handset Alliance
AttributeSet
26. Use this to draw bitmaps.
SQLiteOpenHelper
drawBitmap()
visible
Entire
27. It is an efficient and maintainable way to parse XML on Android.
XmlPullParser
Fragments
Explicit intent
PackageManager
28. Necessary tools to develop Android applications
Objects Activity lifecycle
Android SDK
ConnectivityManager
Intents
29. Theseare a key part of Android applications that directly affect the user experience.
OAuth2 protocol
Google Play
Layouts
Implicit intent
30. Each activity can then start another activity in order to perform different actions. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a ___ .
Application resources
SearchView
Stack
AccountAuthenticatorActivity
31. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
onStart() - onStop()
OAuth2
AccountAuthenticatorActivity
BatteryManager
32. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
onDestroy();
When the activity resumes
Layouts
Dalvik Debug Monitor Server
33. This object contains an account name - which for Google accounts is an email address.
ConnectivityManager
Account
Deserialize
getInputStream()
34. It doesn't currently support the <merge/> tag in the layouts to be inflated.
ActionProvider
ViewStub
ShareActionProvider
HTTP
35. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
onSearchRequested()
auth scope
EXTRA_STREAM
Lifecycle callback methods
36. If permissions are missing - the application will get this at runtime.
ShareActionProvider
onCreate() - onDestroy()
onResume();
SecurityException
37. 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.
Account
Activity
Advanced Training
Geocoder
38. Are used in activities to create the user interface and to interact with the user.
Fragments
Android SDK
ACTION_DOCK_EVENT
Linux based
39. This includes tools to help you identify problems in your layout performance.
onCreate() - onDestroy()
Stack
ETC1
Android SDK
40. For instance - when stopped - your activity should release any large ____ - such as network or database connections.
SurfaceHolder.Callback
ACTION_DOCK_EVENT
Objects Activity lifecycle
Account Manager
41. Sharing of data in Android is done via________
Serialize
Service Content Provider
SQLiteOpenHelper
Layouts
42. This is used to convert raw touch events into gestures.
GestureDetector
dual-
Parser
LocationManager
43. 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?
AccountAuthenticatorActivity
resolveSizeAndState()
Component - screen
AttributeSet
44. This can be used to draw previews of what the camera sensor is picking up.
AsyncTask
SurfaceView
AttributeSet
isConnected()
45. Evaluation of registered components
Dalvik Virtual Machine
OAuth2 protocol
Implicit intent
Dots per inch
46. It is used as a reverse-geocoding where translating latitude longitude coordinates to a human-readable address happens.
auth scope
Geocoder
ConnectivityManager
PackageManager
47. is run when running Android on the pc
Destroyed - previous
AsyncTask
onDestroy();
Emulator
48. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Intent filters
Hierarchy Viewer
adb
Open Handset Alliance
49. This widget as an item in the action bar is the preferred way to provide search in your app.
InputStream
adb
Emulator
SearchView
50. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
Component - screen
Low power
Entire
drawBitmap()