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. Sharing of data in Android is done via________
Service Content Provider
Entire
BroadcastReceiver
AttributeSet
2. Allow to combine loosely coupled components to perform certain tasks
onCreate() - onDestroy()
Account
Intents
HttpURLConnection
3. 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?
Hierarchy Viewer
Implicit intent
Layouts
EXTRA_STREAM
4. If permissions are missing - the application will get this at runtime.
android.hardware.touchscreen
virtual table
AttributeSet
SecurityException
5. Evaluation of registered components
Implicit intent
android.hardware.touchscreen
onSearchRequested()
Full power
6. It is a string that defines the specific type of access your app is asking for.
Google Cloud Messaging (GCM)
onMeasure()
BatteryManager
auth scope
7. Callback method: The activity is about to be destroyed.
onDestroy();
Open Handset Alliance
Google Cloud Messaging (GCM)
ETC1
8. The helper method is used to create the final width and height values.
setContentView
resolveSizeAndState()
getInputStream()
XmlPullParser
9. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
ACTION_DOCK_EVENT
NetworkInfo
onStart() - onStop()
OAuth2 protocol
10. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
Entire
drawText()
visible
ACTION_DOCK_EVENT
11. Represents the visual representation of an Android application
Stack - back stack
Emulator
Activity
onStop();
12. 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 _____
BackupHelper
Google Cloud Messaging (GCM)
PackageManager
onCreate() - onDestroy()
13. This is set up to animate for the duration of the fling.
ACTION_DOCK_EVENT
ConnectivityManager
OnCurrentItemChanged
ValueAnimator
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();
Stack - back stack
SearchView
AsyncTask
15. Shows the actual amount of memory the application uses
dual-
Application footprint
Stack
auth scope
16. To define custom attributes - add this resources to your project.
onStop();
AudioManager
<declare-styleable>
ACTION_SEND
17. It is a free service for sending messages to Android devices.
Google Cloud Messaging (GCM)
SettingsActivity
Advanced Training
AsyncTask
18. When a new activity starts - it is pushed onto the ____ and takes user focus.
AccountAuthenticatorActivity
Back stack
Scroller
Dalvik Virtual Machine
19. It is used to load images in a background thread - then apply them to the UI once finished.
Emulator
InputStream
AsyncTask
Scroller
20. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Hierarchy Viewer
Canvas
onStop();
Layouts
21. In most cases this will offer greater bandwidth at a significantly lower battery cost.
Wi-Fi radio
Stack
Google Play
Widgets
22. The entire lifetime of an activity happens between the call to _____ and the call to _____
onCreate() - onDestroy()
PieChart
AsyncTask
onCreate();
23. Are used in activities to create the user interface and to interact with the user.
Account Manager
Fragments
Layouts
Dalvik Virtual Machine
24. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
ACTION_DOCK_EVENT
HttpURLConnection
authenticator class
Dalvik Virtual Machine
25. The industry standard way to deal with authentication to third-party services.
Layouts
OAuth2
Wi-Fi radio
OAuth2 protocol
26. This is the most common input event in the Android system.
ViewStub
Linux based
View
touch
27. 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
GestureDetector
onAudioFocusChange()
onDraw()
Destroyed - previous
28. This is used to fetch the account names that the user has stored on their device.
OAuth2 protocol
Account Manager
View
Low power
29. This includes tools to help you identify problems in your layout performance.
Layouts
Android SDK
Scroller
visible
30. The most common way to define a layout using views is with an XML layout file saved in your ______
Dalvik Debug Monitor Server
SurfaceView
AsyncTask
Application resources
31. Callback method: Another activity is taking focus
Android SDK
Widgets
Stack
onPause();
32. Converts XML Document to XML DOM
SettingsActivity
Parser
BroadcastReceiver
When the activity resumes
33. In order to get a list of accounts on the device - your app needs this permission.
drawText()
GET_ACCOUNTS
Dalvik Debug Monitor Server
Parser
34. These helpers are specialized classes for backing up certain kinds of data.
onMeasure()
BackupHelper
Paint
onPause();
35. Answers queries about the state of network connectivity. It also notifies applications when network connectivity changes.
Implicit intent
setVolumeControlStream()
ConnectivityManager
SearchView
36. It is available starting with API Level 14 and higher.
auth scope
SQLite
ShareActionProvider
GestureDetector
37. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
Emulator
SettingsActivity
Hierarchy Viewer
Fragments
38. Amode where the action bar is set up with tabs for navigation.
Open Handset Alliance
Ducking
dual-
onDestroy();
39. An intermediate state that uses around 50% of the battery power at the full state.
Objects Activity lifecycle
onCreate() - onDestroy()
HTTP
Low power
40. Use this to draw bitmaps.
drawBitmap()
Activity
Parser
Explicit intent
41. An open source group led by Google
android.hardware.touchscreen
ConnectivityManager
Open Handset Alliance
Activity
42. 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
Paint
OAuth2
security sandbox
43. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
onDestroy();
getInputStream()
BatteryManager
AndroidManifest.xml
44. This is a readable source of bytes.
getInputStream()
Component - screen
onSearchRequested()
InputStream
45. This can be used to draw previews of what the camera sensor is picking up.
HttpURLConnection
SurfaceView
BroadcastReceiver
NetworkInfo
46. This method returns the inflated View once complete so you don't need to call findViewById() if you need to interact with the layout.
inflate()
XmlPullParser
EXTRA_STREAM
BatteryManager
47. An open source stand alone database
Layouts
visible
SQLite
onSearchRequested()
48. Android provides this handy method to direct volume key presses to the audio stream the user specify.
drawText()
Google Cloud Messaging for Android (GCM)
setVolumeControlStream()
ActionProvider
49. This widget as an item in the action bar is the preferred way to provide search in your app.
Application footprint
Full power
SearchView
Objects Activity lifecycle
50. This class exposes a number of methods for applications to receive location updates.
LocationManager
SearchView
Fragments
Open Handset Alliance