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.

Q 5 - Which of the following gwt widget represents a standard push button?

A - Button

B - PushButton

C - ToggleButton

D - RadioButton

Answer : A

Explaination

Button widget represents a standard push button.

Q 6 - Which of the following gwt widget represents a standard hierarchical tree?

A - Tree

B - MenuBar

C - CellTree

D - CellList

Answer : A

Explaination

Tree widget represents a standard hierarchical tree. The tree contains a hierarchy of TreeItems that the user can open, close, and select.

Q 7 - Which of the following panel represents a rectangular grid that can contain text, html, or a child Widget within its cells?

A - HorizontalPanel

B - VerticalPanel

C - FlexTable

D - Grid

Answer : D

Explaination

Grid widget represents a rectangular grid that can contain text, html, or a child Widget within its cells. It must be resized explicitly to the desired number of rows and columns.

Q 8 - Which of the following GWT widget wraps its contents in an HTML <FORM> element?

A - Composite

B - FormPanel

C - PopupPanel

D - DialogBox

Answer : B

Explaination

FormPanel widget represents a panel that wraps its contents in an HTML <FORM> element.

Q 9 - Which of the following is the way using which you can internationalize a GWT application?

A - Static String Internationalization

B - Dynamic String Internationalization

C - Localizable Interface

D - All of the above.

Answer : D

Explaination

All of the above options are correct.

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