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

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.

Q 5 - Which of the following gwt widget displays an image at a given URL?

A - Label

B - HTML

C - Image

D - Anchor

Answer : C

Explaination

Image widget displays an image at a given URL.

Q 6 - Which of the following gwt widget represents a standard GWT date picker?

A - Date

B - DateTime

C - DatePicker

D - GWTDatePicker

Answer : C

Explaination

DatePicker widget represents a standard GWT date picker.

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 9 - Which of the following GWT widget represents a form of popup that has a caption area at the top and can be dragged by the user?

A - Composite

B - FormPanel

C - PopupPanel

D - DialogBox

Answer : D

Explaination

DialogBox widget represents a form of popup that has a caption area at the top and can be dragged by the user. Unlike a PopupPanel, calls to PopupPanel.setWidth(String) and PopupPanel.setHeight(String) will set the width and height of the dialog box itself, even if a widget has not been added as yet.

Q 10 - Which of the following logger sends log messages to the server, where they will be logged using the server side logging mechanism.

A - PopupLogHandler

B - SimpleRemoteLogHandler

C - ConsoleLogHandler

D - FirebugLogHandler

Answer : B

Explaination

SimpleRemoteLogHandler sends log messages to the server, where they will be logged using the server side logging mechanism.

gwt_questions_answers.htm
Advertisements