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 core component of GWT framework?

A - GWT Java to JavaScript compiler

B - JRE Emulation library

C - GWT UI building library

D - Web Browser

Answer : D

Explaination

Web Browser is not a core component of GWT framework.

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.

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.

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 list of choices to the user, either as a list box or as a drop-down list?

A - CheckBox

B - ListBox

C - SuggestBox

D - GWTListBox

Answer : B

Explaination

ListBox widget represents a list of choices to the user, either as a list box or as a drop-down list.

Q 6 - Which of the following gwt widget represents a standard hierarchical tree?

A - Tree

B - MenuBar

C - CellTree

D - CellList

Answer : A

Explaination

Tree widget represents a standard hierarchical tree. The tree contains a hierarchy of TreeItems that the user can open, close, and select.

Q 7 - Which class is the base class of all layout panel classes?

A - Panel

B - FlowPanel

C - HorizontalPanel

D - VerticalPanel

Answer : A

Explaination

Panel is the abstract base class for all panels, which are widgets that can contain other widgets.

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

Answer : D

Explaination

Database is not a core component of GWT RPC.

Q 10 - In which of the following internationalization technique host page contains the localized strings therefore, applications are not required to be recompiled when we add a new locale?

A - Static String Internationalization

B - Dynamic String Internationalization

C - Localizable Interface

D - None of the above.

Answer : B

Explaination

Dynamic String Internationalization is very flexible but slower than static string internationalization. Host page contains the localized strings therefore, applications are not required to be recompiled when we add a new locale. If GWT application is to be integrated with an existing server-side localization system, then this technique is to be used.

gwt_questions_answers.htm
Advertisements