- GWT Tutorial
- GWT - Home
- GWT - Overview
- GWT - Environment Setup
- GWT - Applications
- GWT - Create Application
- GWT - Deploy Application
- GWT - Style with CSS
- GWT - Basic Widgets
- GWT - Form Widgets
- GWT - Complex widgets
- GWT - Layout Panels
- GWT - Event Handling
- GWT - Custom Widgets
- GWT - UIBinder
- GWT - RPC Communication
- GWT - JUnit Integration
- GWT - Debugging Application
- GWT - Internationalization
- GWT - History Class
- GWT - Bookmark Support
- GWT - Logging Framework
- GWT Useful Resources
- GWT - Questions and Answers
- GWT - Quick Guide
- GWT - Useful Resources
- GWT - Discussion
GWT Online Quiz
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.
Q 1 - What GWT stands for?
Answer : B
Explaination
GWT stands for Google Web Toolkit.
Q 2 - What is the purpose of 'entry-point' tag in *.gwt.xml file in GWT?
A - This provides name of the application.
C - This specifies the name of class which will start loading the GWT Application.
Answer : C
Explaination
'entry-point' tag in *.gwt.xml file specifies the name of class which will start loading the GWT Application.
Q 3 - What is the default style name of any GWT widget?
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 4 - Using which of the following way, you can attach a stylesheet to GWT application?
A - Using a CssResource contained within a ClientBundle.
B - Using an inline <ui:style> element in a UiBinder template.
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 displays an image at a given URL?
Answer : C
Explaination
Image widget displays an image at a given URL.
Q 6 - Which GWT widget represents a single column list of cells?
Answer : D
Explaination
CellList widget represents a single column list of cells.
Q 7 - Which of the following panel arranges two widgets in a single vertical column and allows the user to interactively change the proportion of the hight dedicated to each of the two widgets?
Answer : B
Explaination
VerticalSplitPanel widget represents a A panel that arranges two widgets in a single vertical column and allows the user to interactively change the proportion of the height dedicated to each of the two widgets. Widgets contained within a VertialSplitPanel will be automatically decorated with scrollbars when necessary.
Q 8 - Which of the following panel displays all of its child widgets in a 'deck', where only one can be visible at a time?
Answer : A
Explaination
DeckPanel is a panel that displays all of its child widgets in a 'deck', where only one can be visible at a time. It is used by TabPanel.
Q 9 - Which of the following is the way using which you can internationalize a GWT application?
A - Static String Internationalization
Answer : D
Explaination
All of the above options are correct.
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.
Answer : A
Explaination
PopupLogHandler logs to the popup which resides in the upper left hand corner of application when this handler is enabled.