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. Allow to combine loosely coupled components to perform certain tasks
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
ValueAnimator
Intents
Low power
2. 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.
ACTION_SEND
drawBitmap()
Ducking
Emulator
3. 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?
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
onDestroy();
AttributeSet
Layouts
4. This is an interface which is used to pass image data from the camera hardware to the application.
ConnectivityManager
onCreate() - onDestroy()
SurfaceHolder.Callback
onCreate() - onDestroy()
5. Use this to draw bitmaps.
<declare-styleable>
getInputStream()
Canvas
drawBitmap()
6. It inform the system what intents an application component is willing to accept.
Fragments
onCreate() - onDestroy()
Intent filters
Low power
7. Callback method: The activity is being created.
PieChart
onResume();
NetworkInfo
onCreate();
8. This is a lightweight view with no dimension and doesn't draw anything or participate in the layout.
Stack
ViewStub
virtual table
AccountAuthenticatorActivity
9. An intermediate state that uses around 50% of the battery power at the full state.
security sandbox
AttributeSet
ACTION_SEND
Low power
10. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
Wi-Fi radio
BatteryManager
Application resources
Low power
11. When a new activity starts - it is pushed onto the ____ and takes user focus.
Back stack
onPause();
onCreate() - onDestroy()
Full power
12. This action is used in sending text content from one activity to another.
onStop();
AsyncTask
ACTION_SEND
AndroidManifest.xml
13. It is a string that defines the specific type of access your app is asking for.
Android SDK
Stack - back stack
ACTION_SEND
auth scope
14. The visible lifetime of an activity happens between the call to ____ and the call to ______
ACTION_SEND
dual-
Parser
onStart() - onStop()
15. It is called to invoke the search dialog on older devices.
XmlPullParser
Fragments
InputStream
onSearchRequested()
16. Represents the visual representation of an Android application
Activity
Component - screen
HttpURLConnection
SearchView
17. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
Stack
onDraw()
Scroller
GestureDetector
18. It doesn't currently support the <merge/> tag in the layouts to be inflated.
inflate()
Low power
Account Manager
ViewStub
19. If permissions are missing - the application will get this at runtime.
authenticator class
SecurityException
Layouts
EXTRA_STREAM
20. This is the simplest way to monitor device state changes.
BroadcastReceiver
NetworkInfo
Deserialize
AudioManager
21. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Full power
onCreate() - onDestroy()
onStart() - onStop()
Hierarchy Viewer
22. A mode where navigation is set up with a spinner widget.
single-pane
SurfaceHolder.Callback
ViewStub
<declare-styleable>
23. It is a subclass of PreferenceActivity.
Application resources
SecurityException
LocationManager
SettingsActivity
24. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
Intents
authenticator class
OnCurrentItemChanged
PackageManager
25. This is the most common input event in the Android system.
auth scope
LocationManager
touch
Layouts
26. To create an activity - you must create a subclass of
onStart() - onStop()
Google Cloud Messaging (GCM)
LTE
Activity
27. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
Stack
single-pane
View
Full power
28. It made implementing an effective and user friendly share action in your ActionBar even easier.
ActionProvider
GestureDetector
Google Cloud Messaging (GCM)
HTTP
29. This broadcasts an action whenever the device is connected or disconnected from power.
getInputStream()
BatteryManager
ShareActionProvider
AsyncTask
30. 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
Fragments
Destroyed - previous
Full power
Dalvik Virtual Machine
31. The helper method is used to create the final width and height values.
LocationManager
resolveSizeAndState()
SurfaceView
BackupHelper
32. In most cases this will offer greater bandwidth at a significantly lower battery cost.
SQLite
ShareActionProvider
getInputStream()
Wi-Fi radio
33. This handles cases like flaky mobile networks - airplane mode - and restricted background data.
OnCurrentItemChanged
isConnected()
Extensible Markup Language (XML)
Android SDK
34. 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 ___ .
Stack
SettingsActivity
Widgets
ViewStub
35. This class is the basis for handling flywheel-style fling gestures.
Implicit intent
onMeasure()
Scroller
OAuth2 protocol
36. is run when running Android on the pc
Hierarchy Viewer
Emulator
SQLite
onCreate() - onDestroy()
37. This is a readable source of bytes.
InputStream
Google Play
BatteryManager
EXTRA_STREAM
38. 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
onPause();
PackageManager
getInputStream()
Entire
39. A service in which programmers can offer their Android application to Android users.
Google Play
Canvas
PieChart
SettingsActivity
40. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
Intent filters
inflate()
Standby
Destroyed - previous
41. An open source stand alone database
AndroidManifest.xml
SQLite
onPause();
security sandbox
42. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
searchable configuration
XmlPullParser
onDestroy();
ACTION_DOCK_EVENT
43. Conversion of an object to XML
Serialize
Destroyed - previous
SQLiteOpenHelper
Wi-Fi radio
44. The industry standard way to deal with authentication to third-party services.
onPause();
Advanced Training
OAuth2 protocol
Google Cloud Messaging for Android (GCM)
45. Android is __________.
When the activity resumes
ACTION_DOCK_EVENT
OAuth2
Linux based
46. This class exposes a number of methods for applications to receive location updates.
AsyncTask
Account Manager
LocationManager
auth scope
47. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Scroller
Paint
Google
Implicit intent
48. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
Scroller
OAuth2 protocol
NetworkInfo
Fragments
49. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
HttpURLConnection
AndroidManifest.xml
Component - screen
dual-
50. This behaves similarly to a SQLite table - but reads and writes to an object in memory via callbacks - instead of to a database file.
virtual table
Account
Linux based
android.hardware.touchscreen