Set - 7

Question 36 :

What can be achieved in IL which is not possible in C# ?
* Creation of an ArrayList
* Creation of a Dictionary
* Creation of a two dimensional array
* Creation of a non-zero based array

Answer :

Answer1:
Creation of a dictionary

Answer2:
Creation of a non-zero based array


Question 37 :

Which of the following is the correct code for setting a Session timeout of 30 minutes
* Session.Timeout = 108000
* Session.Timeout = 1800
* Session.Timeout = 300
* Session.Timeout = 30

Answer :

Answer1:
Session.Timeout = 1800

Answer2:
Session.Timeout = 30


Question 38 :

The process that ASP.NET uses to keep track of Sessions without cookies is
* Cookie Munging
* Cookie Monking
* Cookie Mocking
* Cookie Munching

Answer :

Cookie munging


Question 39 :

The method that transfers ASP.NET execution to another page, but returns to the original page when it is done is
* Server.Transfer()
* Server.Redirect()
* Server.Execute()
* Server.Return()

Answer :

Answer1:
Server.Redirect()

Answer2:
Server.Execute()


Question 40 :

A structure in C# can be derived from one or more
* class
* interface
* both
* none

Answer :

interface.