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 1 - Which of the following is not a mandatory component of GWT application?

A - Module descriptors

B - Public resources

C - Server-side code

D - Client-side code

Answer : C

Explaination

Server-side code is a optional part of a GWT application.

Answer : C

Explaination

The most important public resource is host page which is used to invoke actual GWT application. A typical HTML host page for an application might not include any visible HTML body content at all but it is always expected to include GWT application via a <script.../> tag.

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 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 GWT widget represents a browsable view of a tree in which only a single node per level may be open at one time?

A - CellTable

B - CellBrowser

C - CellTree

D - CellList

Answer : B

Explaination

CellBrowser widget represents a browsable view of a tree in which only a single node per level may be open at one time. This widget will only work in standards mode, which requires that the HTML page in which it is run have an explicit <!DOCTYPE> declaration.

Q 8 - Which of the following GWT widget represents a panel that can pop up over other widgets?

A - Composite

B - FormPanel

C - PopupPanel

D - DialogBox

Answer : C

Explaination

PopupPanel widget represents a panel that can pop up over other widgets. It overlays the browser's client area (and any previously-created popups).

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