- 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 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 'public' tag in *.gwt.xml file in GWT?
D - This automatically injects the external CSS file located at the location specified by src.
Answer : B
Explaination
'public' tag in *.gwt.xml file specifies the place in your project where static resources referenced by your GWT module, such as CSS or images, are stored.
Q 3 - Which of the following is correct about entry-point class?
Answer : C
Explaination
A module entry-point is any class that is assignable to EntryPoint and that can be constructed without parameters. When a module is loaded, every entry point class is instantiated and its EntryPoint.onModuleLoad() method gets called.
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?
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 standard check box?
Answer : A
Explaination
CheckBox widget represents a standard check box. This class also serves as a base class for RadioButton.
Q 6 - Which of the following gwt widget represents a standard GWT date picker?
Answer : C
Explaination
DatePicker widget represents a standard GWT date picker.
Q 7 - Which of the following panel arranges two widgets in a single horizontal row and allows the user to interactively change the proportion of the width dedicated to each of the two widgets?
Answer : A
Explaination
HorizontalSplitPanel widget represents a panel that arranges two widgets in a single horizontal row and allows the user to interactively change the proportion of the width dedicated to each of the two widgets. Widgets contained within a HorizontalSplitPanel will be automatically decorated with scrollbars when necessary.
Q 8 - Which of the following GWT widget represents a simple panel that makes its contents focusable?
Answer : D
Explaination
FocusPanel widget represents a simple panel that makes its contents focusable, and adds the ability to catch mouse and keyboard events.
Q 9 - Which of the following is correct about GWT UiBinder?
A - The UiBinder is a framework designed to separate Functionality and View of User Interface.
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.