Android Programming (2180715) MCQs

MCQs of User Interface

Showing 11 to 20 out of 36 Questions
11.
Which of the following is Dialog classes in android?
(a) AlertDialog
(b) ProgressDialog
(c) DatePickerDialog
(d) All of the above
Answer:

Option (d)

12.
Android tries to _____ low-level components, such as the software stack, with interfaces so that vendorspecific code can be managed easily.
(a) confound
(b) absract
(c) modularize
(d) compound
Answer:

Option (b)

13.
What is contained within the layout xml file?
(a) Orientations and layouts that specify what the display looks like
(b) The permissions required by the app
(c) The strings used in the app
(d) The code which is compiled to run the app
Answer:

Option (a)

14.
The _____ file specifies the layout of your screen?
(a) Layout
(b) Manifest
(c) Strings XML
(d) R
Answer:

Option (a)

15.
Which of the following are UI elements that you can use in a window in an Android application?
(a) TextBox
(b) TextView
(c) EditText
(d) Both B & C
Answer:

Option (d)

16.
Which of the following can you use to display a progress bar in an Android application?
(a) ProgressBar
(b) ProgressDialog
(c) ProgressView
(d) Both A & B
Answer:

Option (d)

17.
What is the parent class of all Activity widgets?
(a) ViewGroup
(b) Layout
(c) View
(d) Widget
Answer:

Option (c)

18.
You can create a custom view by extending class
(a) android.widget.View
(b) android.widget.LinearLayout
(c) android.view.View
(d) android.content
Answer:

Option (c)

19.
Which of the following android view sub-classes uses the WebKit rendering engine to display web pages?
(a) PageView
(b) WebView
(c) MapView
(d) HttpClient
Answer:

Option (b)

20.
_____ views are commonly used views such as the TextView, EditText and Button Views
(a) Basic View
(b) Picker view
(c) Frame view
(d) None
Answer:

Option (a)

Showing 11 to 20 out of 36 Questions