๐Ÿงช 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

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




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




3. Do activities contain widgets or UI code?




4. What feature us used to build XSRF protection?




5. A native DOM Event can be captured using which handler?




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




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




8. Which class is responsible for publishing click events?




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




10. A RemoteService is:




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




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




13. A Label widget in GWT translates to which HTML asset?




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




15. XMLHTTPRequests Same-Origin policy can be overcome with:




16. What attribute depicts the behavior of a widget?




17. The GWT Event Bus is built on top of:




18. Where are XSRF tokens configured?




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




20. To handle history events, we should implement:




21. 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?




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




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




24. 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?




25. 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?




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




27. 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?




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




29. 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:




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




31. 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?




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




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




34. 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?




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




36. 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?




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




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




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




40. 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?




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




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




43. Which of the following statements regarding Root panel are correct?




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




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




46. 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?




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




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




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




50. 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?




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




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




53. 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?




54. 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?




55. Which of the following are examples of Class Annotations?




56. 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?




57. 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?




58. 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>.




59. 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:




60. 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?




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




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




63. 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?




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




65. 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?




66. 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