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. For example - a ____ might be a button that initiates an action when the user touches it.
Dots per inch
NetworkInfo
ACTION_SEND
View
2. The dock-state details are included as an extra in a sticky broadcast of this action.
ACTION_DOCK_EVENT
GET_ACCOUNTS
onSearchRequested()
onResume();
3. Perform background tasks without providing a user interface
Services
onCreate() - onDestroy()
isConnected()
Account Manager
4. If permissions are missing - the application will get this at runtime.
SecurityException
Destroyed - previous
Layouts
OnCurrentItemChanged
5. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Wi-Fi radio
View
Advanced Training
isConnected()
6. Where Android is currently primarily developed
BatteryManager
drawBitmap()
Wi-Fi radio
Google
7. On a rooted device - the credentials would be readable by anyone with this access to the device.
Explicit intent
BatteryManager
OnCurrentItemChanged
adb
8. Creating drawing objects within this method significantly reduces performance and can make your UI appear sluggish.
BatteryManager
Advanced Training
getInputStream()
onDraw()
9. 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?
dual-
EXTRA_STREAM
Implicit intent
Layouts
10. Relative to pixels and resolution screen
Dots per inch
android.hardware.touchscreen
SearchView
isConnected()
11. 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.
Objects Activity lifecycle
Scroller
ETC1
Google Cloud Messaging for Android (GCM)
12. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
SQLiteOpenHelper
getInputStream()
authenticator class
onPause();
13. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
ACTION_SEND
visible
ETC1
Canvas
14. 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.
onCreate() - onDestroy()
isConnected()
SearchView
Wi-Fi radio
15. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
onSearchRequested()
Component - screen
Entire
Lifecycle callback methods
16. The visible lifetime of an activity happens between the call to ____ and the call to ______
onStart() - onStop()
inflate()
OAuth2 protocol
LTE
17. The helper method is used to create the final width and height values.
ViewStub
resolveSizeAndState()
Parser
adb
18. Necessary tools to develop Android applications
Activity
virtual table
Google Cloud Messaging for Android (GCM)
Android SDK
19. 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.
Scroller
OAuth2
Explicit intent
Ducking
20. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
onResume();
onCreate() - onDestroy()
OnCurrentItemChanged
SurfaceView
21. To create an activity - you must create a subclass of
onSearchRequested()
Google
InputStream
Activity
22. The minimal energy state during which no network connection is active or required.
ShareActionProvider
NetworkInfo
Standby
Ducking
23. Conversion of XML back to an object
onCreate();
View
InputStream
Deserialize
24. It is a set of rules for encoding documents in machine-readable form.
Account Manager
Component - screen
drawBitmap()
Extensible Markup Language (XML)
25. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Extensible Markup Language (XML)
Activity
Layouts
onStop();
26. Android is __________.
SettingsActivity
SearchView
Intents
Linux based
27. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
Dalvik Debug Monitor Server
onCreate() - onDestroy()
searchable configuration
Scroller
28. Converts XML Document to XML DOM
Parser
LocationManager
Application footprint
ActionProvider
29. It made implementing an effective and user friendly share action in your ActionBar even easier.
OAuth2 protocol
ActionProvider
ACTION_DOCK_EVENT
Service Content Provider
30. Amode where the action bar is set up with tabs for navigation.
dual-
Entire
Activity
SurfaceView
31. Represents the visual representation of an Android application
Scroller
Activity
SearchView
single-pane
32. 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.
SearchView
adb
Paint
Activity
33. In order to get a list of accounts on the device - your app needs this permission.
ACTION_DOCK_EVENT
AccountAuthenticatorActivity
GET_ACCOUNTS
Services
34. The industry standard way to deal with authentication to third-party services.
NetworkInfo
GET_ACCOUNTS
OAuth2 protocol
dual-
35. Callback method: The activity is no longer visible.
Open Handset Alliance
onStop();
Geocoder
Activity
36. This is set up to animate for the duration of the fling.
Dalvik Debug Monitor Server
<declare-styleable>
ValueAnimator
AccountAuthenticatorActivity
37. This can be used to draw previews of what the camera sensor is picking up.
SurfaceView
Scroller
PackageManager
GET_ACCOUNTS
38. 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 ___ .
searchable configuration
Stack
SQLite
getInputStream()
39. It is called to invoke the search dialog on older devices.
AsyncTask
onSearchRequested()
onDraw()
Application resources
40. 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
Intents
XmlPullParser
PackageManager
Fragments
41. A mode where navigation is set up with a spinner widget.
dual-
Canvas
adb
single-pane
42. This action is used in sending text content from one activity to another.
ACTION_SEND
Stack - back stack
Activity
Layouts
43. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
ConnectivityManager
View
Service Content Provider
onDraw()
44. A styleable entity that contains these two custom attributes: showText and labelPosition.
PieChart
Android SDK
visible
PackageManager
45. Callback method: The activity is about to be destroyed.
onDestroy();
onCreate() - onDestroy()
When the activity resumes
AudioManager
46. Most network-connected Android apps use this to send and receive data.
Paint
HTTP
ShareActionProvider
Deserialize
47. Allow to combine loosely coupled components to perform certain tasks
Widgets
<declare-styleable>
Intents
Layouts
48. A service in which programmers can offer their Android application to Android users.
authenticator class
Google Play
Activity
onStop();
49. You can set the layout as the UI for your activity with passing the resource ID for the layout.
When the activity resumes
SQLite
setContentView
LocationManager
50. Once installed on a device - each Android application lives in its own ______
security sandbox
EXTRA_STREAM
Wi-Fi radio
getInputStream()