ASP.NET Fundamentals

Covers core ASP.NET concepts including custom controls, state management, configuration files, and the event-driven processing model.

13 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Custom Controls are derived from which of the classes

  1. System.Web.UI.Webcontrol
  2. System.Web.UI.Customcontrol
  3. System.Web.UI.Customcontrols.Webcontrol
Question 2 Multiple Choice (Single Answer)

How ASP.Net Different from classic ASP?

  1. Scripting is separated from the HTML, Code is interpreted seperately
  2. Scripting is separated from the HTML, Code is compiled as a DLL, the DLLs can be executed on server
  3. Code is separated from the HTML and interpreted Code is interpreted separately
Question 3 Multiple Choice (Single Answer)

What's the difference between Response.Write() andResponse.Output.Write()?

  1. Response.Output.Write() allows you to flush output
  2. Response.Output.Write() allows you to buffer output
  3. Response.Output.Write() allows you to write formatted output
  4. Response.Output.Write() allows you to stream output
Question 4 Multiple Choice (Single Answer)

Why is Global.asax is used?

  1. Implement application and session level events
  2. Declare Global variables
  3. No use
Question 5 Multiple Choice (Single Answer)

There can be more than 1 machine.config file in a system

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

What is the extension of a web user control file?

  1. .Asmx
  2. .Ascx
  3. .Aspx
Question 7 Multiple Choice (Single Answer)

Which of the following is true?

  1. IsPostBack is a method of System.UI.Web.Page class
  2. IsPostBack is a method of System.Web.UI.Page class
  3. IsPostBack is a readonly property of System.Web.UI.Page class
Question 8 Multiple Choice (Single Answer)

The number of forms that can be added to a aspx page is.

  1. 1
  2. 2
  3. 3
  4. More than 3
Question 9 Multiple Choice (Single Answer)

How do you manage states in asp.net application

  1. Session Objects
  2. Application Objects
  3. Viewstate
  4. All of the above
Question 10 Multiple Choice (Single Answer)

Which property of the session object is used to set the local identifier?

  1. SessionId
  2. LCID
  3. Item
  4. Key
Question 11 Multiple Choice (Single Answer)

Select the caching type supported by ASP.Net

  1. Output Caching
  2. DataCaching
  3. a and b
  4. none of the above
Question 12 Multiple Choice (Single Answer)

Where is the default Session data is stored in ASP.Net?

  1. InProcess
  2. StateServer
  3. Session Object
  4. al of the above
Question 13 Multiple Choice (Single Answer)

Select the type Processing model that asp.net simulate

  1. Event-driven
  2. Static
  3. Linear
  4. Topdown