- 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 - Which of the following is correct about GWT?
B - GWT provides easy integration with Junit and Maven.
C - GWT provides Widgets library provides most of tasks required in an application.
Answer : D
Explaination
All of the above options are correct.
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 - What is the purpose of setStylePrimaryName() function of a GWT widget?
B - This method will add a secondary or dependent style name to the widget.
D - This method sets the object's primary style name and updates all dependent style names.
Answer : D
Explaination
setStylePrimaryName() method sets the object's primary style name and updates all dependent style names.
Q 5 - Which of the following gwt widget represents a stylish stateful button which allows the user to toggle between up and down states?
Answer : C
Explaination
ToggleButton widget represents a stylish stateful button which allows the user to toggle between up and down states.
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 lays all of its widgets out in a single vertical column?
Answer : D
Explaination
VerticalPanel widget represents a panel that lays all of its widgets out in a single vertical column.
Q 8 - Which of the following widget represents a type of widget that can wrap another widget, hiding the wrapped widget's methods?
Answer : A
Explaination
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 9 - Which of the following is correct about GWT RPC?
Answer : D
Explaination
All of the above options are correct.
Q 10 - Which of the following logger logs to stdout and logged messages can only be seen in Development Mode in the DevMode window.
Answer : A
Explaination
SystemLogHandler logs to stdout and logged messages can only be seen in Development Mode in the DevMode window.
To Continue Learning Please Login
Login with Google