GWT MCQ Questions & Answers
GWT MCQs : This section focuses on "Basics" of GWT. These Multiple Choice Questions (MCQ) should be practiced to improve the GWT skills required for various interviews (campus interview, walk-in interview, company interview), placements, entrance exams and other competitive examinations.
1. ______ is a development toolkit for building and optimizing complex browser-based applications.
A. EB2
B. GWT
C. IMS
D. JCL
View Answer
Ans : B
Explanation: GWT is a development toolkit for building and optimizing complex browser-based applications.
2. GWT is developed by?
A. IBM
B. Microsoft
C. Google
D. Meta
View Answer
Ans : C
Explanation: GWT is used by many products at Google, including Google AdWords and Orkut.
3. Which of the following are the features of GWT ?
A. GWT provides developers option to write client side application in JAVA
B. GWT compiles the code written in JAVA to JavaScript code
C. GWT is open source, completely free
D. All of the above
View Answer
Ans : D
Explanation: All of the abova are features of GWT.
4. Which of the following are disadvantages of GWT?
A. Not indexable
B. Not degradable
C. Not designer friendly
D. All of the above
View Answer
Ans : D
Explanation: All of the above are disadvantages of GWT.
5. GWT application consists of ___ important parts.
A. 2
B. 3
C. 4
D. 5
View Answer
Ans : C
Explanation: GWT application consists of following four important parts out of which last part is optional but first three parts are mandatory : Module descriptors, Public resources, Client-side code and Server-side code.
6. A _________ is the configuration file in the form of XML which is used to configure a GWT application.
A. public resources
B. module descriptor
C. client-side code
D. server-side code
View Answer
Ans : B
Explanation: A module descriptor is the configuration file in the form of XML which is used to configure a GWT application.
7. Which method will clear any existing styles and set the widget style to the new CSS class provided using style?
A. setStyleName()
B. addStyleName()
C. dropStyleName()
D. removeStyleName()
View Answer
Ans : A
Explanation: setStyleName() : This method will clear any existing styles and set the widget style to the new CSS class provided using style.
8. PopupLogHandler logs to the popup which resides in the upper left hand corner of application when this handler is enabled.
A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
View Answer
Ans : A
Explanation: True, PopupLogHandler logs to the popup which resides in the upper left hand corner of application when this handler is enabled.
9. Which widget represents a panel that wraps its contents in an HTML FORM element?
A. DivPanel
B. PopPanel
C. FormPanel
D. DialogPanel
View Answer
Ans : C
Explanation: FormPanel : This widget represents a panel that wraps its contents in an HTML
10. Internationalization is a way to show locale specific information on a website.
A. Yes
B. No
C. Can be yes or no
D. Can not say
View Answer
Ans : A
Explanation: Yes, Internationalization is a way to show locale specific information on a website.
Discussion