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. To create an activity - you must create a subclass of
Activity
drawText()
Fragments
BatteryManager
2. This class provides one of the simplest ways to fire off a new task from the UI thread.
AsyncTask
isConnected()
onCreate();
GET_ACCOUNTS
3. It is a string that defines the specific type of access your app is asking for.
When the activity resumes
Canvas
Ducking
auth scope
4. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
Widgets
Canvas
Dots per inch
BroadcastReceiver
5. It is a set of rules for encoding documents in machine-readable form.
onPause();
onDestroy();
ViewStub
Extensible Markup Language (XML)
6. Once installed on a device - each Android application lives in its own ______
security sandbox
Paint
isConnected()
Android SDK
7. Amode where the action bar is set up with tabs for navigation.
dual-
AudioManager
Hierarchy Viewer
GET_ACCOUNTS
8. An open source group led by Google
onResume();
setContentView
PackageManager
Open Handset Alliance
9. Are used in activities to create the user interface and to interact with the user.
Activity
Android SDK
Fragments
Extensible Markup Language (XML)
10. 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.
OnCurrentItemChanged
ETC1
onAudioFocusChange()
ConnectivityManager
11. This is a base class supplied by Android framework - which you can extend to create your own custom authenticator.
Hierarchy Viewer
HTTP
AccountAuthenticatorActivity
resolveSizeAndState()
12. Represents the visual representation of an Android application
Activity
onDraw()
ActionProvider
PackageManager
13. Perform background tasks without providing a user interface
Activity
ActionProvider
InputStream
Services
14. Android is __________.
onAudioFocusChange()
Linux based
OnCurrentItemChanged
onStop();
15. This defines how the SearchView behaves and is defined in a res/xml/searchable.xml file.
LocationManager
AsyncTask
searchable configuration
AccountAuthenticatorActivity
16. This callback method of the audio focus change listener you registered when requesting audio focus receives a parameter that describes the focus change event.
onAudioFocusChange()
Advanced Training
BackupHelper
authenticator class
17. Android request its permission using its ________
onCreate() - onDestroy()
AndroidManifest.xml
AudioManager
BroadcastReceiver
18. Callback method: The activity is no longer visible.
SettingsActivity
onStop();
Activity
LTE
19. The entire lifetime of an activity happens between the call to _____ and the call to _____
virtual table
Hierarchy Viewer
onCreate() - onDestroy()
ValueAnimator
20. This action is used in sending text content from one activity to another.
adb
SearchView
Open Handset Alliance
ACTION_SEND
21. The dock-state details are included as an extra in a sticky broadcast of this action.
ACTION_DOCK_EVENT
onAudioFocusChange()
onPause();
Advanced Training
22. The minimal energy state during which no network connection is active or required.
Standby
View
Full power
Google Cloud Messaging for Android (GCM)
23. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Widgets
Android SDK
Layouts
InputStream
24. The industry standard way to deal with authentication to third-party services.
Dalvik Virtual Machine
ConnectivityManager
resolveSizeAndState()
OAuth2 protocol
25. It is called to invoke the search dialog on older devices.
onSearchRequested()
AsyncTask
OAuth2 protocol
Extensible Markup Language (XML)
26. Theseclasses simplify the steps required to enhance your app with powerful platform features or effectively optimize your app performance.
auth scope
Advanced Training
isConnected()
Extensible Markup Language (XML)
27. Callback method: The activity is no longer visible
onStop();
Explicit intent
GET_ACCOUNTS
adb
28. In order to get a list of accounts on the device - your app needs this permission.
AbstractAccountAuthenticator
BroadcastReceiver
security sandbox
GET_ACCOUNTS
29. Most network-connected Android apps use this to send and receive data.
Activity
Android SDK
onAudioFocusChange()
HTTP
30. Callback method: The activity has become visible.
ACTION_DOCK_EVENT
LocationManager
onResume();
ACTION_DOCK_EVENT
31. 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
Stack - back stack
setVolumeControlStream()
32. 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
PackageManager
SQLiteOpenHelper
Lifecycle callback methods
AbstractAccountAuthenticator
33. This can be used to draw previews of what the camera sensor is picking up.
SurfaceView
Open Handset Alliance
OnCurrentItemChanged
authenticator class
34. Your activity should perform setup of "global" state (such as defining layout) in ____ and release all remaining resources in _____
AbstractAccountAuthenticator
BroadcastReceiver
onCreate() - onDestroy()
drawBitmap()
35. This is the main class through which your application can access location services on Android.
SurfaceView
adb
Google Play
LocationManager
36. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
BatteryManager
View
auth scope
BroadcastReceiver
37. It is used to load images in a background thread - then apply them to the UI once finished.
AsyncTask
Android SDK
ACTION_SEND
onStop();
38. 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();
SearchView
Scroller
AsyncTask
39. This is the most common input event in the Android system.
Service Content Provider
View
SQLiteOpenHelper
touch
40. To define custom attributes - add this resources to your project.
inflate()
authenticator class
<declare-styleable>
ConnectivityManager
41. This is set up to animate for the duration of the fling.
Intents
Widgets
ViewStub
ValueAnimator
42. Once a connection has been established - the app uses this method to retrieve the data as an InputStream.
LocationManager
LocationManager
visible
getInputStream()
43. Describes the status of a network interface of a given type (currently either Mobile or Wi-Fi).
ACTION_DOCK_EVENT
NetworkInfo
getInputStream()
Intent filters
44. 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.
auth scope
Activity
ValueAnimator
OAuth2
45. A styleable entity that contains these two custom attributes: showText and labelPosition.
PackageManager
resolveSizeAndState()
onCreate() - onDestroy()
PieChart
46. This class defines methods for drawing text - lines - bitmaps - and many other graphics primitives.
View
Canvas
Objects Activity lifecycle
Low power
47. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
onPause();
EXTRA_STREAM
Widgets
Account
48. This widget as an item in the action bar is the preferred way to provide search in your app.
SearchView
OAuth2
BackupHelper
touch
49. PieChart exposes a custom event to notify listeners that the user has rotated the pie chart to focus on a new pie slice.
OnCurrentItemChanged
AudioManager
onDraw()
View
50. It inform the system what intents an application component is willing to accept.
ETC1
PackageManager
Parser
Intent filters