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. Use this to draw text.
drawText()
onAudioFocusChange()
Extensible Markup Language (XML)
ShareActionProvider
2. It is a free service for sending messages to Android devices.
Google Cloud Messaging (GCM)
PieChart
ValueAnimator
AudioManager
3. 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.
Activity
OAuth2
Component - screen
Destroyed - previous
4. The dock-state details are included as an extra in a sticky broadcast of this action.
Lifecycle callback methods
ACTION_DOCK_EVENT
Fragments
onStop();
5. Callback method: The activity has become visible.
<declare-styleable>
security sandbox
Linux based
onResume();
6. This is used to fetch the account names that the user has stored on their device.
searchable configuration
Android SDK
Account Manager
Open Handset Alliance
7. Shows the actual amount of memory the application uses
BroadcastReceiver
Lifecycle callback methods
onCreate() - onDestroy()
Application footprint
8. Callback method: The activity is no longer visible
Google Play
onStop();
LocationManager
Account
9. It is available starting with API Level 14 and higher.
AbstractAccountAuthenticator
Account
ShareActionProvider
HTTP
10. 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?
AttributeSet
Ducking
onMeasure()
onCreate() - onDestroy()
11. This is used to register and de-register your media button event receiver.
EXTRA_STREAM
BroadcastReceiver
AudioManager
onCreate() - onDestroy()
12. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
ACTION_SEND
ConnectivityManager
Advanced Training
resolveSizeAndState()
13. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
AccountAuthenticatorActivity
Stack - back stack
drawBitmap()
Canvas
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 _____
SurfaceView
Deserialize
NetworkInfo
onCreate() - onDestroy()
15. It is a subclass of PreferenceActivity.
EXTRA_STREAM
SettingsActivity
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Entire
16. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
PieChart
Linux based
Google Cloud Messaging for Android (GCM)
Layouts
17. Once installed on a device - each Android application lives in its own ______
Activity
security sandbox
Paint
drawText()
18. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
OnCurrentItemChanged
LocationManager
SQLite
Geocoder
19. The helper method is used to create the final width and height values.
onStop();
onAudioFocusChange()
Service Content Provider
resolveSizeAndState()
20. ______ are views derived from ViewGroup that provide a unique layout model for its child views
HTTP
Entire
SurfaceHolder.Callback
Layouts
21. Relative to pixels and resolution screen
onSearchRequested()
Dots per inch
Layouts
AttributeSet
22. 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
AsyncTask
setVolumeControlStream()
23. You can set the layout as the UI for your activity with passing the resource ID for the layout.
Scroller
getInputStream()
setVolumeControlStream()
setContentView
24. Are used in activities to create the user interface and to interact with the user.
OnCurrentItemChanged
Fragments
Canvas
ACTION_DOCK_EVENT
25. Whenever the device is docked or undocked - this action is broadcast.
ACTION_DOCK_EVENT
View
Component - screen
Implicit intent
26. 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 ___ .
AttributeSet
View
BroadcastReceiver
Stack
27. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
inflate()
OAuth2
AccountAuthenticatorActivity
onPause();
28. It doesn't currently support the <merge/> tag in the layouts to be inflated.
ACTION_SEND
ViewStub
onStop();
OAuth2 protocol
29. This is used for the need of finer control over your view's layout parameters.
onMeasure()
visible
Application resources
onPause();
30. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
ValueAnimator
LTE
ACTION_DOCK_EVENT
HttpURLConnection
31. This is the main class through which your application can access location services on Android.
LocationManager
onCreate();
NetworkInfo
Explicit intent
32. This class provides one of the simplest ways to fire off a new task from the UI thread.
Serialize
Back stack
AsyncTask
ETC1
33. These helpers are specialized classes for backing up certain kinds of data.
virtual table
onAudioFocusChange()
BackupHelper
Application footprint
34. To define custom attributes - add this resources to your project.
SurfaceHolder.Callback
drawText()
AndroidManifest.xml
<declare-styleable>
35. Allow to combine loosely coupled components to perform certain tasks
When the activity resumes
SearchView
LocationManager
Intents
36. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
Advanced Training
AndroidManifest.xml
SearchView
Google Cloud Messaging for Android (GCM)
37. This object contains an account name - which for Google accounts is an email address.
Account
authenticator class
PackageManager
InputStream
38. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
Layouts
setContentView
Application footprint
virtual table
39. It is a set of rules for encoding documents in machine-readable form.
Extensible Markup Language (XML)
Service Content Provider
Services
Lifecycle callback methods
40. Most network-connected Android apps use this to send and receive data.
AndroidManifest.xml
HTTP
Application resources
BroadcastReceiver
41. Android system uses a special virtual machine to run java based applicatons
Dalvik Virtual Machine
HttpURLConnection
AudioManager
inflate()
42. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
SearchView
onStop();
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Hierarchy Viewer
43. If you want your APK to be visible on TVs which are non-touchscreen devices you should add this to your manifest.
Ducking
android.hardware.touchscreen
Emulator
inflate()
44. An intermediate state that uses around 50% of the battery power at the full state.
Activity
ACTION_SEND
Low power
Wi-Fi radio
45. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
EXTRA_STREAM
Intent filters
Hierarchy Viewer
Fragments
46. A styleable entity that contains these two custom attributes: showText and labelPosition.
onStart() - onStop()
Destroyed - previous
Services
PieChart
47. This class is the basis for handling flywheel-style fling gestures.
Scroller
Android SDK
Widgets
virtual table
48. It is used to load images in a background thread - then apply them to the UI once finished.
AsyncTask
setVolumeControlStream()
onSearchRequested()
Fragments
49. 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.
EXTRA_STREAM
AudioManager
Paint
SQLite
50. An open source group led by Google
Account Manager
AsyncTask
Extensible Markup Language (XML)
Open Handset Alliance