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 : C

Explaination

'entry-point' tag in *.gwt.xml file specifies the name of class which will start loading the GWT Application.

Q 3 - Do GWT compiler creates default Id attribute for its Widget by default?

A - true

B - false

Answer : B

Explaination

No! By default, neither the browser nor GWT creates default id attributes for widgets.

Answer : C

Explaination

Using both of the above ways, a stylesheet can be attached to a GWT application.

Q 5 - Which of the following gwt widget represents a list of choices to the user, either as a list box or as a drop-down list?

A - CheckBox

B - ListBox

C - SuggestBox

D - GWTListBox

Answer : B

Explaination

ListBox widget represents a list of choices to the user, either as a list box or as a drop-down list.

Q 6 - Which of the following gwt widget represents a standard menu bar?

A - Tree

B - MenuBar

C - CellTree

D - CellList

Answer : B

Explaination

MenuBar widget represents a standard menu bar widget. A menu bar can contain any number of menu items, each of which can either fire a Command or open a cascaded menu bar.

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 widget is the base class for panels that contain only one widget?

A - Composite

B - SimplePanel

C - ScrollPanel

D - FocusPanel

Answer : B

Explaination

SimplePanel is the base class for panels that contain only one widget.

Q 10 - Which of the following logger logs to stdout and logged messages can only be seen in Development Mode in the DevMode window.

A - SystemLogHandler

B - DevelopmentModeLogHandler

C - ConsoleLogHandler

D - PopupLogHandler

Answer : A

Explaination

SystemLogHandler logs to stdout and logged messages can only be seen in Development Mode in the DevMode window.

gwt_questions_answers.htm
Advertisements