๐Ÿงช Google Web Toolkit (GWT) MCQ Quiz Hub

Google Web Toolkit multiple choice questions set 2

Choose a topic to test your knowledge and improve your Google Web Toolkit (GWT) skills

Which JAR has to be included in the WEB-INF/lib for deployment?





โœ… Correct Answer: 1

To use RequestBuilder, which module do we need to inherit:





โœ… Correct Answer: 1

Do activities contain widgets or UI code?





โœ… Correct Answer: 3

What feature us used to build XSRF protection?





โœ… Correct Answer: 4

A native DOM Event can be captured using which handler?





โœ… Correct Answer: 2

What W3C specification is used in creating accessible programs with standardized DOM properties?





โœ… Correct Answer: 3

To reduce compilation time, permutations can be used by configuring which property?





โœ… Correct Answer: 2

Which class is responsible for publishing click events?





โœ… Correct Answer: 2

When using an asynchronous interface, what must be created before making a remote call from the client?





โœ… Correct Answer: 3

A RemoteService is:





โœ… Correct Answer: 1

Which of these is NOT a default CSS theme in GWT?





โœ… Correct Answer: 4

For Internationalization, to create a collection of formatted strings that accept parameters, which should be extended?





โœ… Correct Answer: 1

A Label widget in GWT translates to which HTML asset?





โœ… Correct Answer: 1

An Event can be fired on the Event Bus by invoking:





โœ… Correct Answer: 3

XMLHTTPRequests Same-Origin policy can be overcome with:





โœ… Correct Answer: 4

What attribute depicts the behavior of a widget?





โœ… Correct Answer: 1

The GWT Event Bus is built on top of:





โœ… Correct Answer: 4

Where are XSRF tokens configured?





โœ… Correct Answer: 3

Which of the following is an example of an Aria or keyboard accessibility property?





โœ… Correct Answer: 1

To handle history events, we should implement:





โœ… Correct Answer: 4

Which of the following tools helps optimize a Google Web Toolkit application by allowing the application to start running before all of its code is installed?





โœ… Correct Answer: 2

What is the purpose of the global collector function used in Lightweight Metrics System?





โœ… Correct Answer: 4

What is the purpose of the global collector function used in Lightweight Metrics System?





โœ… Correct Answer: 4

The google.search.SearchControl class reference of the Google AJAX Search API is used to perform a search operation in Google Web Toolkit. Which of the following methods in this class reference activates the search control object when all searchers have been added into the search control?





โœ… Correct Answer: 2

In order to use the ClientBundle in a Google Web Toolkit application, which of the following inherits tags is required to be included in the gwt.xml file?





โœ… Correct Answer: 1

What is the response type of the Google AJAX Search API?





โœ… Correct Answer: 2

In order to use the ClientBundle in a Google Web Toolkit application, Which of the following jar files is required to use the Google Chart Tools API in a Google Web Toolkit project?





โœ… Correct Answer: 4

Which of the following methods is used to add a split point to your code?





โœ… Correct Answer: 1

The resources in a deployed Google Web Toolkit application are categorized as: 1)resources to never cache (.nocache.js), 2)resources to cache forever (.cache.html), 3)everything else (myapp.css) In relation to this, the ClientBundle interface moves entries from:





โœ… Correct Answer: 2

Which of the following browser rendering engines will operate if Google Web Toolkit sets doctype to HTML 4.01 Transitional?





โœ… Correct Answer: 1

In order to use the NumberFormat or DateTimeFormat classes in a Google Web Toolkit application, which of the following inherits lines should be inserted into the Google Web Toolkit application module XML file?





โœ… Correct Answer: 1

Which of the following command line utilities generates the files and folders needed to start a Google Web Toolkit project?





โœ… Correct Answer: 2

Which of the following is NOT a feature of Google Web Toolkit?





โœ… Correct Answer: 4

Which of the following components figures out which browser environment the Google Web Toolkit application is running in and determines the appropriate version of the application to load?





โœ… Correct Answer: 2

Which of the following Google Web Toolkit classes is used to make server calls in a Google Web Toolkit web application?





โœ… Correct Answer: 3

Using Eclipse IDE, a new Google Web Toolkit application named "MyApp" is created. Now the application directory contain some sub-directories by default. Which of the following sub-directories contains the production Java source of this web Application?





โœ… Correct Answer: 1

Which of the following methods is used to retrieve the serialization policy file in your Google Web Toolkit webapp application directory?





โœ… Correct Answer: 1

What is the data type of the argument used in the GWTTestCase.delayTestFinish method?





โœ… Correct Answer: 1

Which of the following ClientBundle resource types can retrieve the contents of a file at runtime using URLs?





โœ… Correct Answer: 2

While unit testing a Google Web Toolkit application in JUnit, the following line of code is added in JUnitShell: -Dgwt.args="-prod" Which of the following statements are correct with regard to the impact of adding this line of code?





โœ… Correct Answer: 1

Which of the following interfaces in "com.google.gwt.gadgets.client" indicates that a Gadget may need to be resized automatically by the container?





โœ… Correct Answer: 2

Which of the following tags is added to a gwt.xml file in order to add Google Visualization to the Google Web Toolkit module?





โœ… Correct Answer: 1

Which of the following statements regarding Root panel are correct?





โœ… Correct Answer: 1

Which of the following approaches for associating CSS files in a Google Web Toolkit application is INCORRECT?





โœ… Correct Answer: 3

Which of the following statements regarding Google Web Toolkit ImageResource is INCORRECT?





โœ… Correct Answer: 2

Which of the following Google Web Toolkit base classes combines the Google Web Toolkit test cases and reorders them so that all test cases that share a module are run back to back?





โœ… Correct Answer: 3

Which of the following options is INCORRECT in relation to the HTML tags and their corresponding CSS selectors in Google Web Toolkit?





โœ… Correct Answer: 3

Which of the following statements is INCORRECT with regard to Google Web Toolkit components?





โœ… Correct Answer: 3

Which of the following Google Maps API Web Services provides the facility to convert addresses into their corresponding values in latitudes and longitudes?





โœ… Correct Answer: 2

In a Google Web Toolkit widget, there is a form field whose tabIndex is 2. Suppose that you change the tabIndex to -1. Which of the following options are correct with regard to this tabIndex?





โœ… Correct Answer: 2

Which of the following HTML elements does the Label widget map to in Google Web Toolkit?





โœ… Correct Answer: 2

Which of the following statements holds true for the Navigation control present in the Google Maps API?





โœ… Correct Answer: 1

The Google Maps Javascript API has certain events which are classified as UI Events and MVC state change events. Which of the following options are correct with regard to this?





โœ… Correct Answer: 1

Google Web Toolkit deploys the mini-applications created, using the Google Gadgets API. Given below are some standard tags used in a Google gadget. Identify which tag contains information such as its title, description, author, and other optional features?





โœ… Correct Answer: 2

Which of the following are examples of Class Annotations?





โœ… Correct Answer: 1

Given below is a JSON object of a typical Lightweight Metrics System event. { moduleName : <Module name>, subSystem : <Subsystem name>, evtGroup : <Event group>, millis : <Current time in millis>, type : <Event type> } What does "subsystem" signify here?





โœ… Correct Answer: 2

In which of the following internationalization techniques do the applications look for localized strings in the module's host and do NOT need recompilation when a new locale is added?





โœ… Correct Answer: 2

The appcfg utility is used to deploy a Google Web Toolkit web application. Which of the following appcfg commands uploads files of an application to the application's root directory? Note: The root directory location has been denoted by <war-location>.





โœ… Correct Answer: 1

While deploying a Google Web Toolkit module on a servlet container using RPC, the servlet in the application, including Google Web Toolkit RPC servlets, will need to be defined in:





โœ… Correct Answer: 1

Suppose that in a Google Web Toolkit application there is a functionality called "Edit Account" which is not required initially when the application is being downloaded. Which of the following approaches should be adopted in order to optimize the initial download of the Google Web Toolkit application?





โœ… Correct Answer: 2

In order to use internationalized characters, which of the following charsets should be included in the meta tag of the host HTML file?





โœ… Correct Answer: 1

ClientBundle has the two resource types - TextResource and ExternalTextResource - which provide access to static text content. Which of the following options is correct?





โœ… Correct Answer: 1

In a GWT application, there is an ARIA role region that updates without having keyboard focus. Which of the following ARIA states specifies the priority of such dynamic content updates?





โœ… Correct Answer: 2

Which of the following webAppCreator parameters defines the directory location where Google Web Toolkit web application files will be generated?





โœ… Correct Answer: 1

Which of the following interfaces includes a method to look up strings by property name and also facilitates dynamic binding to constants by name at runtime?





โœ… Correct Answer: 2

In a Google Web Toolkit web application, the following argument is passed to the JUnitShell: -Dgwt.args="-help" What code is the first to run in a GWT application





โœ… Correct Answer: 1