- 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?
A - GWT is extensible and custom widget can be created to cater to application needs.
Answer : C
Explaination
Both of the above options are correct.
Q 2 - What is the purpose of 'module' 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 : A
Explaination
'module' tag in *.gwt.xml file provides name of the application.
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 - What is the purpose of removeStyleName() 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 : C
Explaination
removeStyleName() method will remove given style from the widget and leaves any others associated with the widget.
Q 5 - Which of the following gwt widget represents a single line text box?
Answer : D
Explaination
TextBox widget represents a single line text box.
Q 6 - Which of the following gwt widget represents a hidden field?
Answer : C
Explaination
Hidden widget represents a hidden field.
Q 7 - Which of the following panel formats its child widgets using the default HTML layout behavior?
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 panel represents a panel that contains HTML, and which can attach child widgets to identified elements within that HTML?
Answer : C
Explaination
HTMLPanel represents a panel that contains HTML, and which can attach child widgets to identified elements within that HTML.
Q 9 - Which of the following interface a java data object should implement so that it can be transferred over the wire in GWT RPC?
Answer : A
Explaination
A java data object should implement isSerializable interface so that it can be transferred over the wire in GWT RPC.
Q 10 - Which of the following logger logs by calling method GWT.log. These messages can only be seen in Development Mode in the DevMode window.
Answer : B
Explaination
DevelopmentModeLogHandler logs by calling method GWT.log. These messages can only be seen in Development Mode in the DevMode window.