GWT Online Quiz



Following quiz provides Multiple Choice Questions (MCQs) related to GWT. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.

Questions and Answers

Answer : A

Explaination

*.cache.html contains the actual program of a GWT application.

Q 4 - Which of the following gwt widget contains text, not interpreted as HTML using a <div>element, causing it to be displayed with block layout?

A - Label

B - HTML

C - Image

D - Anchor

Answer : A

Explaination

Label widget contains text, not interpreted as HTML using a <div>element, causing it to be displayed with block layout.

Q 5 - Which of the following gwt widget represents a simple <a> element?

A - Label

B - HTML

C - Image

D - Anchor

Answer : D

Explaination

Anchor widget represents a simple <a> element.

Q 6 - Which of the following gwt widget represents a view of a tree?

A - Tree

B - MenuBar

C - CellTree

D - CellList

Answer : C

Explaination

CellTree widget represents a view of a tree. This widget will only work in standards mode, which requires that the HTML page in which it is run have an explicit <!DOCTYPE> declaration.

Q 7 - Which of the following panel lays all of its widgets out in a single vertical column?

A - Panel

B - FlowPanel

C - HorizontalPanel

D - VerticalPanel

Answer : D

Explaination

VerticalPanel widget represents a panel that lays all of its widgets out in a single vertical column.

Q 8 - Which of the following panel lays its child widgets out 'docked' at its outer edges, and allows its last widget to take up the remaining space in its center?

A - DeckPanel

B - DockPanel

C - HTMLPanel

D - SimplePanel

Answer : B

Explaination

DockPanel widget represents a panel that lays its child widgets out 'docked' at its outer edges, and allows its last widget to take up the remaining space in its center.

Q 9 - Which of the following is the way using which you can internationalize a GWT application?

A - Static String Internationalization

B - Dynamic String Internationalization

C - Localizable Interface

D - All of the above.

Answer : D

Explaination

All of the above options are correct.

Q 10 - Which tag of *.gwt.xml is used to support internationalization in GWT application?

A - extend-property

B - property

C - value

D - None of the above.

Answer : A

Explaination

extend-property tag with attribute name set as locale and values as language specific locale, say de for german locale.

gwt_questions_answers.htm
Advertisements