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

Explaination

GWT stands for Google Web Toolkit.

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 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 stylish stateful button which allows the user to toggle between up and down states?

A - Button

B - PushButton

C - ToggleButton

D - RadioButton

Answer : C

Explaination

ToggleButton widget represents a stylish stateful button which allows the user to toggle between up and down states.

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 arranges two widgets in a single vertical column and allows the user to interactively change the proportion of the hight dedicated to each of the two widgets?

A - HorizontalSplitPanel

B - VerticalSplitPanel

C - HorizontalPanel

D - VerticalPanel

Answer : B

Explaination

VerticalSplitPanel widget represents a A panel that arranges two widgets in a single vertical column and allows the user to interactively change the proportion of the height dedicated to each of the two widgets. Widgets contained within a VertialSplitPanel will be automatically decorated with scrollbars when necessary.

Q 8 - Which of the following panel represents a panel that contains HTML, and which can attach child widgets to identified elements within that HTML?

A - DeckPanel

B - DockPanel

C - HTMLPanel

D - SimplePanel

Answer : C

Explaination

HTMLPanel represents a panel that contains HTML, and which can attach child widgets to identified elements within that HTML.

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