1. In a Google Web Toolkit web application, the following argument is passed to the JUnitShell:
-Dgwt.args="-help"
What will the output be?
Answer
Correct Answer:
It will throw an error.
Note: This Question is unanswered, help us to find answer for this one
2. 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?
Answer
Correct Answer:
ConstantsWithLookup
Note: This Question is unanswered, help us to find answer for this one
3. Which of the following webAppCreator parameters defines the directory location where Google Web Toolkit web application files will be generated?
Answer
Correct Answer:
-out
Note: This Question is unanswered, help us to find answer for this one
4. Which of the following statements are valid with regard to Google Web Toolkit?
Answer
Correct Answer:
It allows you to write AJAX applications in Java and then compile the source to highly optimized JavaScript code.
Note: This Question is unanswered, help us to find answer for this one
5. 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?
Answer
Correct Answer:
aria-live
Note: This Question is unanswered, help us to find answer for this one
6. ClientBundle has the two resource types - TextResource and ExternalTextResource - which provide access to static text content.
Which of the following options is correct?
Answer
Correct Answer:
TextResource interns the text into the compiled JavaScript, while ExternalTextResource bundles related text resources into a single file which is accessed asynchronously.
Note: This Question is unanswered, help us to find answer for this one
7. In order to use internationalized characters, which of the following charsets should be included in the meta tag of the host HTML file?
Answer
Correct Answer:
UTF-8
Note: This Question is unanswered, help us to find answer for this one
8. 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?
Answer
Correct Answer:
Set split points in the Google Web Toolkit application.
Note: This Question is unanswered, help us to find answer for this one
9. 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:
Answer
Correct Answer:
web.xml
Note: This Question is unanswered, help us to find answer for this one
10. 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>.
Note: This Question is unanswered, help us to find answer for this one
11. 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?
Note: This Question is unanswered, help us to find answer for this one
12. 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?
Answer
Correct Answer:
It refers to the specific component that is emitting these events in the Google Web Toolkit application.
Note: This Question is unanswered, help us to find answer for this one
13. In addition to individual events, the global collector method in the Lightweight Metrics system can also track and compare groups of events.
Answer
Correct Answer:
True
Note: This Question is unanswered, help us to find answer for this one
14. Which of the following are examples of Class Annotations?
Answer
Correct Answer:
@GeneratedFrom(String fileName)
Note: This Question is unanswered, help us to find answer for this one
15. 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?
Answer
Correct Answer:
ModulePrefs
Note: This Question is unanswered, help us to find answer for this one
16. 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?
Answer
Correct Answer:
'click' is a UI event.
Note: This Question is unanswered, help us to find answer for this one
17. Which of the following statements holds true for the Navigation control present in the Google Maps API?
Answer
Correct Answer:
It displays a large pan/zoom control to be used on Google Maps.
Note: This Question is unanswered, help us to find answer for this one
18. Which of the following HTML elements does the Label widget map to in Google Web Toolkit?
Answer
Correct Answer:
HTML div element
Note: This Question is unanswered, help us to find answer for this one
19. 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?
Answer
Correct Answer:
The form field will be removed from the tab sequence.
Note: This Question is unanswered, help us to find answer for this one
20. Which of the following Google Maps API Web Services provides the facility to convert addresses into their corresponding values in latitudes and longitudes?
Answer
Correct Answer:
Geocoding API
Note: This Question is unanswered, help us to find answer for this one
21. Which of the following statements is INCORRECT with regard to Google Web Toolkit components?
Answer
Correct Answer:
Google Web Toolkit Web UI supports the java.io package.
Note: This Question is unanswered, help us to find answer for this one
22. Which of the following options is INCORRECT in relation to the HTML tags and their corresponding CSS selectors in Google Web Toolkit?
Answer
Correct Answer:
button class="gwt-Button my-button" has button.gwt.my-Button as its CSS selector.
Note: This Question is unanswered, help us to find answer for this one
23. 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?
Answer
Correct Answer:
GWTTestSuite
Note: This Question is unanswered, help us to find answer for this one
24. Which of the following statements regarding Google Web Toolkit ImageResource is INCORRECT?
Answer
Correct Answer:
ImageResource results in multiple round trips for the composite images.
Note: This Question is unanswered, help us to find answer for this one
25. Which of the following approaches for associating CSS files in a Google Web Toolkit application is INCORRECT?
Answer
Correct Answer:
Using a DataResource contained within a ClientBundle.
Note: This Question is unanswered, help us to find answer for this one
26. Which of the following statements regarding Root panel are correct?
Answer
Correct Answer:
Root panel is the container for the dynamic elements of a Google Web Toolkit application.
Note: This Question is unanswered, help us to find answer for this one
27. Which of the following tags is added to a gwt.xml file in order to add Google Visualization to the Google Web Toolkit module?
Note: This Question is unanswered, help us to find answer for this one
28. Which of the following interfaces in "com.google.gwt.gadgets.client" indicates that a Gadget may need to be resized automatically by the container?
Answer
Correct Answer:
NeedsDynamicHeight
Note: This Question is unanswered, help us to find answer for this one
29. 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?
Answer
Correct Answer:
It will add an argument to the JUnit TestRunner class.
Note: This Question is unanswered, help us to find answer for this one
30. Which of the following ClientBundle resource types can retrieve the contents of a file at runtime using URLs?
Answer
Correct Answer:
DataResource
Note: This Question is unanswered, help us to find answer for this one
31. What is the data type of the argument used in the GWTTestCase.delayTestFinish method?
Answer
Correct Answer:
int
Note: This Question is unanswered, help us to find answer for this one
32. Which of the following methods is used to retrieve the serialization policy file in your Google Web Toolkit webapp application directory?
Answer
Correct Answer:
ServletContext.getResource()
Note: This Question is unanswered, help us to find answer for this one
33. 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?
Answer
Correct Answer:
src
Note: This Question is unanswered, help us to find answer for this one
34. Which of the following Google Web Toolkit classes is used to make server calls in a Google Web Toolkit web application?
Answer
Correct Answer:
com.google.gwt.user.client.rpc
Note: This Question is unanswered, help us to find answer for this one
35. 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?
Answer
Correct Answer:
The Bootstrap script
Note: This Question is unanswered, help us to find answer for this one
36. Which of the following is NOT a feature of Google Web Toolkit?
Answer
Correct Answer:
Common JavaScript errors being caught at run time
Note: This Question is unanswered, help us to find answer for this one
37. Which of the following command line utilities generates the files and folders needed to start a Google Web Toolkit project?
Answer
Correct Answer:
webAppCreator
Note: This Question is unanswered, help us to find answer for this one
38. 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?
Answer
Correct Answer:
inherits name="com.google.gwt.i18n.I18N"/
Note: This Question is unanswered, help us to find answer for this one
39. Which of the following browser rendering engines will operate if Google Web Toolkit sets doctype to HTML 4.01 Transitional?
Answer
Correct Answer:
Quirks Mode
Note: This Question is unanswered, help us to find answer for this one
40. 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:
Answer
Correct Answer:
the everything-else category into the cache-forever category.
Note: This Question is unanswered, help us to find answer for this one
41. Which of the following methods is used to add a split point to your code?
Answer
Correct Answer:
GWT.runAsync
Note: This Question is unanswered, help us to find answer for this one
42. Which of the following jar files is required to use the Google Chart Tools API in a Google Web Toolkit project?
Answer
Correct Answer:
gwt-user.jar
Note: This Question is unanswered, help us to find answer for this one
43. 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?
Note: This Question is unanswered, help us to find answer for this one
44. What is the response type of the Google AJAX Search API?
Answer
Correct Answer:
JSON
Note: This Question is unanswered, help us to find answer for this one
45. 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?
Answer
Correct Answer:
draw
Note: This Question is unanswered, help us to find answer for this one
46. What is the purpose of the global collector function used in Lightweight Metrics System?
Answer
Correct Answer:
It is used to evaluate and report events in the Google Web Toolkit application.
Note: This Question is unanswered, help us to find answer for this one
47. 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?
Answer
Correct Answer:
Google Web Toolkit's code splitter
Note: This Question is unanswered, help us to find answer for this one
48. To handle history events, we should implement:
Answer
Correct Answer:
ValueChangeHandler
Note: This Question is unanswered, help us to find answer for this one
49. Which of the following is an example of an Aria or keyboard accessibility property?
Answer
Correct Answer:
TreeItem
Note: This Question is unanswered, help us to find answer for this one
50. Where are XSRF tokens configured?
Answer
Correct Answer:
In the web.xml file.
Note: This Question is unanswered, help us to find answer for this one
51. The GWT Event Bus is built on top of:
Answer
Correct Answer:
HandlerManager
Note: This Question is unanswered, help us to find answer for this one
52. What attribute depicts the behavior of a widget?
Answer
Correct Answer:
Role.
Note: This Question is unanswered, help us to find answer for this one
53. XMLHTTPRequests Same-Origin policy can be overcome with:
Answer
Correct Answer:
JSONP
Note: This Question is unanswered, help us to find answer for this one
54. An Event can be fired on the Event Bus by invoking:
Answer
Correct Answer:
HandlerManager.fireEvent()
Note: This Question is unanswered, help us to find answer for this one
55. A Label widget in GWT translates to which HTML asset?
Answer
Correct Answer:
Depends on inline
Note: This Question is unanswered, help us to find answer for this one
56. For Internationalization, to create a collection of formatted strings that accept parameters, which should be extended?
Answer
Correct Answer:
Messages
Note: This Question is unanswered, help us to find answer for this one
57. Which of these is NOT a default CSS theme in GWT?
Answer
Correct Answer:
Default
Note: This Question is unanswered, help us to find answer for this one
58. A RemoteService is:
Answer
Correct Answer:
A marker interface
Note: This Question is unanswered, help us to find answer for this one
59. When using an asynchronous interface, what must be created before making a remote call from the client?
Answer
Correct Answer:
Another asynchronous interface.
Note: This Question is unanswered, help us to find answer for this one
60. Which class is responsible for publishing click events?
Answer
Correct Answer:
Button class.
Note: This Question is unanswered, help us to find answer for this one
61. To reduce compilation time, permutations can be used by configuring which property?
Answer
Correct Answer:
user.agent
Note: This Question is unanswered, help us to find answer for this one
62. What W3C specification is used in creating accessible programs with standardized DOM properties?
Answer
Correct Answer:
Aria.
Note: This Question is unanswered, help us to find answer for this one
63. A native DOM Event can be captured using which handler?
Answer
Correct Answer:
NativePreviewHandler()
Note: This Question is unanswered, help us to find answer for this one
64. What feature us used to build XSRF protection?
Answer
Correct Answer:
The RpcToken feature.
Note: This Question is unanswered, help us to find answer for this one
65. To use ClientBundle, which module do we need to inherit?