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

Explaination

The default public path is the public subdirectory underneath where the Module XML File is stored.

Q 3 - What is the default style name of any GWT widget?

A - gwt-<classname>

B - <classname>-style

C - style-<classname>

D - css-<classname>

Answer : A

Explaination

By default, the class name for each component is gwt-<classname>. For example, the Button widget has a default style of gwt-Button and similar way TextBox widgest has a default style of gwt-TextBox.

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 file upload?

A - GWTFileUpload

B - FileUpload

C - RichTextArea

D - TextBox

Answer : B

Explaination

FileUpload widget represents a file upload.

Q 7 - Which of the following panel represents a flexible table that creates cells on demand?

A - HorizontalPanel

B - VerticalPanel

C - FlexTable

D - Grid

Answer : C

Explaination

FlexTable widget represents a flexible table that creates cells on demand. It can be jagged (that is, each row can contain a different number of cells) and individual cells can be set to span multiple rows or columns.

Q 8 - Which of the following widget is the base class for panels that contain only one widget?

A - Composite

B - SimplePanel

C - ScrollPanel

D - FocusPanel

Answer : B

Explaination

SimplePanel is the base class for panels that contain only one widget.

Q 10 - Which of the following logger logs to stdout and logged messages can only be seen in Development Mode in the DevMode window.

A - SystemLogHandler

B - DevelopmentModeLogHandler

C - ConsoleLogHandler

D - PopupLogHandler

Answer : A

Explaination

SystemLogHandler logs to stdout and logged messages can only be seen in Development Mode in the DevMode window.


gwt_questions_answers.htm

Advertisements