Google Web Toolkit (GWT)/Google Web Toolkit multiple choice questions set 1 Sample Test,Sample questions

Question:
Home
Google Web Toolkit
MCQ
Human readable strings matched with tags at compile time are considered what?
Google Web Toolkit Quiz Google Web Toolkit

Human readable strings matched with tags at compile time are considered what?

1.Static strings.

2.Elastic strings.

3.Static tags.

4.Elastic tags.

Posted Date:-2022-10-07 08:16:01


Question:
A ClickHandler extends:

1.MouseEventHandler

2.MouseHandler

3.MouseButtonsHandler

4.EventHandler

Posted Date:-2022-10-07 08:50:59


Question:
A CSS can be applied to a Widget with which method?

1.setStyle()

2.setCSS()

3.setCSSStyleName()

4.setStyleName()

Posted Date:-2022-10-07 08:33:21


Question:
A custom widget in GWT should extend which class?

1.Widget

2.Composite

3.Panel

4.Div

Posted Date:-2022-10-07 08:21:51


Question:
A deferred binding implementation can be generated in GWT with:

1.GWT.createAndBind()

2.GWT.bind()

3.GWT.bindAndCreate()

4.GWT.create()

Posted Date:-2022-10-07 09:35:44


Question:
A EventHandler is a:

1.Data type

2.Class

3.Inner class

4.Interface

Posted Date:-2022-10-07 08:41:14


Question:
A GWT application can be configured through a file with the extension:

1..gwt

2..html

3..xml✖

4..gwt.xml

Posted Date:-2022-10-07 04:43:37


Question:
A JSNI method has to be declared as what?

1.native✔

2.js

3.javascript

4. jsni

Posted Date:-2022-10-07 05:01:40


Question:
A RemoteService path can be annotated as:

1.@RemoteServicePath

2.@RemoteServiceAsyncPath

3.@RemoteServiceRelativePath

4.@RemotePath

Posted Date:-2022-10-07 09:46:08


Question:
An AJAX call in GWT can be implemented with:

1.SyncCallback()

2.AsyncCallback()

3. XmlHttpRequest()

4.AJAXCallback()

Posted Date:-2022-10-07 08:19:20


Question:
As of version 2.6 of GWT what is the newest version of Java syntax supported by GWT?

1.Java 4

2.Java 7

3. Java 5

4.Java 6

Posted Date:-2022-10-07 04:56:33


Question:
Code splitting to minimize JS downloads can be achieved with:

1. GWT.runJS()

2.GWT.runSync()

3.GWT.split()

4.GWT.runAsync()

Posted Date:-2022-10-07 08:13:44


Question:
Generating many different version of JavaScript on a per browser basis is known as what?

1.JSNI Binding

2.Deferred Binding

3.UserAgent Binding

4.JS Binding

Posted Date:-2022-10-07 09:34:39


Question:
GWT supports the following browsers:

1.Internet Explorer 6, 7, 8, 9

2.Safari 5, 6

3.Firefox (all)

4.Google Chrome

Posted Date:-2022-10-07 08:39:32


Question:
GWT's logging framework uses the same syntax and behavior on the server side. What does this allow?

1.This allows you to write short-hand logs.

2.This allows you to share logging code between the server-side and the client-side.

3.This allows you to combine the logs into a single log.

4.This allows you to write logs to any file type.

Posted Date:-2022-10-07 04:29:31


Question:
History events in GWT are implemented as a:

1.Array

2.Queue

3.Stack

4.List

Posted Date:-2022-10-07 08:21:08


Question:
History management and view transition logic is the responsibility of a:

1.Presenter

2.AppController

3.ViewPresenter

4.ViewController

Posted Date:-2022-10-07 09:27:56


Question:
How are loggers organized?

1.In a map structure.

2.In a box and whisker plot.

3.In a tree structure.

4.In a chart.

Posted Date:-2022-10-07 08:17:44


Question:
How are parent/child relationships determined?

1.They are determined by the name of the parent.

2.They are determined by the name of the logger.

3.They are determined randomly.

4.They are determined by the name of the child.

Posted Date:-2022-10-07 09:36:54


Question:
How do you access javascript in GWT?

1.Javascript Eval method

2.JSNI

3.HTML Javascript injection

4.You cannot access Javascript

Posted Date:-2022-10-07 08:32:34


Question:
How do you use XSRF protection when using RequestBuilder and RequestCallback classes?

1.Set a custom value for a cookie.

2.Change cookies to a custom cookie.

3.Set a custom number of cookies.

4.Set a custom header to include the value of your cookie.

Posted Date:-2022-10-07 04:40:15


Question:
How does one correctly invoke the clear() method to clear their HTML5 data?

1.clearme()

2.HTML5clear()

3.myStorage.clear();

4.clear()HTML5

Posted Date:-2022-10-07 08:23:55


Question:
HTTP requests can be handled easily by:

1.HttpBuilder

2.HttpRequestBuilder

3.HttpInvoker

4.RequestBuilder

Posted Date:-2022-10-07 09:31:31


Question:
If a logger does not contain a dot, what does this mean?

1.It has the Root Logger as its parent.

2.It has flawed syntax.

3.It means nothing.

4.It is a child logger.

Posted Date:-2022-10-07 04:50:44


Question:
If a single class cannot be serialized, will its object types be serialized as well?

1.Only if its sub-class is serialized.

2.Only if its root is serialized.

3.Yes

4.No.

Posted Date:-2022-10-07 08:24:53


Question:
If an exception is launched in a AsyncCallback, which method is invoked?

1.onCallbackException()

2.onError()

3.onFailure()

4.onException()

Posted Date:-2022-10-07 08:31:26


Question:
In a Google Web Toolkit web application, the following argument is passed to the JUnitShell:

-Dgwt.args="-help"

What will the output be?

1.It will throw an error.

2.It will print the command help keywords in the console.

3.It will print help to the console.

4.It will run Google Web Toolkit in production mode.

Posted Date:-2022-10-07 03:44:39


Question:
Is it necessary to use GWT's history mechanism with MVP development?

1.No

2.Yes, and it must be used in conjunction with MVP framework.

3.Yes

4.Yes, because MVP framework is built upon it.

Posted Date:-2022-10-07 08:51:59


Question:
JSNI stands for:

1.JavaScript Native Interface

2.JavaScript Naming Interface

3.JavaScript Natural Interface

4.JavaScript National Interface

Posted Date:-2022-10-07 04:48:39


Question:
JSON objects can be handled as Overlay Types by subclassing which?

1.JavaScriptOverlayObject

2.JSONObject

3.JavaScriptObject

4.JSObject

Posted Date:-2022-10-07 09:37:54


Question:
Presenters and Views should be binded by:

1.Interface

2.Inheritance

3.Encapsulation

4.Class

Posted Date:-2022-10-07 08:27:19


Question:
Strictly speaking, GWT is a:

1.Compiler

2.Interpreter

3.Browser plug-in

4.JVM

Posted Date:-2022-10-07 05:07:42


Question:
The biggest difference between MVP Part1 and Part2 is:

1.UiViewer

2.Presenter

3.View

4.UiBinder

Posted Date:-2022-10-07 08:28:13


Question:
The core GWT defined in gwt.xml should inherit which module?

1.com.google.gwt.user.User

2.com.google.gwt.User

3.com.google.gwt.core.Core

4.com.google.gwt.user.Core

Posted Date:-2022-10-07 03:46:59


Question:
The EntryPoint interface has which method?

1.onModuleLoad()

2.onStart()

3.onLoad()

4.onInit()

Posted Date:-2022-10-07 04:47:19


Question:
The P in MVP stands for:

1.Programming

2.Process

3.Presentation

4.Presenter

Posted Date:-2022-10-07 08:45:33


Question:
The path for translatable code from Java to JS is:

1.shared

2.defined in gwt.xml

3.client and shared

4.client

Posted Date:-2022-10-07 04:37:44


Question:
The server-side of a AsyncCallback is a:

1.RemoteServiceServlet

2.HttpServlet

3.RemoteServlet

4.AsyncServiceServlet

Posted Date:-2022-10-07 04:55:16


Question:
The top level panel in GWT is?

1.HTMLPanel

2.RootPanel

3.DOMPanel

4.TopPanel

Posted Date:-2022-10-07 05:00:47


Question:
To listen to DOM events a Widget must invoke:

1.retreiveEvents()

2.getEvents()

3.listenToEvents()

4.sinkEvents()

Posted Date:-2022-10-07 09:32:53


Question:
What argument would you use to run a manual test within a solo browser?

1.-runStyle Manual:1

2.-runSoloSingle

3.Browser.1

4.Single-solo.

Posted Date:-2022-10-07 04:52:28


Question:
What class is used to unit test GWT code?

1.GTWtest

2.GWTTestCase

3.HTTPtest

4.Gtest

Posted Date:-2022-10-07 04:32:43


Question:
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 of These

Posted Date:-2022-10-07 03:45:55


Question:
What do you use to integrate GWT with a third-party Javascript library?

1.JavaScript Overlays.

2.The JavaScript Native Interface.

3.AJAX Command Center.

4.The JavaScript Console.

Posted Date:-2022-10-07 04:31:07


Question:
What does ActivityMapper do?

1.It maps activities.

2.It lists activities.

3.It tells you what activity is taking place.

4.It maps Places to corresponding Activities.

Posted Date:-2022-10-07 08:25:50


Question:
What does GWT use to stylize the visuals of their user interface?

1. DOM

2.CSS

3.PHP

4.HTML

Posted Date:-2022-10-07 05:05:22


Question:
What does the acronym GWT stand for?

1.Google Wrapper Toolset

2.GNU Web Toolkit

3.Google Web ToolKit

4.Google Webapp Tester

Posted Date:-2022-10-07 04:21:17


Question:
What feature is built into GWT 2.3 to prevent web attacks?

1.XSRF protection.

2.Web protection.

3.Secure Node 3.0

4.Web secure 2.0

Posted Date:-2022-10-07 08:22:54


Question:
What is a benefit of using HTML5 with GWT?

1.Better performance and larger data storage.

2.Data is compressed and encrypted.

3.More secure data transfer.

4.There is no benefit.

Posted Date:-2022-10-07 03:52:45


Question:
What is one way to prevent XSRF attacks in GWT?

1.Firewalls.

2.Cross-site scripting.

3.Session cookie duplication.

4.Virus scanning.

Posted Date:-2022-10-07 08:44:10


Question:
What is the default locale when not specified?

1.en.

2.jp.

3.esp.

4.uk.

Posted Date:-2022-10-07 04:27:19


Question:
What is the extension of a GWT bootstrap script?

1..js

2..gwt.js

3..cache.js

4..nocache.js

Posted Date:-2022-10-07 05:02:50


Question:
What language is GWT client side code written in.

1.Ruby

2.Python

3.Java

4.C++

Posted Date:-2022-10-07 04:35:58


Question:
What must be inherited before using HTTP types in your application?

1.PHP module.

2.GHB HTTP module.

3.GWT HTTP module

4. PDF module.

Posted Date:-2022-10-07 03:54:34


Question:
What servlet container is used for testing during development time?

1.Jetson.

2.Jetty.

3.Devlet.

4.Jetlet.

Posted Date:-2022-10-07 08:18:25


Question:
What two files must be edited before adding GWT logging?

1.The pdf file and the java file.

2.The ftp.php file and the .java file.

3.The php file and .java file.

4.The .gwt.xml file and the .java file.

Posted Date:-2022-10-07 04:25:15


Question:
What type of binding is a feature of the GWT compiler?

1.Deferred binding.

2.Dynamic binding.

3.Inferred binding.

4.Static binding.

Posted Date:-2022-10-07 08:36:30


Question:
What type of processing is taking place within the web server?

1.Internal processing.

2.Client-side processing.

3.Server-side processing.

4.External processing.

Posted Date:-2022-10-07 04:34:15


Question:
When does GWT perform its locale-related work?

1.At compile time.

2.At startup time.

3.At bind time.

4.At sandbox time.

Posted Date:-2022-10-07 04:59:39


Question:
When does gwtTearDown() run?

1.At the beginning of every test method.

2.When the test method has failed.

3.In the middle of every test method.

4.At the completion of every test method.

Posted Date:-2022-10-07 08:43:05


Question:
When the client is invoking the code, how is it referred to?

1.A call.

2.A reference.

3.A service.

4.A command.

Posted Date:-2022-10-07 09:39:09


Question:
When there is a dot between two loggers, what does this indicate?

1.The loggers are in error.

2.The loggers are siblings.

3.The loggers are in conflict

4.The loggers are not related.

Posted Date:-2022-10-07 08:49:26


Question:
When you want to test JavaScript, what test case wrapper would you use to launch a web browser to test it?

1.GWTTestCase

2.GcaseTest

3.GcaseTest

4.Gtest

Posted Date:-2022-10-07 04:23:11


Question:
Which is NOT a Panel widget in GWT:

1.HorizontalPanel

2.CanvasPanel

3.VerticalPanel

4.DecoratorPanel

Posted Date:-2022-10-07 04:57:21


Question:
Which Java package is NOT emulated by GWT?

1.java.lang.annotation

2.java.io

3.java.math

4.java.lang.reflect

Posted Date:-2022-10-07 09:29:46


Question:
Which JRE feature is not supported in GWT client side code?

1.Reflection

2.Java AutoBoxing

3.Java Math

4.Collections

Posted Date:-2022-10-07 08:42:12


Question:
Which library can be use for client-side dependency injection?

1.Spring

2.Guice

3.GWTIN

4.GIN

Posted Date:-2022-10-07 09:33:44


Question:
Which of the following does GWT not include

1.Compiler

2.Browser plugin

3.DOM Api

4.Java applet plugin

Posted Date:-2022-10-07 04:53:28


Question:
Which of the following is a correct JSNI method delaration?

1.def helloWorld={return "Hello World";}

2.public native String helloWorld() /*-{ return "Hello World"; }-*/;

3.public native String helloWorld() { return "Hello World"; };

4.function helloWorld(){return "Hello World";}

Posted Date:-2022-10-07 08:20:16


Question:
Which of the following is a recommended Java GUI designer for GWT?

1.Java GUI

2.GWT Designer

3. Java GWT

4.GWT GUI

Posted Date:-2022-10-07 04:49:50


Question:
Which of the following is not a HTML5 feature supported by GWT?

1.Client-side storage

2.Audio

3.PDF

4.Canvas

Posted Date:-2022-10-07 09:28:55


Question:
Which of the following is not a security weakness in GWT?

1.Forging requests

2.Leaking Data

3.SafeHTML guidelines.

4.Cross-site scripting.

Posted Date:-2022-10-07 08:53:00


Question:
Which of the following is one of the three classes used when programming delayed logic?

1.TimerCommand

2.IncrementalTime

3.DeferredCommand

4.Time

Posted Date:-2022-10-07 04:58:36


Question:
Which of these is not a class for JSON manipulation:

1.JSONArray

2.JSONString

3.JSONObject

4.JSONObject

Posted Date:-2022-10-07 04:54:16


Question:
Which of these is NOT a method in AsyncCallback?

1.onfailure()

2.onerror()

3.onsuccess()

4.(All of these)

Posted Date:-2022-10-07 04:51:43


More MCQS

  1. GWT MCQ Questions & Answers
  2. Google Web Toolkit multiple choice questions set 1
  3. Google Web Toolkit multiple choice questions set 2
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!