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. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
SearchView
OAuth2
getInputStream()
authenticator class
2. Sharing of data in Android is done via________
HTTP
Service Content Provider
SurfaceView
onCreate() - onDestroy()
3. It is the process of lowering your audio stream output volume to make transient audio from another app easier to hear without totally disrupting the audio from your own application.
Ducking
HttpURLConnection
Layouts
Scroller
4. Are used in activities to create the user interface and to interact with the user.
auth scope
SQLiteOpenHelper
HTTP
Fragments
5. Shows the actual amount of memory the application uses
BatteryManager
OnCurrentItemChanged
Application footprint
BroadcastReceiver
6. An open source stand alone database
ACTION_DOCK_EVENT
Back stack
Account
SQLite
7. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
ACTION_SEND
Scroller
SearchView
touch
8. Callback method: The activity has become visible.
ConnectivityManager
BackupHelper
onResume();
onCreate() - onDestroy()
9. This is used to check that you're actually connected to the Internet and what type of connection is in place.
Stack - back stack
Layouts
android.hardware.touchscreen
ConnectivityManager
10. To define custom attributes - add this resources to your project.
<declare-styleable>
ViewStub
HttpURLConnection
SQLiteOpenHelper
11. It provides a simple way to perform your work outside the main thread.
AsyncTask
Back stack
Widgets
AbstractAccountAuthenticator
12. This broadcasts an action whenever the device is connected or disconnected from power.
Google Cloud Messaging for Android (GCM)
Paint
BatteryManager
SurfaceView
13. This includes tools to help you identify problems in your layout performance.
onDestroy();
Services
Explicit intent
Android SDK
14. For example - if your activity has a thread running in the background to download data from the network - it might create that thread in _____ and then stop the thread in _____
OAuth2
Layouts
onCreate() - onDestroy()
Android SDK
15. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
SQLiteOpenHelper
Hierarchy Viewer
onCreate() - onDestroy()
Google Cloud Messaging for Android (GCM)
16. A styleable entity that contains these two custom attributes: showText and labelPosition.
Hierarchy Viewer
ETC1
PieChart
Extensible Markup Language (XML)
17. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
Android SDK
onStop();
Services
View
18. Callback method: The activity is being created.
ShareActionProvider
onCreate();
Linux based
Scroller
19. This is used for the need of finer control over your view's layout parameters.
onMeasure()
Intents
onAudioFocusChange()
onCreate() - onDestroy()
20. It includes a Detailed Network Usage tab that makes it possible to track when your application is making network requests.
drawText()
Paint
Dalvik Debug Monitor Server
When the activity resumes
21. Where Android is currently primarily developed
onCreate();
Google
setContentView
onDestroy();
22. It doesn't currently support the <merge/> tag in the layouts to be inflated.
XmlPullParser
Android SDK
ETC1
ViewStub
23. It inform the system what intents an application component is willing to accept.
Low power
Intent filters
Open Handset Alliance
Serialize
24. It is a string that defines the specific type of access your app is asking for.
auth scope
Entire
OAuth2
SurfaceHolder.Callback
25. It is called to invoke the search dialog on older devices.
drawBitmap()
onSearchRequested()
When the activity resumes
View
26. It is a set of rules for encoding documents in machine-readable form.
When the activity resumes
Extensible Markup Language (XML)
Activity
SurfaceHolder.Callback
27. The minimal energy state during which no network connection is active or required.
onStop();
Standby
auth scope
GestureDetector
28. This is the simplest way to monitor device state changes.
android.hardware.touchscreen
BroadcastReceiver
Serialize
View
29. This class provides one of the simplest ways to fire off a new task from the UI thread.
Full power
Intent filters
ACTION_SEND
AsyncTask
30. The visible lifetime of an activity happens between the call to ____ and the call to ______
onStart() - onStop()
AsyncTask
searchable configuration
ConnectivityManager
31. 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.
ACTION_DOCK_EVENT
ACTION_DOCK_EVENT
SearchView
onStart() - onStop()
32. This is the main class through which your application can access location services on Android.
PackageManager
BroadcastReceiver
onAudioFocusChange()
LocationManager
33. Represents the visual representation of an Android application
Back stack
ActionProvider
Activity
Paint
34. Android system uses a special virtual machine to run java based applicatons
AndroidManifest.xml
Dalvik Virtual Machine
Service Content Provider
Activity
35. 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 ___ .
GestureDetector
AttributeSet
Low power
Stack
36. Each time a new activity starts - the previous activity is stopped - but the system preserves the activity in a _____ (the ______).
ETC1
Activity
Scroller
Stack - back stack
37. Callback method: The activity is no longer visible.
Stack - back stack
HttpURLConnection
onStop();
Low power
38. It is available starting with API Level 14 and higher.
BackupHelper
ShareActionProvider
Scroller
ConnectivityManager
39. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
android.hardware.touchscreen
onDraw()
onResume();
ViewStub
40. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
single-pane
onCreate();
When the activity resumes
Advanced Training
41. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
AsyncTask
AsyncTask
GestureDetector
Canvas
42. This class is the basis for handling flywheel-style fling gestures.
Entire
ConnectivityManager
Scroller
onCreate() - onDestroy()
43. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
Google Play
authenticator class
Google Cloud Messaging for Android (GCM)
Stack
44. In order to get a list of accounts on the device - your app needs this permission.
GET_ACCOUNTS
ConnectivityManager
Dots per inch
Scroller
45. On a rooted device - the credentials would be readable by anyone with this access to the device.
onResume();
adb
BatteryManager
Objects Activity lifecycle
46. 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.
Google
onAudioFocusChange()
ETC1
Layouts
47. Amode where the action bar is set up with tabs for navigation.
Hierarchy Viewer
Intents
dual-
Full power
48. Theseare a key part of Android applications that directly affect the user experience.
Back stack
onCreate();
Layouts
LocationManager
49. ______ are views derived from ViewGroup that provide a unique layout model for its child views
SQLiteOpenHelper
onCreate() - onDestroy()
Google Cloud Messaging for Android (GCM)
Layouts
50. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
auth scope
visible
LTE
Widgets