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 correctly describes the disadvantage of GWT?
Answer : C
Explaination
Both of the above options are correct.
Q 2 - What is the purpose of 'module' tag in *.gwt.xml file in GWT?
A - This provides name of the application.
C - This specifies the name of class which will start loading the GWT Application.
Answer : A
Explaination
'module' tag in *.gwt.xml file provides name of the application.
Q 3 - Why should a .nocache.js file never be cached?
B - browser should always download the .nocache.js file to get the latest gwt application.
Answer : C
Explaination
GWT compiler generates .nocache.js file every time with the same name whenever a GWT application is compiled. So browser should always download the .nocache.js file to get the latest gwt application. gwt.js code actually appends a unique timestamp at the end of the file name so that browser always treat it a new file and should never cache it.
Q 4 - Using which of the following way, you can attach a stylesheet to GWT application?
A - Using a <link> tag in the host HTML page.
Answer : C
Explaination
Using both of the above ways, a stylesheet can be attached to a GWT application.
Q 5 - Which of the following gwt widget represents a list of choices to the user, either as a list box or as a drop-down list?
Answer : B
Explaination
ListBox widget represents a list of choices to the user, either as a list box or as a drop-down list.
Q 6 - Which of the following gwt widget represents a standard GWT date picker?
Answer : C
Explaination
DatePicker widget represents a standard GWT date picker.
Q 7 - 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 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 correct about GWT RPC?
C - GWT RPC is asynchronous and client is never blocked during communication.
Answer : D
Explaination
All of the above options are correct.
Q 10 - Which of the following internationalization technique uses standard Java properties files to store translated strings and parameterized messages, and strongly-typed Java interfaces are created to retrieve their values?
A - Static String Internationalization
Answer : A
Explaination
Static String Internationalization is most prevalent and requires very little overhead at runtime; is a very efficient technique for translating both constant and parameterized strings;simplest to implement. Static string internationalization uses standard Java properties files to store translated strings and parameterized messages, and strongly-typed Java interfaces are created to retrieve their values.