Web Services and ASP.NET Fundamentals

Test your knowledge of web services including SOAP, REST, WSDL, and Axis, along with ASP.NET Web Forms development concepts including user controls, page lifecycle, and validation.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

What is the last stage of the Web forms lifecycle?

  1. Init
  2. PreRender
  3. InitComplete
  4. Page_unload
  5. LoadComplete
Question 2 Multiple Choice (Single Answer)

How does ASP.NET stores SessionID's default?

  1. In Cache
  2. In Cookies
  3. In A Global Variable
  4. In URL
Question 3 True/False

Do i need IIS to develop a Web application in ASP.NET 2.0?

  1. True
  2. False
Question 4 Multiple Choice (Single Answer)

What namespaces does the Web Page belong in the .NET Framework class hierarchy?

  1. System.Web.Control
  2. System.Web.RootBuilder
  3. System.Web.UserControl
  4. System.Web.UI.Page
Question 5 Multiple Choice (Single Answer)

What Data types do the RangeValidator control Support?

  1. Interger,String and Date
  2. Interger,String and float
  3. Interger,String and bool
  4. Decimal,String and Date
Question 6 Multiple Choice (Single Answer)

What base class do all Web Forms Inherit from?

  1. Window class
  2. Web class
  3. Form class
  4. Page class
Question 7 Multiple Choice (Single Answer)

What DataType is returned in IsPostback property?

  1. bit
  2. boolean
  3. int
  4. string
Question 8 Multiple Choice (Single Answer)

What is the extension of a web user control file?

  1. .Asmx
  2. .Ascx
  3. .Aspx
  4. .Aucx
Question 9 Multiple Choice (Single Answer)

How do you register a user control?

  1. Add Tag prefix, Tag name
  2. Add Source, Tag prefix
  3. Add Src, Tagprefix, Tagname
  4. None of these
Question 10 Multiple Choice (Single Answer)

What is WSDL

  1. Its a protocol for calling services
  2. Its a registry for discovering services
  3. Its an xml file for defining the methods that can be called over the web.
  4. None of the above
Question 11 Multiple Choice (Single Answer)

How many number of parts are there in a SOAP document ?

  1. 3
  2. 4
  3. 5
  4. 6
Question 12 True/False

A Web service is a function/method exposed on the web

  1. True
  2. False
Question 13 True/False

It doesn't matter for the client, the technology in which the web service has been implemented

  1. True
  2. False
Question 14 Multiple Choice (Multiple Answers)

A web service is called over which of the following protocols, please select the correct options

  1. SOAP
  2. Http
  3. RMI-IIOP
  4. RPC
Question 15 Multiple Choice (Multiple Answers)

What are advantages of writing web services as compared to other native ways like EJB, COM/DCOM and CORBA.

  1. Open Standard
  2. Secure
  3. Text Based Response
  4. All of Them
Question 16 True/False

REST webservices don't require any wrapper around Http to communicate, the way SOAP based web services do ?

  1. True
  2. False
Question 17 Multiple Choice (Multiple Answers)

What is Axis ?

  1. A Web service
  2. A tool to generate Web services from java classes.
  3. A tool to generate web service stubs.
  4. All of the above.
Question 18 True/False

Axis 2 can be used to generate both SOAP and REST web services

  1. True
  2. False
Question 19 Multiple Choice (Single Answer)

How many different types of parsers are available to parse XMLs ?

  1. 2
  2. 3
  3. 4
  4. None of the above
Question 20 True/False

SAX is an event based parser

  1. True
  2. False