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

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 4 - Which of the following class is the superclass of all user-interface classes?

A - UIObject

B - Widget

C - Panel

D - None of the above.

Answer : A

Explaination

The class UIObject is the superclass for all user-interface objects.

Q 5 - Which of the following gwt widget acts as a suggestion box?

A - CheckBox

B - ListBox

C - SuggestBox

D - GWTSuggestionBox

Answer : C

Explaination

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 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 lays all of its widgets out in a single horizontal column?

A - Panel

B - FlowPanel

C - HorizontalPanel

D - VerticalPanel

Answer : C

Explaination

HorizontalPanel widget represents a panel that lays all of its widgets out in a single horizontal column.

Q 8 - Which of the following panel lays its child widgets out 'docked' at its outer edges, and allows its last widget to take up the remaining space in its center?

A - DeckPanel

B - DockPanel

C - HTMLPanel

D - SimplePanel

Answer : B

Explaination

DockPanel widget represents a panel that lays its child widgets out 'docked' at its outer edges, and allows its last widget to take up the remaining space in its center.

Answer : D

Explaination

Database is not a core component of GWT RPC.

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
E-Books Store