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 2 - Can you have multiple entry-point classes in a *.gwt.xml file?

A - true

B - false

Answer : A

Explanation

Yes! Any number of entry-point classes can be added.

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

A - true

B - false

Answer : B

Explanation

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

Q 5 - Which of the following gwt widget represents a list of choices to the user, either as a list box or as a drop-down list?

A - CheckBox

B - ListBox

C - SuggestBox

D - GWTListBox

Answer : B

Explanation

ListBox widget represents a list of choices to the user, either as a list box or as a drop-down list.

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

A - GWTFileUpload

B - FileUpload

C - RichTextArea

D - TextBox

Answer : B

Explanation

FileUpload widget represents a file upload.

Q 7 - Which of the following panel lays all of its widgets out in a single horizontal column?

A - Panel

B - FlowPanel

C - HorizontalPanel

D - VerticalPanel

Answer : C

Explanation

HorizontalPanel widget represents a panel that lays all of its widgets out in a single horizontal column.

Q 8 - Which of the following widget represents a type of widget that can wrap another widget, hiding the wrapped widget's methods?

A - Composite

B - SimplePanel

C - ScrollPanel

D - FocusPanel

Answer : A

Explanation

Composite widget represents a type of widget that can wrap another widget, hiding the wrapped widget's methods. When added to a panel, a composite behaves exactly as if the widget it wraps had been added.

Q 10 - Which of the following logger logs to the popup which resides in the upper left hand corner of application when this handler is enabled.

A - PopupLogHandler

B - DevelopmentModeLogHandler

C - ConsoleLogHandler

D - FirebugLogHandler

Answer : A

Explanation

PopupLogHandler logs to the popup which resides in the upper left hand corner of application when this handler is enabled.


gwt_questions_answers.htm

Advertisements