- 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 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 - Which method of a entry-point class is called when GWT application starts?
Answer : B
Explaination
onModuleLoad() function gets called and acts similar to main method of a java application.
Answer : B
Explaination
No! By default, neither the browser nor GWT creates default id attributes for widgets.
Q 4 - Which of the following is correct about UIObject class of GWT?
B - More complex styling behavior can be achieved by manipulating an object's secondary style names.
Answer : C
Explaination
Both 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 hidden field?
Answer : C
Explaination
Hidden widget represents a hidden field.
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 panel represents a panel that represents a tabbed set of pages, each of which contains another widget?
Answer : D
Explaination
TabPanel widget represents a panel that represents a tabbed set of pages, each of which contains another widget. Its child widgets are shown as the user selects the various tabs associated with them. The tabs can contain arbitrary HTML.
Q 9 - Which of the following is correct about GWT UiBinder?
A - The UiBinder is a framework designed to separate Functionality and View of User Interface.
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