Android Views MCQ Questions

This section focuses on "Views" of Android. These Multiple Choice Questions (mcq) should be practiced to improve the Android skills required for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance exams and other competitive examinations.

1. View refers to the?

A. android.View.view class
B. android.view.View class
C. android.view class
D. android.View class

View Answer


2. View class extends Object class and implements?

A. Drawable.Callback
B. KeyEvent.Callback
C. AccessibilityEventSource
D. All of the above

View Answer


3. ___________ means it will occupy the complete space available on the display of the device.

A. wrap_content 
B. match_content
C. match_parent
D. wrap_parent

View Answer


4. ___________ means it will occupy only that much space as required for its content to display.

A. wrap_content 
B. match_content
C. match_parent
D. wrap_parent

View Answer


5. View always start with?

A. [
B. <
C. {
D. (

View Answer


6. In the end, it is closed by ?

A. >
B. ?>
C. :>
D. />

View Answer


7. To embed a web browser in your activity which view you will use?

A. RichTextView
B. Browser
C. WebView
D. None of the above

View Answer


8. To display text which control you will use?

A. EditText
B. TextView
C. label
D. ViewText

View Answer


9. There are two attributes that are necessary for every View. These are: android:layout_height and android:layout_width.

A. TRUE
B. FALSE
C. Can be true or false
D. Can not say

View Answer


10. A View is also known as Widget in Android.

A. TRUE
B. FALSE
C. Can be true or false
D. Can not say

View Answer




Discussion



* You must be logged in to add comment.

Random Guy
noice explanation with each answer I am kinda preparing for my exams from this website. good place for last hour studying people like me