GWT Online Quiz


Advertisements


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 5 - Which of the following gwt widget acts as a suggestion box?

A - CheckBox

B - ListBox

C - SuggestBox

D - GWTSuggestionBox

Answer : C

Explanation

SuggestBox widget acts as a suggestion box. SuggestBox widget represents a text box or text area which displays a pre-configured set of selections that match the user's input. Each SuggestBox is associated with a single SuggestOracle. The SuggestOracle is used to provide a set of selections given a specific query string.

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

A - Tree

B - MenuBar

C - CellTree

D - CellList

Answer : B

Explanation

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 of the following panel represents a flexible table that creates cells on demand?

A - HorizontalPanel

B - VerticalPanel

C - FlexTable

D - Grid

Answer : C

Explanation

FlexTable widget represents a flexible table that creates cells on demand. It can be jagged (that is, each row can contain a different number of cells) and individual cells can be set to span multiple rows or columns.

Q 8 - Which of the following panel represents a panel that represents a tabbed set of pages, each of which contains another widget?

A - DeckPanel

B - DockPanel

C - HTMLPanel

D - TabPanel

Answer : D

Explanation

TabPanel widget represents a panel that represents a tabbed set of pages, each of which contains another widget. Its child widgets are shown as the user selects the various tabs associated with them. The tabs can contain arbitrary HTML.

Answer : D

Explanation

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

Explanation

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