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

Explaination

'inherits' tag in *.gwt.xml file adds other gwt module in application just like import does in java applications. Any number of modules can be inherited in this manner.

Answer : C

Explaination

GWT compiler generates .nocache.js file every time with the same name whenever a GWT application is compiled. So browser should always download the .nocache.js file to get the latest gwt application. gwt.js code actually appends a unique timestamp at the end of the file name so that browser always treat it a new file and should never cache it.

Q 5 - Which of the following gwt widget represents a standard check box?

A - CheckBox

B - GWTCheckBox

C - RadioBox

D - RadioButton

Answer : A

Explaination

CheckBox widget represents a standard check box. This class also serves as a base class for RadioButton.

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 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 GWT widget wraps its contents in an HTML <FORM> element?

A - Composite

B - FormPanel

C - PopupPanel

D - DialogBox

Answer : B

Explaination

FormPanel widget represents a panel that wraps its contents in an HTML <FORM> element.

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