- 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
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 module descriptors in GWT application?
B - A module descriptor file extension is *.gwt.xml.
C - * in *.gwt.xml is the name of the application and this file should reside in the project's root.
Answer : D
Explaination
All of the above options are correct.
Q 2 - What is the purpose of 'stylesheet' tag in *.gwt.xml file in GWT?
D - This automatically injects the external CSS file located at the location specified by src.
Answer : D
Explaination
'stylesheet' tag in *.gwt.xml file automatically injects the external CSS file located at the location specified by src.
Q 3 - Which of the following is true about bootstrap procedure of a GWT Application?
Answer : D
Explaination
All of the above options are correct.
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 acts as a suggestion box?
Answer : C
Explaination
SuggestBox widget acts as a suggestion box. SuggestBox widget represents a text box or text area which displays a pre-configured set of selections that match the user's input. Each SuggestBox is associated with a single SuggestOracle. The SuggestOracle is used to provide a set of selections given a specific query string.
Q 6 - Which of the following gwt widget represents a multiline text box?
Answer : A
Explaination
TextArea widget represents a multiline text box.
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 widget is the base class for panels that contain only one widget?
Answer : B
Explaination
SimplePanel is the base class for panels that contain only one widget.
Q 9 - Which of the following is the way using which you can internationalize a GWT application?
A - Static String Internationalization
Answer : D
Explaination
All of the above options are correct.
Q 10 - GWT client and server both serialize and deserialize data automatically so developers are not required to serialize/deserialize objects and data objects can travel over HTTP.
Answer : A
Explaination
GWT client and server both serialize and deserialize data automatically so developers are not required to serialize/deserialize objects and data objects can travel over HTTP.
To Continue Learning Please Login
Login with Google