
- 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 Mock Test
This section presents you various set of Mock Tests related to GWT. You can download these sample mock tests at your local machine and solve offline at your convenience. Every mock test is supplied with a mock test key to let you verify the final score and grade yourself.

GWT Mock Test III
Q 1 - Which of the following gwt widget represents a multiline text box?
Answer : A
Explaination
TextArea widget represents a multiline text box.
Q 2 - Which of the following gwt widget represents a rich text editor?
Answer : C
Explaination
RichTextArea widget represents a rich text editor.
Q 3 - Which of the following gwt widget represents a file upload?
Answer : B
Explaination
FileUpload widget represents a file upload.
Q 4 - Which of the following gwt widget represents a hidden field?
Answer : C
Explaination
Hidden widget represents a hidden field.
Q 5 - Which of the following gwt widget represents a standard hierarchical tree?
Answer : A
Explaination
Tree widget represents a standard hierarchical tree. The tree contains a hierarchy of TreeItems that the user can open, close, and select.
Q 6 - Which of the following gwt widget represents a standard menu bar?
Answer : B
Explaination
MenuBar widget represents a standard menu bar widget. A menu bar can contain any number of menu items, each of which can either fire a Command or open a cascaded menu bar.
Q 7 - Which of the following gwt widget represents a standard GWT date picker?
Answer : C
Explaination
DatePicker widget represents a standard GWT date picker.
Q 8 - Which of the following gwt widget represents a view of a tree?
Answer : C
Explaination
CellTree widget represents a view of a tree. 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 9 - Which GWT widget represents a single column list of cells?
Answer : D
Explaination
CellList widget represents a single column list of cells.
Q 10 - Which GWT widget represents a tabular view that supports paging and columns?
Answer : A
Explaination
CellTable widget represents a tabular view that supports paging and columns.
Q 11 - 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 12 - Which of the following is true about layout panels in GWT?
A - Layout Panels can contain other widgets.
B - These panels controls the way widgets to be shown on User Interface.
Answer : D
Explaination
Layout Panels can contain other widgets. These panels controls the way widgets to be shown on User Interface. Every Panel widget inherits properties from Panel class which in turn inherits properties from Widget class and which in turn inherits properties from UIObject class.
Q 13 - Which class is the base class of all layout panel classes?
Answer : A
Explaination
Panel is the abstract base class for all panels, which are widgets that can contain other widgets.
Q 14 - Which of the following panel formats its child widgets using the default HTML layout behavior?
Answer : B
Explaination
FlowPanel widget represents a panel that formats its child widgets using the default HTML layout behavior.
Q 15 - Which of the following panel lays all of its widgets out in a single horizontal column?
Answer : C
Explaination
HorizontalPanel widget represents a panel that lays all of its widgets out in a single horizontal column.
Q 16 - Which of the following panel lays all of its widgets out in a single vertical column?
Answer : D
Explaination
VerticalPanel widget represents a panel that lays all of its widgets out in a single vertical column.
Q 17 - 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 18 - Which of the following panel arranges two widgets in a single vertical column and allows the user to interactively change the proportion of the hight dedicated to each of the two widgets?
Answer : B
Explaination
VerticalSplitPanel widget represents a A panel that arranges two widgets in a single vertical column and allows the user to interactively change the proportion of the height dedicated to each of the two widgets. Widgets contained within a VertialSplitPanel will be automatically decorated with scrollbars when necessary.
Q 19 - 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 20 - Which of the following panel represents a rectangular grid that can contain text, html, or a child Widget within its cells?
Answer : D
Explaination
Grid widget represents a rectangular grid that can contain text, html, or a child Widget within its cells. It must be resized explicitly to the desired number of rows and columns.
Q 21 - Which of the following panel displays all of its child widgets in a 'deck', where only one can be visible at a time?
Answer : A
Explaination
DeckPanel is a panel that displays all of its child widgets in a 'deck', where only one can be visible at a time. It is used by TabPanel.
Q 22 - Which of the following panel lays its child widgets out 'docked' at its outer edges, and allows its last widget to take up the remaining space in its center?
Answer : B
Explaination
DockPanel widget represents a panel that lays its child widgets out 'docked' at its outer edges, and allows its last widget to take up the remaining space in its center.
Q 23 - 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 24 - 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 25 - Which of the following widget represents a type of widget that can wrap another widget, hiding the wrapped widget's methods?
Answer : A
Explaination
Composite widget represents a type of widget that can wrap another widget, hiding the wrapped widget's methods. When added to a panel, a composite behaves exactly as if the widget it wraps had been added.
Answer Sheet
Question Number | Answer Key |
---|---|
1 | A |
2 | C |
3 | B |
4 | C |
5 | A |
6 | B |
7 | C |
8 | C |
9 | D |
10 | A |
11 | B |
12 | D |
13 | A |
14 | B |
15 | C |
16 | D |
17 | A |
18 | B |
19 | C |
20 | D |
21 | A |
22 | B |
23 | C |
24 | D |
25 | A |