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. Amode where the action bar is set up with tabs for navigation.
Fragments
BackupHelper
Account
dual-
2. 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
ConnectivityManager
onCreate() - onDestroy()
NetworkInfo
3. This widget as an item in the action bar is the preferred way to provide search in your app.
AudioManager
SearchView
SQLiteOpenHelper
single-pane
4. 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?
EXTRA_STREAM
Back stack
Account
OAuth2 protocol
5. It is called to invoke the search dialog on older devices.
onSearchRequested()
Emulator
View
Fragments
6. Are used in activities to create the user interface and to interact with the user.
ShareActionProvider
Deserialize
AccountAuthenticatorActivity
Fragments
7. This action is used in sending text content from one activity to another.
PackageManager
OAuth2
ACTION_SEND
BroadcastReceiver
8. Necessary tools to develop Android applications
Stack - back stack
Android SDK
Application footprint
touch
9. Whenever the device is docked or undocked - this action is broadcast.
Extensible Markup Language (XML)
ActionProvider
ACTION_DOCK_EVENT
HTTP
10. Used when a connection is active - allowing the device to transfer data at its highest possible rate.
onStart() - onStop()
OAuth2
Full power
onCreate() - onDestroy()
11. This broadcasts all battery and charging details in a sticky Intent that includes the charging status.
onCreate();
AsyncTask
SurfaceHolder.Callback
BatteryManager
12. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
Advanced Training
Scroller
NetworkInfo
Paint
13. It made implementing an effective and user friendly share action in your ActionBar even easier.
ActionProvider
AsyncTask
Layouts
ShareActionProvider
14. Callback method: The activity has become visible.
Standby
Serialize
authenticator class
onResume();
15. It is a string that defines the specific type of access your app is asking for.
onSearchRequested()
auth scope
ConnectivityManager
ConnectivityManager
16. This is the main class through which your application can access location services on Android.
BatteryManager
drawBitmap()
<declare-styleable>
LocationManager
17. When an activity is stopped because a new activity starts - it is notified of this change in state through the activity's _______ .
Lifecycle callback methods
Open Handset Alliance
Parser
inflate()
18. Allow to combine loosely coupled components to perform certain tasks
AttributeSet
Google Cloud Messaging (GCM)
SecurityException
Intents
19. It typically consumes more energy than 3G - which is in turn more expensive than 2G.
Paint
LTE
onStop();
SecurityException
20. The minimal energy state during which no network connection is active or required.
PieChart
Standby
LTE
SQLiteOpenHelper
21. Represents the visual representation of an Android application
SearchView
visible
Activity
BackupHelper
22. This is used to convert raw touch events into gestures.
Entire
Component - screen
GestureDetector
Extensible Markup Language (XML)
23. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
onCreate() - onDestroy()
Service Content Provider
Paint
AsyncTask
24. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
SurfaceHolder.Callback
Intents
HttpURLConnection
Ducking
25. 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
EXTRA_STREAM
SearchView
onSearchRequested()
26. This is used for the need of finer control over your view's layout parameters.
inflate()
HTTP
onMeasure()
onCreate() - onDestroy()
27. An open source stand alone database
Hierarchy Viewer
SQLite
Extensible Markup Language (XML)
ConnectivityManager
28. Once installed on a device - each Android application lives in its own ______
SQLiteOpenHelper
Stack - back stack
security sandbox
Account
29. This class provides one of the simplest ways to fire off a new task from the UI thread.
SettingsActivity
Stack
AsyncTask
ACTION_DOCK_EVENT
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
Destroyed - previous
Google Play
Intent filters
setContentView
31. It is used to load images in a background thread - then apply them to the UI once finished.
AsyncTask
Application footprint
Google Cloud Messaging for Android (GCM)
Stack
32. 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
Lifecycle callback methods
Services
ACTION_DOCK_EVENT
33. ______ are views derived from ViewGroup that provide a unique layout model for its child views
onCreate() - onDestroy()
inflate()
isConnected()
Layouts
34. It provides a simple way to perform your work outside the main thread.
resolveSizeAndState()
auth scope
Application footprint
AsyncTask
35. To create an activity - you must create a subclass of
Back stack
onAudioFocusChange()
Activity
Layouts
36. Perform background tasks without providing a user interface
Account
Services
searchable configuration
Hierarchy Viewer
37. This is the most common input event in the Android system.
onCreate() - onDestroy()
Layouts
touch
onStop();
38. For example - a ____ might be a button that initiates an action when the user touches it.
View
PackageManager
ShareActionProvider
ACTION_DOCK_EVENT
39. The most common way to define a layout using views is with an XML layout file saved in your ______
Linux based
Google Play
Application resources
XmlPullParser
40. Where Android is currently primarily developed
Google
Open Handset Alliance
SecurityException
dual-
41. An open source group led by Google
ConnectivityManager
AsyncTask
Google Play
Open Handset Alliance
42. Callback method: The activity is being created.
onCreate() - onDestroy()
onCreate();
LTE
GestureDetector
43. Use this to draw text.
drawText()
BroadcastReceiver
Emulator
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
44. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
visible
ShareActionProvider
BatteryManager
Activity
45. Sharing of data in Android is done via________
onAudioFocusChange()
Intents
Service Content Provider
inflate()
46. It is a set of rules for encoding documents in machine-readable form.
Extensible Markup Language (XML)
onSearchRequested()
resolveSizeAndState()
ValueAnimator
47. Evaluation of registered components
Implicit intent
GestureDetector
Google Play
onStart() - onStop()
48. It is a free service for sending messages to Android devices.
SearchView
Google Cloud Messaging (GCM)
drawText()
resolveSizeAndState()
49. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
ConnectivityManager
Low power
OAuth2
AbstractAccountAuthenticator
50. Android system uses a special virtual machine to run java based applicatons
Dalvik Virtual Machine
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
Hierarchy Viewer
Activity