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 2 - Can you have multiple entry-point classes in a *.gwt.xml file?

A - true

B - false

Answer : A

Explaination

Yes! Any number of entry-point classes can be added.

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 mutually-exclusive selection radio buttons?

A - CheckBox

B - RadioBox

C - GWTRadioBox

D - RadioButton

Answer : D

Explaination

RadioButton widget represents a mutually-exclusive selection radio buttons.

Q 6 - Which of the following gwt widget represents a multiline text box?

A - TextArea

B - GWTTextArea

C - SuggestBox

D - TextBox

Answer : A

Explaination

TextArea widget represents a multiline text box.

Q 7 - Which of the following panel arranges two widgets in a single horizontal row and allows the user to interactively change the proportion of the width dedicated to each of the two widgets?

A - HorizontalSplitPanel

B - VerticalSplitPanel

C - HorizontalPanel

D - VerticalPanel

Answer : A

Explaination

HorizontalSplitPanel widget represents a panel that arranges two widgets in a single horizontal row and allows the user to interactively change the proportion of the width dedicated to each of the two widgets. Widgets contained within a HorizontalSplitPanel will be automatically decorated with scrollbars when necessary.

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 the javascript console, which is used by Firebug Lite (for IE), Safari and Chrome.

A - SystemLogHandler

B - DevelopmentModeLogHandler

C - ConsoleLogHandler

D - PopupLogHandler

Answer : C

Explaination

ConsoleLogHandler logs to the javascript console, which is used by Firebug Lite (for IE), Safari and Chrome.

gwt_questions_answers.htm
Advertisements