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

Explaination

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

Q 4 - Which of the following gwt widget contains text, not interpreted as HTML using a <div>element, causing it to be displayed with block layout?

A - Label

B - HTML

C - Image

D - Anchor

Answer : A

Explaination

Label widget contains text, not interpreted as HTML using a <div>element, causing it to be displayed with block layout.

Q 5 - Which of the following gwt widget represents a stylish stateful button which allows the user to toggle between up and down states?

A - Button

B - PushButton

C - ToggleButton

D - RadioButton

Answer : C

Explaination

ToggleButton widget represents a stylish stateful button which allows the user to toggle between up and down states.

Q 6 - Which of the following gwt widget represents a multiline text box?

A - TextArea

B - GWTTextArea

C - SuggestBox

D - TextBox

Answer : A

Explaination

TextArea widget represents a multiline text box.

Q 7 - Which of the following panel formats its child widgets using the default HTML layout behavior?

A - Panel

B - FlowPanel

C - HorizontalPanel

D - VerticalPanel

Answer : B

Explaination

FlowPanel widget represents a panel that formats its child widgets using the default HTML layout behavior.

Q 8 - Which of the following panel represents a panel that represents a tabbed set of pages, each of which contains another widget?

A - DeckPanel

B - DockPanel

C - HTMLPanel

D - TabPanel

Answer : D

Explaination

TabPanel widget represents a panel that represents a tabbed set of pages, each of which contains another widget. Its child widgets are shown as the user selects the various tabs associated with them. The tabs can contain arbitrary HTML.

Answer : D

Explaination

All of the above options are correct.

Q 10 - Which of the following internationalization technique uses standard Java properties files to store translated strings and parameterized messages, and strongly-typed Java interfaces are created to retrieve their values?

A - Static String Internationalization

B - Dynamic String Internationalization

C - Localizable Interface

D - None of the above.

Answer : A

Explaination

Static String Internationalization is most prevalent and requires very little overhead at runtime; is a very efficient technique for translating both constant and parameterized strings;simplest to implement. Static string internationalization uses standard Java properties files to store translated strings and parameterized messages, and strongly-typed Java interfaces are created to retrieve their values.

gwt_questions_answers.htm
Advertisements