- 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 true 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 '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 rich text editor?
Answer : C
Explaination
RichTextArea widget represents a rich text editor.
Q 7 - Which of the following panel represents a flexible table that creates cells on demand?
Answer : C
Explaination
FlexTable widget represents a flexible table that creates cells on demand. It can be jagged (that is, each row can contain a different number of cells) and individual cells can be set to span multiple rows or columns.
Q 8 - Which of the following GWT widget represents a panel that can pop up over other widgets?
Answer : C
Explaination
PopupPanel widget represents a panel that can pop up over other widgets. It overlays the browser's client area (and any previously-created popups).
Q 9 - Which of the following is correct about GWT UiBinder?
A - The UIBinder provides a declarative way of defining User Interface.
B - The UIBinder seperates the programmic logic from UI.
Answer : D
Explaination
All of the above options are correct.
Q 10 - In which of the following internationalization technique host page contains the localized strings therefore, applications are not required to be recompiled when we add a new locale?
A - Static String Internationalization
Answer : B
Explaination
Dynamic String Internationalization is very flexible but slower than static string internationalization. Host page contains the localized strings therefore, applications are not required to be recompiled when we add a new locale. If GWT application is to be integrated with an existing server-side localization system, then this technique is to be used.