
- 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
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
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 - Application written in GWT is cross-browser compliant.
B - GWT automatically generates javascript code suitable for each browser.
C - GWT is open source and is licensed under the Apache License version 2.0.
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 - What is *.nocache.js file in GWT?
A - It contains the javascript code required to resolve deferred binding configuarations.
Answer : C
Explaination
*.nocache.js file contains the javascript code required to resolve deferred binding configuarations (for example, browser detection) and to use lookup table generated by GWT compiler to locate one of the .cache.html.
Q 4 - Which of the following class is the superclass of all user-interface classes?
Answer : A
Explaination
The class UIObject is the superclass for all user-interface objects.
Q 5 - Which of the following gwt widget represents a normal push button with custom styling?
Answer : B
Explaination
PushButton widget represents a normal push button with custom styling.
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 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 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 is correct about GWT event handling mechanism?
A - GWT provides a event handler model similar to Java AWT or SWING User Interface frameworks.
B - GWT provides a list of interfaces corresponding to various possible events.
Answer : D
Explaination
All of the above options are correct.
Q 10 - Which of the following internationalization technique uses standard Java properties files to store translated strings and parameterized messages, and strongly-typed Java interfaces are created to retrieve their values?
A - Static String Internationalization
Answer : A
Explaination
Static String Internationalization is most prevalent and requires very little overhead at runtime; is a very efficient technique for translating both constant and parameterized strings;simplest to implement. Static string internationalization uses standard Java properties files to store translated strings and parameterized messages, and strongly-typed Java interfaces are created to retrieve their values.