GWT Online Quiz


Advertisements

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.

Questions and Answers

Q 1 - Which of the following is not a mandatory component of GWT application?

A - Module descriptors

B - Public resources

C - Server-side code

D - Client-side code

Answer : C

Explaination

Server-side code is a optional part of a GWT application.

Q 5 - Which of the following gwt widget represents a normal push button with custom styling?

A - Button

B - PushButton

C - ToggleButton

D - RadioButton

Answer : B

Explaination

PushButton widget represents a normal push button with custom styling.

Q 6 - Which of the following gwt widget represents a standard GWT date picker?

A - Date

B - DateTime

C - DatePicker

D - GWTDatePicker

Answer : C

Explaination

DatePicker widget represents a standard GWT date picker.

Q 7 - Which class is the base class of all layout panel classes?

A - Panel

B - FlowPanel

C - HorizontalPanel

D - VerticalPanel

Answer : A

Explaination

Panel is the abstract base class for all panels, which are widgets that can contain other widgets.

Q 8 - Which of the following widget represents a type of widget that can wrap another widget, hiding the wrapped widget's methods?

A - Composite

B - SimplePanel

C - ScrollPanel

D - FocusPanel

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.

Q 9 - Which of the following interface a java data object should implement so that it can be transferred over the wire in GWT RPC?

A - isSerializable

B - isTransferrable

C - isWirable

D - wirable

Answer : A

Explaination

A java data object should implement isSerializable interface so that it can be transferred over the wire in GWT RPC.

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

B - Dynamic String Internationalization

C - Localizable Interface

D - None of the above.

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.

gwt_questions_answers.htm
Advertisements