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

The default public path is the public subdirectory underneath where the Module XML File is stored.

Q 4 - Which of the following gwt widget can contain HTML text and displays the html content using a <div> element, causing it to be displayed with block layout?

A - Label

B - HTML

C - Image

D - Anchor

Answer : B

Explaination

HTML widget can contain HTML text and displays the html content 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 rich text editor?

A - GWTRichTextArea

B - ListBox

C - RichTextArea

D - TextBox

Answer : C

Explaination

RichTextArea widget represents a rich text editor.

Q 7 - Which of the following panel formats its child widgets using the default HTML layout behavior?

A - Panel

B - FlowPanel

C - HorizontalPanel

D - VerticalPanel

Answer : B

Explaination

FlowPanel widget represents a panel that formats its child widgets using the default HTML layout behavior.

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