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 2 - Which method of a entry-point class is called when GWT application starts?

A - main()

B - onModuleLoad()

C - process()

D - execute()

Answer : B

Explaination

onModuleLoad() function gets called and acts similar to main method of a java application.

Q 3 - Do GWT compiler creates default Id attribute for its Widget by default?

A - true

B - false

Answer : B

Explaination

No! By default, neither the browser nor GWT creates default id attributes for widgets.

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 of the following gwt widget represents a hidden field?

A - TextArea

B - GWTHidden

C - Hidden

D - TextBox

Answer : C

Explaination

Hidden widget represents a hidden field.

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

Explaination

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.

Q 10 - GWT client and server both serialize and deserialize data automatically so developers are not required to serialize/deserialize objects and data objects can travel over HTTP.

A - true

B - false

Answer : A

Explaination

GWT client and server both serialize and deserialize data automatically so developers are not required to serialize/deserialize objects and data objects can travel over HTTP.

gwt_questions_answers.htm
Advertisements