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

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

Q 5 - Which of the following gwt widget represents a single line text box?

A - TextArea

B - GWTTextBox

C - SuggestBox

D - TextBox

Answer : D

Explaination

TextBox widget represents a single line text box.

Q 6 - Which of the following gwt widget represents a standard menu bar?

A - Tree

B - MenuBar

C - CellTree

D - CellList

Answer : B

Explaination

MenuBar widget represents a standard menu bar widget. A menu bar can contain any number of menu items, each of which can either fire a Command or open a cascaded menu bar.

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 simple panel that makes its contents focusable?

A - Composite

B - SimplePanel

C - ScrollPanel

D - FocusPanel

Answer : D

Explaination

FocusPanel widget represents a simple panel that makes its contents focusable, and adds the ability to catch mouse and keyboard events.

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 sends log messages to the server, where they will be logged using the server side logging mechanism.

A - PopupLogHandler

B - SimpleRemoteLogHandler

C - ConsoleLogHandler

D - FirebugLogHandler

Answer : B

Explaination

SimpleRemoteLogHandler sends log messages to the server, where they will be logged using the server side logging mechanism.

gwt_questions_answers.htm
Advertisements