1:   Which is the fastest session mode in ASP.NET?
Options:
  1. InProc
  2. StateServer
  3. SQLServer
  4. All of the above

Answer: Option 1

Explanation:

InProc is the fastest session mode in ASP.NET because session data is residing in the memory of the web server. InProc is also default session mode in ASP.NET Discuss this in Forums

How do you rate this queston?  Very Easy  Easy  Average  Above Average  Tough

2:   Default expiration time of a cookie is?
Options:
  1. 20 Minutes
  2. 30 Minutes
  3. 45 Minutes
  4. Never Expire

Answer: Option 2

Explanation:

30 Minutes is the default expiration time of a cookie. That means any created cookie whose expiration time is not set will expire in 30 minutes from the time cookie is created. Discuss this in Forums

How do you rate this queston?  Very Easy  Easy  Average  Above Average  Tough

3:   How many types of session states are available in ASP.Net
Options:
  1. One Type
  2. Two Types
  3. Three types
  4. Four Types

Answer: Option 3

Explanation:

There are three types of session are available in asp.net InProc Mode StateServer Mode SQLServer Mode Discuss this in Forums

How do you rate this queston?  Very Easy  Easy  Average  Above Average  Tough

4:   Which is the base class for all ASP.NET Web server controls?
Options:
  1. System.Ul.Control
  2. System.Ul
  3. System
  4. System.Web.Ul.Control

Answer: Option 4

Explanation:

System.Web.Ul.Control is the base class for all the web server control like ASP.NET TextBox, ASP.NET Button, Label control etc. Discuss this in Forums

How do you rate this queston?  Very Easy  Easy  Average  Above Average  Tough

5:   Which of the following asp.net method is incorrect?
Options:
  1. Response.Redirect()
  2. Server.Transfer()
  3. Server.Execute()
  4. window.open()

Answer: Option 4

Explanation:

Window.open() is JavaScript function which is used to open web page in a new web browser. Discuss this in Forums

How do you rate this queston?  Very Easy  Easy  Average  Above Average  Tough

6:   Which of the following is not part of the Page Event Life Cycle?
Options:
  1. PreInt
  2. SaveStateComplete
  3. LoadInit
  4. LoadComplete

Answer: Option 3

Explanation:

LoadInit events is not available in ASP.NET page event life cycle. Discuss this in Forums

How do you rate this queston?  Very Easy  Easy  Average  Above Average  Tough

7:   How many page life cycle event is present in asp.net 4.0?
Options:
  1. 7
  2. 10
  3. 4
  4. 12

Answer: Option 2

Explanation:

There are 10 Page life cycle events. Those are : PreInt, Init, InitComplete, PreLoad, Load, LoadComplete, PreRender, PreRenderComplete, SaveStateComplete, Unload Discuss this in Forums

How do you rate this queston?  Very Easy  Easy  Average  Above Average  Tough

More Programming Questions on :




Download StudyAlways app from google play





Nothing makes a person desire improvement like failure
-Chris Stocking