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

Q 1 - Which of the following is not a mandatory component of GWT application?

A - Module descriptors

B - Public resources

C - Server-side code

D - Client-side code

Answer : C

Explaination

Server-side code is a optional part of a GWT application.

Answer : C

Explaination

'entry-point' tag in *.gwt.xml file specifies the name of class which will start loading the GWT Application.

Answer : C

Explaination

A module entry-point is any class that is assignable to EntryPoint and that can be constructed without parameters. When a module is loaded, every entry point class is instantiated and its EntryPoint.onModuleLoad() method gets called.

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 mutually-exclusive selection radio buttons?

A - CheckBox

B - RadioBox

C - GWTRadioBox

D - RadioButton

Answer : D

Explaination

RadioButton widget represents a mutually-exclusive selection radio buttons.

Q 6 - Which of the following gwt widget represents a rich text editor?

A - GWTRichTextArea

B - ListBox

C - RichTextArea

D - TextBox

Answer : C

Explaination

RichTextArea widget represents a rich text editor.

Q 7 - Which of the following panel represents a rectangular grid that can contain text, html, or a child Widget within its cells?

A - HorizontalPanel

B - VerticalPanel

C - FlexTable

D - Grid

Answer : D

Explaination

Grid widget represents a rectangular grid that can contain text, html, or a child Widget within its cells. It must be resized explicitly to the desired number of rows and columns.

Q 8 - Which of the following GWT widget represents a simple panel that wraps its contents in a scrollable area?

A - Composite

B - SimplePanel

C - ScrollPanel

D - FocusPanel

Answer : C

Explaination

ScrollPanel widget represents a simple panel that wraps its contents in a scrollable area.

Q 10 - Which of the following logger logs to the javascript console, which is used by Firebug Lite (for IE), Safari and Chrome.

A - SystemLogHandler

B - DevelopmentModeLogHandler

C - ConsoleLogHandler

D - PopupLogHandler

Answer : C

Explaination

ConsoleLogHandler logs to the javascript console, which is used by Firebug Lite (for IE), Safari and Chrome.


gwt_questions_answers.htm

Advertisements