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

GWT stands for Google Web Toolkit.

Q 2 - Which method of a entry-point class is called when GWT application starts?

A - main()

B - onModuleLoad()

C - process()

D - execute()

Answer : B

Explaination

onModuleLoad() function gets called and acts similar to main method of a java application.

Q 3 - Do GWT compiler creates default Id attribute for its Widget by default?

A - true

B - false

Answer : B

Explaination

No! By default, neither the browser nor GWT creates default id attributes for widgets.

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 standard push button?

A - Button

B - PushButton

C - ToggleButton

D - RadioButton

Answer : A

Explaination

Button widget represents a standard push button.

Q 6 - Which of the following gwt widget represents a view of a tree?

A - Tree

B - MenuBar

C - CellTree

D - CellList

Answer : C

Explaination

CellTree widget represents a view of a tree. This widget will only work in standards mode, which requires that the HTML page in which it is run have an explicit <!DOCTYPE> declaration.

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 GWT widget represents a panel that can pop up over other widgets?

A - Composite

B - FormPanel

C - PopupPanel

D - DialogBox

Answer : C

Explaination

PopupPanel widget represents a panel that can pop up over other widgets. It overlays the browser's client area (and any previously-created popups).

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