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. Callback method: The activity is no longer visible
Service Content Provider
Stack - back stack
onStop();
SecurityException
2. On a rooted device - the credentials would be readable by anyone with this access to the device.
Standby
PieChart
Explicit intent
adb
3. The ____ lifetime of an activity happens between the call to onStart() and the call to onStop().
GestureDetector
SecurityException
visible
ShareActionProvider
4. This is the main class through which your application can access location services on Android.
LocationManager
ConnectivityManager
AsyncTask
auth scope
5. The visible lifetime of an activity happens between the call to ____ and the call to ______
onStart() - onStop()
OnCurrentItemChanged
Geocoder
onStop();
6. Use this to draw bitmaps.
onStop();
Linux based
drawBitmap()
Service Content Provider
7. Once installed on a device - each Android application lives in its own ______
setContentView
Lifecycle callback methods
Full power
security sandbox
8. Represents the visual representation of an Android application
virtual table
Activity
Account Manager
Wi-Fi radio
9. Are used in activities to create the user interface and to interact with the user.
BatteryManager
When the activity resumes
Fragments
Explicit intent
10. 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
Ducking
isConnected()
Destroyed - previous
Implicit intent
11. In most cases this will offer greater bandwidth at a significantly lower battery cost.
LTE
HttpURLConnection
Wi-Fi radio
Android SDK
12. It is called to invoke the search dialog on older devices.
ViewStub
Activity
onSearchRequested()
Geocoder
13. Android request its permission using its ________
SearchView
Extensible Markup Language (XML)
AndroidManifest.xml
getInputStream()
14. 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?
PackageManager
Android SDK
onStop();
AttributeSet
15. The most common way to define a layout using views is with an XML layout file saved in your ______
Ducking
visible
onStop();
Application resources
16. This object contains an account name - which for Google accounts is an email address.
OAuth2 protocol
AudioManager
Account
Dalvik Virtual Machine
17. This widget as an item in the action bar is the preferred way to provide search in your app.
AttributeSet
SearchView
Application resources
onAudioFocusChange()
18. This is an interface which is used to pass image data from the camera hardware to the application.
Scroller
Paint
Back stack
SurfaceHolder.Callback
19. Sharing of data in Android is done via________
Objects Activity lifecycle
onAudioFocusChange()
setVolumeControlStream()
Service Content Provider
20. Direct component call in Android
Stack
onCreate() - onDestroy()
Explicit intent
LocationManager
21. It is a lightweight mechanism used to transmit data from a server to a particular app instance.
onStart() - onStop()
Google Cloud Messaging for Android (GCM)
Widgets
ViewStub
22. This class computes scroll positions for you - but it does not automatically apply those positions to your view.
Scroller
Parser
Linux based
ACTION_DOCK_EVENT
23. Relative to pixels and resolution screen
Application footprint
onDraw()
Dots per inch
Dalvik Virtual Machine
24. When a new activity starts - it is pushed onto the ____ and takes user focus.
BroadcastReceiver
getInputStream()
Back stack
searchable configuration
25. 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
Geocoder
android.hardware.touchscreen
LocationManager
26. Converts XML Document to XML DOM
virtual table
BroadcastReceiver
Parser
ACTION_SEND
27. The Android framework has a large set of these classes for interacting with the user and displaying various types of data.
View
ShareActionProvider
<declare-styleable>
Activity
28. It doesn't currently support the <merge/> tag in the layouts to be inflated.
Stack - back stack
onResume();
ViewStub
auth scope
29. 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.
Stack - back stack
SearchView
SettingsActivity
LocationManager
30. Shows the actual amount of memory the application uses
Application footprint
AttributeSet
ACTION_DOCK_EVENT
Services
31. The Android SDK tools include a tool that allows you to analyze your layout while your application is running.
onStop();
NetworkInfo
Hierarchy Viewer
When the activity resumes
32. ______ are views derived from ViewGroup that provide a unique layout model for its child views
Layouts
Google Play
SearchView
SearchView
33. To respond to media button clicks - you need to register this in your manifest that listens for this action broadcast.
When the activity resumes
AccountAuthenticatorActivity
LocationManager
BroadcastReceiver
34. The receiver is triggered whenever the device battery becomes low or exits the low condition by listening for this two.
Intents
ACTION_BATTERY_LOW and ACTION_BATTERY_OKAY
SecurityException
SurfaceView
35. This is the simplest way to monitor device state changes.
Back stack
Intents
Canvas
BroadcastReceiver
36. It is an HTTP client that is used for applications targeted at Gingerbread and higher.
onMeasure()
HttpURLConnection
Dalvik Debug Monitor Server
AccountAuthenticatorActivity
37. 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.
single-pane
Stack - back stack
ETC1
resolveSizeAndState()
38. It is a set of rules for encoding documents in machine-readable form.
onStop();
onStart() - onStop()
Extensible Markup Language (XML)
single-pane
39. If permissions are missing - the application will get this at runtime.
Google
Emulator
SecurityException
LTE
40. This includes tools to help you identify problems in your layout performance.
authenticator class
Android SDK
Canvas
GestureDetector
41. An Activity is an application ______ that provides a _______ with which users can interact in order to do something - such as dial the phone - take a photo - send an email - or view a map
Dalvik Virtual Machine
OnCurrentItemChanged
BroadcastReceiver
Component - screen
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.
Activity
PieChart
Paint
Services
43. It provides a simple way to perform your work outside the main thread.
GestureDetector
BroadcastReceiver
AndroidManifest.xml
AsyncTask
44. The easiest way to create an authenticator class is to extend this and implement its abstract methods.
HTTP
onSearchRequested()
AbstractAccountAuthenticator
Google
45. This class defines abstract methods that you must override so that your database table can be created and upgraded when necessary.
Canvas
SQLiteOpenHelper
InputStream
inflate()
46. _____ are views that provide a visual (and interactive) elements for the screen - such as a button - text field - checkbox - or just an image.
AbstractAccountAuthenticator
Widgets
HttpURLConnection
onCreate() - onDestroy()
47. Amode where the action bar is set up with tabs for navigation.
onStop();
single-pane
Component - screen
dual-
48. This is the most common input event in the Android system.
touch
Component - screen
onStop();
Android SDK
49. 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 ___ .
AudioManager
Android SDK
Stack
SurfaceHolder.Callback
50. The ____ lifetime of an activity happens between the call to onCreate() and the call to onDestroy().
PieChart
Google Cloud Messaging for Android (GCM)
SearchView
Entire