- 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 not a mandatory component of GWT application?
Answer : C
Explaination
Server-side code is a optional part of a GWT application.
Q 2 - What is the purpose of 'source' tag in *.gwt.xml file in GWT?
D - This automatically injects the external CSS file located at the location specified by src.
Answer : A
Explaination
'source' tag in *.gwt.xml file specifies the names of source folders which GWT compiler will search for source compilation.
Q 3 - Which of the following is true about Host Page in GWT?
Answer : C
Explaination
The most important public resource is host page which is used to invoke actual GWT application. A typical HTML host page for an application might not include any visible HTML body content at all but it is always expected to include GWT application via a <script.../> tag.
Q 4 - Which of the following is correct about UIObject class of GWT?
A - UIObject simply wraps a DOM element, and cannot receive events.
B - It provides direct child classes like Widget, MenuItem, MenuItemSeparator, TreeItem.
Answer : D
Explaination
All of the above options are correct.
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 GWT widget represents a browsable view of a tree in which only a single node per level may be open at one time?
Answer : B
Explaination
CellBrowser widget represents a browsable view of a tree in which only a single node per level may be open at one time. This widget will only work in standards mode, which requires that the HTML page in which it is run have an explicit <!DOCTYPE> declaration.
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 GWT widget represents a form of popup that has a caption area at the top and can be dragged by the user?
Answer : D
Explaination
DialogBox widget represents a form of popup that has a caption area at the top and can be dragged by the user. Unlike a PopupPanel, calls to PopupPanel.setWidth(String) and PopupPanel.setHeight(String) will set the width and height of the dialog box itself, even if a widget has not been added as yet.
Q 10 - Which of the following logger logs to the popup which resides in the upper left hand corner of application when this handler is enabled.
Answer : A
Explaination
PopupLogHandler logs to the popup which resides in the upper left hand corner of application when this handler is enabled.