A Label widget in GWT translates to which HTML asset?
1.Depends on inline
2.span
3. Depends on the version
4.div
A native DOM Event can be captured using which handler?
1.NativeEventHandler()
2.NativePreviewHandler()
3.NativePreviewEvent()
4.NativeHandler()
A RemoteService is:
1.A marker interface
2.A service interface
3.A remote interface
4.A service class
An Event can be fired on the Event Bus by invoking:
1.EventBus.fireEvent()
2.HandlerManager.sendEvent()
3.HandlerManager.fireEvent()
4.GWT.sendEvent()
ClientBundle has the two resource types - TextResource and ExternalTextResource - which provide access to static text content. Which of the following options is correct?
1.TextResource interns the text into the compiled JavaScript, while ExternalTextResource bundles related text resources into a single file which is accessed asynchronously.
2.ExternalTextResource interns the text into the compiled JavaScript, while TextResource bundles related text resources into a single file which is accessed asynchronously.
3.TextResource reads the content of a file using URLs, while ExternalTextResource bundles related text resources into a single file which is accessed asynchronously.
4.None of the above
Do activities contain widgets or UI code?
1.They can contain widgets, but not UI.
2.Yes, only one or the other.
3.No.
4. Yes, but only two at a time.
For Internationalization, to create a collection of formatted strings that accept parameters, which should be extended?
1.Messages
2.ResourceBundle
3.MessageFormat
4.Properties
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?
1.It is the name of your Google Web Toolkit module.
2.It refers to the specific component that is emitting these events in the Google Web Toolkit application.
3.It is analogous to a grouping of related events that can be assumed to follow a serial order.
4.It indicates the actual method or step that was run and emitted the event.
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?
1.Module
2.ModulePrefs
3.Content type="html"
4.None of these
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
1.The class Extending EntryPoint registered in your gwt.xml file.
2.The method public static void Main(String[] args)✖
3.Both A and B
4.None
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?
1.The form field will be moved to the beginning of the tab sequence.
2.The form field will be removed from the tab sequence.
3.The form field is still allowed to receive focus programmatically.
4.The form field will be moved to the end of the tab sequence.
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?
1.aria-labelledby
2.aria-live
3.aria-activedescendant
4.aria-expanded
In order to use internationalized characters, which of the following charsets should be included in the meta tag of the host HTML file?
1.UTF-8
2.iso-8859-1
3. us-ascii iso8859_1
4.iso-8859-1;
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?
1.inherits name="com.google.gwt.resources.Resources" /
2.inherits name="com.google.gwt.core.client" /
3.nherits name="com.google.gwt.json.client" /
4.inherits name="com.google.gwt.junit.tools" /
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?
1.gwt-servlet.jar
2.appengine-api-1.0-sdk-1.3.4.jar
3.gwt-visualization.jar
4.gwt-user.jar
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?
1.inherits name="com.google.gwt.i18n.I18N"/
2.inherits name="com.google.gwt.resources.Resources" /
3.inherits name="com.google.gwt.core.client" /
4.inherits name="com.google.gwt.json.client" /
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?
1.Static String Internationalization
2.Dynamic String Internationalization
3.Localizable Interface
4.None of These
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?
1.Eliminate classes or packages related to "Edit Account" entirely.
2.Set split points in the Google Web Toolkit application.
3.Such optimization is not possible as the code is already complied into JavaScript.
4.None of these
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>.
1.appcfg.sh [options] update war-location
2.appcfg.sh [options] rollback war-location
3.appcfg.sh [options] update_queues war-location
4.appcfg.sh [options] update_indexes war-location
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?
1.'click' is a UI event.
2.'mousedown' is an MVC state change event.
3.'dblclick' is a UI event.
4.'zoom_changed' is an MVC state change event.
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?
1.addSearcher
2.draw
3.execute
4.setLinkTarget
The GWT Event Bus is built on top of:
1.EventManager
2.GWTEventManager
3.EventHandlerManager
4.HandlerManager
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:
1.the never-cache category Into the cache-forever category.
2.the everything-else category into the cache-forever category.
3.the everything-else category into the never-cache category.
4.None of These
To handle history events, we should implement:
1.HistoryChangeHandler
2.ValueChangeHandler
3.HistoryChangeHandler
4.ValueChangeHandler
To reduce compilation time, permutations can be used by configuring which property?
1.user.browser
2.user.agent
3.user.gwt
4.user.permutation
To use RequestBuilder, which module do we need to inherit:
1.com.google.gwt.http.HTTP
2.com.google.gwt.http.HTTPRequesBuilde
3.com.google.gwt.http.RequestBuilder
4.com.google.gwt.request.Builder
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?
1.src
2.war
3.test
4.settings
What attribute depicts the behavior of a widget?
1.Role.
2.Trim.
3.Action.
4.wAction.
What feature us used to build XSRF protection?
1.The XSRF build feature.
2.The Token feature.
3.The XToken feature.
4.The RpcToken feature.
What is the data type of the argument used in the GWTTestCase.delayTestFinish method?
1.int
2.string
3.binary
4.object
What is the purpose of the global collector function used in Lightweight Metrics System?
1.It tests the Google Web Toolkit code via the GWTTestCase class.
2.It speeds up the application's startup by allowing the application to start running before all of its code is installed.
3.It helps Google Web Toolkit programmers gain insight into what happens in the application during compilation.
4.It is used to evaluate and report events in the Google Web Toolkit application.
What is the purpose of the global collector function used in Lightweight Metrics System?
1.It tests the Google Web Toolkit code via the GWTTestCase class.
2.It speeds up the application's startup by allowing the application to start running before all of its code is installed.
3.It helps Google Web Toolkit programmers gain insight into what happens in the application during compilation.
4.It is used to evaluate and report events in the Google Web Toolkit application.
What is the response type of the Google AJAX Search API?
1. XML
2.JSON
3.HTML
4.Simple TEXT
What W3C specification is used in creating accessible programs with standardized DOM properties?
1.DOM
2.Area.
3.Aria.
4.PBX
When using an asynchronous interface, what must be created before making a remote call from the client?
1.A dynamic interface.
2.A static interface.
3.Another asynchronous interface.
4.A synchronous interface.
Where are XSRF tokens configured?
1.They are not configured.
2.In the conf.xml file.
3.In the web.xml file.
4.In the web.conf file.
Which class is responsible for publishing click events?
1.Mouse class.
2.Button class.
3.Tick class.
4.Click class.
Which JAR has to be included in the WEB-INF/lib for deployment?
1.gwt-servlet.jar
2.gwt-user.jar
3.both (a) and (b)
4.None of These
Which of the following approaches for associating CSS files in a Google Web Toolkit application is INCORRECT?
1.Using a link tag in the host HTML page.
2.Using the stylesheet element in the module XML file
3.Using a DataResource contained within a ClientBundle.
4.Using an inline ui:style element in a UiBinder template.
Which of the following are examples of Class Annotations?
1.@GeneratedFrom(String fileName)
2.@Generate(String[] formatFQCN, String filename, String[] locales)
3.@Description(String desc)
4.@Meaning(String meaning)
Which of the following browser rendering engines will operate if Google Web Toolkit sets doctype to HTML 4.01 Transitional?
1.Quirks Mode
2.Standards Mode
3.Almost Standards Mode
4. IE7 Mode
Which of the following ClientBundle resource types can retrieve the contents of a file at runtime using URLs?
1.ImageResource
2.DataResource
3.ExternalTextResource
4.GwtCreateResource
Which of the following command line utilities generates the files and folders needed to start a Google Web Toolkit project?
1.Apache Ant
2.webAppCreator
3.JUnit
4.None of These
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?
1.The host HTML page
2.The Bootstrap script
3.The Application Files
4.None of these
Which of the following Google Maps API Web Services provides the facility to convert addresses into their corresponding values in latitudes and longitudes?
1.Directions API
2.Geocoding API
3.Elevation API
4.Places API
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?
1.GWTTestCase
2.TestRunner
3.GWTTestSuite
4.JField
Which of the following Google Web Toolkit classes is used to make server calls in a Google Web Toolkit web application?
1.com.google.gwt.i18n.client.DateTimeFormat
2.com.google.gwt.i18n.client.NumberFormat
3.com.google.gwt.user.client.rpc
4.com.google.gwt.user.client.Timer
Which of the following HTML elements does the Label widget map to in Google Web Toolkit?
1.HTML label element
2.HTML div element
3.HTML textarea element
4.HTML map element
Which of the following interfaces in "com.google.gwt.gadgets.client" indicates that a Gadget may need to be resized automatically by the container?
1.NeedsAnalytics
2.NeedsDynamicHeight
3.NeedsIntrinsics
4.NeedsSetPrefs
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?
1.Constants
2.ConstantsWithLookup
3.Dictionary
4.Messages
Which of the following is an example of an Aria or keyboard accessibility property?
1.TreeItem
2.TabMenu
3.MenuTree
4.TreeBar
Which of the following is NOT a feature of Google Web Toolkit?
1.Dynamic and reusable UI components
2.Support for full-featured Java debugging
3.JUnit integration
4.Common JavaScript errors being caught at run time
Which of the following methods is used to add a split point to your code?
1.GWT.runAsync
2.GWT.getModuleName
3.GWTTestCase.delayTestFinish
4.RequestBuilder.setTimeoutMillis
Which of the following methods is used to retrieve the serialization policy file in your Google Web Toolkit webapp application directory?
1.ServletContext.getResource()
2.ServletContext.getContext()
3.ServletContext.getRequestDispatcher()
4.ServletContext.getServlet()
Which of the following options is INCORRECT in relation to the HTML tags and their corresponding CSS selectors in Google Web Toolkit?
1.button tag has button as its CSS selector.
2. button class="gwt-Button" has button.gwt-Button as its CSS selector.
3.button class="gwt-Button my-button" has button.gwt.my-Button as its CSS selector.
4.None of These
Which of the following statements holds true for the Navigation control present in the Google Maps API?
1.It displays a large pan/zoom control to be used on Google Maps.
2.It displays a map scale element.
3.It lets the user toggle between map types (such as ROADMAP and SATELLITE).
4.None of These
Which of the following statements is INCORRECT with regard to Google Web Toolkit components?
1.Google Web Toolkit Java-to-JavaScript Compiler translates the Java programming language to the JavaScript programming language.
2.Google Web Toolkit Development Mode allows the developers to run and execute Google Web Toolkit applications in development mode.
3.Google Web Toolkit Web UI supports the java.io package.
4.None of These
Which of the following statements regarding Google Web Toolkit ImageResource is INCORRECT?
1.Multiple ImageResources are declared in a single ClientBundle, which is a composition of many images into a single image
2.ImageResource results in multiple round trips for the composite images.
3.As the filename of the composite image is based on a hash of the file's contents, the filename will change only if the composite image is changed.
4.None of These
Which of the following statements regarding Root panel are correct?
1.Root panel is the container for the dynamic elements of a Google Web Toolkit application.
2.Root panel is at the top of any Google Web Toolkit user interface hierarchy.
3.By default the Root panel wraps the body element. A host page can contain only one Root panel.
4.By default the Root panel wraps the body element. A host page can contain only one Root panel.
Which of the following tags is added to a gwt.xml file in order to add Google Visualization to the Google Web Toolkit module?
1.inherits name='com.google.gwt.visualization.Visualization'/
2.inherits name="com.google.gwt.resources.Resources" /
3.nherits name="com.google.gwt.core.client" /
4.inherits name="com.google.visualization.*" /
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?
1.Speed Tracer
2.Google Web Toolkit's code splitter
3.Client Bundles
4.Lightweight Metrics
Which of the following webAppCreator parameters defines the directory location where Google Web Toolkit web application files will be generated?
1.-out
2.-junit
3.moduleName
4.None of These
Which of these is NOT a default CSS theme in GWT?
1.Chrome
2.Standard
3.Clean
4.Default
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:
1.web.xml
2.build.xml
3.appengine-web.xml
4.module-name.gwt.xml
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?
1.It will add an argument to the JUnit TestRunner class.
2.It will run your unit test in manual mode.
3.It will override the test run from development mode to production mode.
4.It will run your unit test on Remote systems.
XMLHTTPRequests Same-Origin policy can be overcome with:
1.JSON-SO
2.JSON-XSR
3.JSON
4.JSONP