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.
Questions
How do you write "Hello World" in an alert box?
- alertBox="Hello World"
- msgBox("Hello World")
- alertBox("Hello World")
- alert("Hello World")
How do you create a function?
- function myFunction()
- function:myFunction()
- function=myFunction()
- myFunction()
How can you add a comment in a JavaScript?
- 'This is a comment
- <!--This is a comment-->
- /This is a comment/
- //This is a comment
Which is used in SOAP headers?
- postal address information
- security information
- response information
- stock request information
Which are true about JAXP APIs? (Choose two)
- They are a part of J2SE1.4
- They are not part of J2SE1.4
- They provide developers with parser-implementation API to process XML
- They do not support validation of XML documents against schema
Which of the following is a function of UDDI registry?
- It is used to add headers to a request
- It defines the semantic behaviour of a web service
- It defines the interface that the web service provides
- It publishes information about a service to a registry
What does SOAP define?
- The overall structure of the XML message
- The conventions representing the remote procedure call in the XML message
- Both
- None
Canonical XML specification is used to
- Digitally encrypt an XML document
- Determine if two XML documents are logically equivalent
- Digitally decrypt an XML document
- Digitally sign an XML documents
Java API for XML based RPC (JAX-RPC)
- Can be used to generate server side and client side Java (Web Service) code from a WSDL
- Can be used to generate a WSDL from Java (Web Service) code
- None
- Both
Expand SOAP
- Super Object Assess Protocol
- Simple Object Access protocol
- Simple Object Assess protocol
- Syntax Object Access protocol
Which SAAJ 1.2 type is used to represent SOAP message header blocks?
- org.omg.dom.Document
- javax.xml.soap.SoapPart
- javax.xml.soap.SoapEntity
- javax.xml.soap.SoapHeaderElement
Which two are true about the WSDL 1.1 part element
- Global schema types must be referenced by the type attribute
- Global schema elements must be referenced by the type attribute
- Global schema types must be referenced by the element attribute
- Global schema elements must be referenced by the element attribute
For a web service client that is written in Java, which two can result in RemoteException?
- an out of memory error on the client
- a SOAP fault
- communication failure due to network error
- incorrect configuration of stubs
In ASP.NET in form page the object which contains the user name is?
- Page.User.Identity
- Page.User.IsInRole
- Page.User.Name
- None of the Above
What is the base class from which all Web forms inherit?
- Master Page
- Page Class
- Session Class
- None of the Above
Which of the following method is used to obtain details about information types of assembly?
- GetTypes
- GetType
- Both A) and B)
- None of the Above
The .NET Framework provides a runtime environment called
- RMT
- CLR
- RCT
- RC
In ASP.NET the sessions can be dumped by using
- Session.Dump
- Session.Abandon
- Session.Exit
- None of the Above
Which of the following is TRUE about Windows Authentication in ASP.NET?
- Automatically determines role membership
- Role membership determined only by user programming
- ASP.NET does not support Windows Authentication
- None of the Above
Which of the following transfer execution directly to another page?
- Server.Transfer
- Response.Redirect
- Both A) and B)
- None of the Above