WebServices/Webservices Mcq Set 5 Sample Test,Sample questions

Question:
 The setTimeout() belongs to which object?

1.Element

2.Window

3. Location

4.None of the mentioned


Question:
 What does validate() method of ActionForm returns?

1.ActionErrors

2. ActionForward

3.ActionMapping

4.ActionError


Question:
 What is the easy way add extra Functionality in CMS?

1.Using Plugins/Extensions

2.Downloading New Theme

3. By going to coding portion

4.Making your own theme


Question:
 What scripting language is jQuery written in?

1.VBScript

2.C++

3.JavaScript

4.C#


Question:
 Which is a language for finding information in an XML document?

1. Xpath

2. XSLT

3.Xlink

4.Xpointer


Question:
 Which of the following array represents an array with strings as index?

1. Numeric Array

2.Associative Array

3.Multidimentional Array

4.Normal Array


Question:
 XML Schemas consist of:

1.properties and methods.

2. elements and attributes.

3.structure and data.

4.tables and relationships.


Question:
---- is a specification for a distributed registry of web services.

1.WSDL

2.UDDI

3.SOAP

4.None of these


Question:
------- is simple and extensible.

1.WSDL

2.UDDI

3.SOAP

4.None of these


Question:
--------allows you to get around firewalls.

1.WSDL

2.UDDI

3.SOAP

4.None of these


Question:
--------is among the simplest and most foolproof web service approaches thatmakes iteasy for computers to call procedures on other computers.

1.XML-RPC

2.UDDI

3.SOAP

4.WSDL


Question:
--------is platform independent.

1. WSDL

2.UDDI

3.SOAP

4.None of these


Question:
--------uses WSDL to describe interfaces to web services.

1.WSDL

2.UDDI

3.SOAP

4.None of these


Question:
--------will be developed as a W3C standard.

1.WSDL

2.UDDI

3.SOAP

4.None of these


Question:
-------is an open industry initiative enabling businesses to discover eachother anddefine how they interact over the Internet

1.WSDL

2.UDDI

3.SOAP

4.None of these


Question:
-------is Language and Platform independent

1.WSDL

2. UDDI

3.SOAP

4.None of these


Question:
-------permits programs to make function or procedure calls across anetwork.

1.XML-RPC

2. UDDI

3. SOAP

4.WSDL


Question:
-------web services can be written inany programming language and executed in anyplatform

1.WSDL

2.UDDI

3.SOAP

4.None of these


Question:
------client specifies a procedure name and parameters in the XMLrequest, and the server returns either a fault or a response in the XMLresponse.

1. XML-RPC

2.UDDI

3.SOAP

4.WSDL


Question:
------has no notion of objects and no mechanism for includinginformation that uses other XML vocabulary.

1.XML-RPC

2.UDDI

3.SOAP

4.WSDL


Question:
------is designed to communicate via Internet.

1.WSDL

2.UDDI

3. SOAP

4. None of these


Question:
------is platform independent, open framework

1.WSDL

2.UDDI

3. SOAP

4.None of these


Question:
------uses WSDL othermechanism to discover the service.

1. WSDL

2.UDDI

3. SOAP

4. None of these


Question:
-----is a format for sending messages.

1.WSDL

2.UDDI

3.SOAP

4.None of these


Question:
-----is an XML-based protocol for exchanging information betweencomputers

1. WSDL

2.UDDI

3.SOAP

4.None of these


Question:
-----is language independent.

1.WSDL

2.UDDI

3. SOAP

4.None of these


Question:
-----uses a small XML vocabulary to describe the nature of requestsand responses.

1. XML-RPC

2.UDDI

3.SOAP

4. WSDL


Question:
----can communicate via SOAP, CORBA, and Java RMI Protocol.

1.WSDL

2.UDDI

3. SOAP

4.None of these


Question:
A PHP script should start with ___ and end with ___:

1.< php >

2.< ? php ?>

3.< ? ? >

4.< ?php ? >


Question:
AJAX made popular by

1.Microsoft

2. IBM

3.Google

4.SunMicrosystem


Question:
All variables in PHP start with which symbol?

1.$

2.&

3. !

4.*


Question:
AngularJS applications are a mix of . . . . .

1.HTML and PHP

2.HTML and CrossScript

3.HTML and AngularScript

4.HTML and JavaScript


Question:
Correct way to declare object in JS

1.var x = {firstName:”John”, lastName:”Doe”};

2.x = obj(firstName:”John”, lastName:”Doe”)

3.Both of above

4.None of above


Question:
Elements from the HTML namespace are displayed as they would in
………

1. DHTML

2.XML

3.HTML

4.DXML


Question:
How can we create instance of http module?

1.var http = require(“http”)

2.var http = new require(“http”)

3.var http = new http()

4.new mod()


Question:
How Node based web servers are different from traditional web servers?

1.Node based server process request much faster than traditional server.

2.Node based server uses a single threaded model and can services much larger number of requests than traditional server like Apache HTTP Server.

3. There is no much difference between the two.

4.data based server


Question:
Implict object config is instance of which class?

1. javax.servlet.ServletContext

2.javax.servlet.ServletConfig

3.javax.servlet.Context

4.javax.servlet.Application


Question:
PHP is an example of ___________ scripting language.

1.Server-side

2.Client-side

3. Browser-side

4.In-side


Question:
We'll show how to deploy the Java class to a SOAP server using the WASPdeployment tool

1. yes

2.no

3. can not say

4.None of these


Question:
What is the correct way to create a function in PHP?

1.function myFunction()

2.create myFunction()

3.new_function myFunction()

4.del myfunction()


Question:
What is the property textContent?

1.Sets the textual content of a node

2.Returns the textual content of a node

3.Both a and b

4.None of the mentioned


Question:
What is the work of the form control elements in the HTML DOM?

1.User Interface elements

2.User Interface elements

3.Debugging elements

4.Collecting elements


Question:
What makes Ajax unique?

1.It works as a stand-alone Web-development tool.

2.It works the same with all Web browsers.

3.It uses C++ as its programming language.

4.It makes data requests asynchronously.


Question:
What sever support AJAX ?

1.WWW

2.SMTP

3.HTTP

4. SNMP


Question:
What WSDL stands for?

1.Web Services Description Language

2.Web Services Direction Language

3. Wired Services Description Language

4.Web Services Dialect Language


Question:
Which attribute of JSP page directive defines the MIME type of the HTTP response

1. Import

2.Extends

3.contentType

4.info


Question:
Which JSP Action tags is used to include the content of another resource, like jsp, html or servlet?

1.jsp:plugin

2.jsp:include

3.jsp:forward

4. jsp:useBean


Question:
Which of the following code is used to get names of the attributes in
servlet

1.response.getAttributeNames()

2. request.getAttributeNames()

3.Header.getAttributeNames()

4.None of the above.


Question:
which of the following is not a JSP Action Tag

1.jsp:forward

2. jsp:include

3.jsp:useBean

4.Jsp:import


Question:
Which of the following is the Web application equivalent to
querySelectorAll()?

1.#()

2.&()

3.$()

4.None of the mentioned


Question:
Which of the following layer in Web Service Protocol Stack is responsible
for encoding messages in a common XML format so that messages can be  understood at either end?

1.Service Transport

2.XML Messaging

3.Service Description

4.Service Discovery


Question:
Which of the following method can be used to read parameters names in JSP?

1. request.getParameter()

2.response.getParameter()

3. request.getParameterNames()

4.response.getParameterNames()


Question:
Which of the following type of variables have only two possible values
either true or false?

1.Integers

2.Doubles

3. booleans

4.Strings


Question:
Which one of the following lines need to be uncommented or added in
the php.ini file so as to enable mysqli extension?

1.extension=php_mysqli.dll

2. extension=mysql.dll

3.extension=php_mysqli.dl

4.extension=mysqli.dl


Question:
Which relational database does WordPress use?

1.MySQL

2.Oracle

3.PostgresSQL

4.MS SQLServer Show Answer


Question:
Which statement is true?

1.All the statements are true

2. All XML elements must have a closing tag

3. All XML elements must be lower case

4.All XML documents must have a DTD


Question:
WordPress is used to create………

1.Website

2.Application

3.System Program

4. Operating System Show Answer


Question:
_____ JavaScript statements embedded in an HTML page can respond to user events such as mouse-clicks, form input, and page navigation.

1.Client-side

2.Server-side

3.Local

4.Native


More MCQS

  1. Webservices Mcq Set 1
  2. Webservices Mcq Set 2
  3. Webservices Mcq Set 3
  4. Webservices Mcq Set 4
  5. Webservices Mcq Set 5
  6. Web Services Multiple Choice Questions
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!