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.

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

Explaination

*.cache.html contains the actual program of a GWT application.

Q 5 - Which of the following gwt widget represents a normal push button with custom styling?

A - Button

B - PushButton

C - ToggleButton

D - RadioButton

Answer : B

Explaination

PushButton widget represents a normal push button with custom styling.

Q 6 - Which of the following gwt widget represents a file upload?

A - GWTFileUpload

B - FileUpload

C - RichTextArea

D - TextBox

Answer : B

Explaination

FileUpload widget represents a file upload.

Answer : D

Explaination

Layout Panels can contain other widgets. These panels controls the way widgets to be shown on User Interface. Every Panel widget inherits properties from Panel class which in turn inherits properties from Widget class and which in turn inherits properties from UIObject class.

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

All of the above options are correct.

Q 10 - Which tag of *.gwt.xml is used to support internationalization in GWT application?

A - extend-property

B - property

C - value

D - None of the above.

Answer : A

Explaination

extend-property tag with attribute name set as locale and values as language specific locale, say de for german locale.

gwt_questions_answers.htm
Advertisements