- 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 - Google Web Toolkit (GWT) is a development toolkit to create RICH Internet Application(RIA).
B - GWT provides developers option to write client side application in JAVA.
C - GWT compiles the code written in JAVA to JavaScript code.
Answer : D
Explaination
All 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 *.cache.html file in GWT?
A - It contains the actual program of a GWT application.
Answer : A
Explaination
*.cache.html contains the actual program of a GWT application.
Q 4 - Which of the following gwt widget contains text, not interpreted as HTML using a <div>element, causing it to be displayed with block layout?
Answer : A
Explaination
Label widget contains text, not interpreted as HTML using a <div>element, causing it to be displayed with block layout.
Q 5 - Which of the following gwt widget represents a simple <a> element?
Answer : D
Explaination
Anchor widget represents a simple <a> element.
Q 6 - 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 7 - 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 8 - 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 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 - Which tag of *.gwt.xml is used to support internationalization in GWT application?
Answer : A
Explaination
extend-property tag with attribute name set as locale and values as language specific locale, say de for german locale.
To Continue Learning Please Login
Login with Google