Web Technologies: ASP.NET, Web Services, and JavaScript

Quiz covering server-side web development with ASP.NET, Java-based web services (SOAP, WSDL, JAX-RPC), XML processing, and client-side JavaScript programming fundamentals.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

How do you write "Hello World" in an alert box?

  1. alertBox="Hello World"
  2. msgBox("Hello World")
  3. alertBox("Hello World")
  4. alert("Hello World")
Question 2 Multiple Choice (Single Answer)

How do you create a function?

  1. function myFunction()
  2. function:myFunction()
  3. function=myFunction()
  4. myFunction()
Question 3 Multiple Choice (Single Answer)

How can you add a comment in a JavaScript?

  1. 'This is a comment
  2. <!--This is a comment-->
  3. /This is a comment/
  4. //This is a comment
Question 4 Multiple Choice (Multiple Answers)

Which is used in SOAP headers?

  1. postal address information
  2. security information
  3. response information
  4. stock request information
Question 5 Multiple Choice (Multiple Answers)

Which are true about JAXP APIs? (Choose two)

  1. They are a part of J2SE1.4
  2. They are not part of J2SE1.4
  3. They provide developers with parser-implementation API to process XML
  4. They do not support validation of XML documents against schema
Question 6 Multiple Choice (Single Answer)

Which of the following is a function of UDDI registry?

  1. It is used to add headers to a request
  2. It defines the semantic behaviour of a web service
  3. It defines the interface that the web service provides
  4. It publishes information about a service to a registry
Question 7 Multiple Choice (Multiple Answers)

What does SOAP define?

  1. The overall structure of the XML message
  2. The conventions representing the remote procedure call in the XML message
  3. Both
  4. None
Question 8 Multiple Choice (Multiple Answers)

Canonical XML specification is used to

  1. Digitally encrypt an XML document
  2. Determine if two XML documents are logically equivalent
  3. Digitally decrypt an XML document
  4. Digitally sign an XML documents
Question 9 Multiple Choice (Multiple Answers)

Java API for XML based RPC (JAX-RPC)

  1. Can be used to generate server side and client side Java (Web Service) code from a WSDL
  2. Can be used to generate a WSDL from Java (Web Service) code
  3. None
  4. Both
Question 10 Multiple Choice (Multiple Answers)

Expand SOAP

  1. Super Object Assess Protocol
  2. Simple Object Access protocol
  3. Simple Object Assess protocol
  4. Syntax Object Access protocol
Question 11 Multiple Choice (Multiple Answers)

Which SAAJ 1.2 type is used to represent SOAP message header blocks?

  1. org.omg.dom.Document
  2. javax.xml.soap.SoapPart
  3. javax.xml.soap.SoapEntity
  4. javax.xml.soap.SoapHeaderElement
Question 12 Multiple Choice (Multiple Answers)

Which two are true about the WSDL 1.1 part element

  1. Global schema types must be referenced by the type attribute
  2. Global schema elements must be referenced by the type attribute
  3. Global schema types must be referenced by the element attribute
  4. Global schema elements must be referenced by the element attribute
Question 13 Multiple Choice (Multiple Answers)

For a web service client that is written in Java, which two can result in RemoteException?

  1. an out of memory error on the client
  2. a SOAP fault
  3. communication failure due to network error
  4. incorrect configuration of stubs
Question 14 Multiple Choice (Single Answer)

In ASP.NET in form page the object which contains the user name is?

  1. Page.User.Identity
  2. Page.User.IsInRole
  3. Page.User.Name
  4. None of the Above
Question 15 Multiple Choice (Single Answer)

What is the base class from which all Web forms inherit?

  1. Master Page
  2. Page Class
  3. Session Class
  4. None of the Above
Question 16 Multiple Choice (Single Answer)

Which of the following method is used to obtain details about information types of assembly?

  1. GetTypes
  2. GetType
  3. Both A) and B)
  4. None of the Above
Question 17 Multiple Choice (Single Answer)

The .NET Framework provides a runtime environment called

  1. RMT
  2. CLR
  3. RCT
  4. RC
Question 18 Multiple Choice (Single Answer)

In ASP.NET the sessions can be dumped by using

  1. Session.Dump
  2. Session.Abandon
  3. Session.Exit
  4. None of the Above
Question 19 Multiple Choice (Single Answer)

Which of the following is TRUE about Windows Authentication in ASP.NET?

  1. Automatically determines role membership
  2. Role membership determined only by user programming
  3. ASP.NET does not support Windows Authentication
  4. None of the Above
Question 20 Multiple Choice (Single Answer)

Which of the following transfer execution directly to another page?

  1. Server.Transfer
  2. Response.Redirect
  3. Both A) and B)
  4. None of the Above