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.

Answer : C

Explaination

'entry-point' tag in *.gwt.xml file specifies the name of class which will start loading the GWT Application.

Q 3 - What is the default style name of any GWT widget?

A - gwt-<classname>

B - <classname>-style

C - style-<classname>

D - css-<classname>

Answer : A

Explaination

By default, the class name for each component is gwt-<classname>. For example, the Button widget has a default style of gwt-Button and similar way TextBox widgest has a default style of gwt-TextBox.

Answer : C

Explaination

Using both of the above ways, a stylesheet can be attached to a GWT application.

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 GWT widget represents a single column list of cells?

A - Tree

B - MenuBar

C - CellTree

D - CellList

Answer : D

Explaination

CellList widget represents a single column list of cells.

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 displays all of its child widgets in a 'deck', where only one can be visible at a time?

A - DeckPanel

B - DockPanel

C - HTMLPanel

D - SimplePanel

Answer : A

Explaination

DeckPanel is a panel that displays all of its child widgets in a 'deck', where only one can be visible at a time. It is used by TabPanel.

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 popup which resides in the upper left hand corner of application when this handler is enabled.

A - PopupLogHandler

B - DevelopmentModeLogHandler

C - ConsoleLogHandler

D - FirebugLogHandler

Answer : A

Explaination

PopupLogHandler logs to the popup which resides in the upper left hand corner of application when this handler is enabled.

gwt_questions_answers.htm
Advertisements