|
.Net Web Interview Questions and Answers
Which of the following operators has the highest
precedence?
* Pre Increment (++x)
* Shift bits left: <<
* Bitwise Or: |
* Post Increment (x++)
Shift bits left
The uniqueId that gets generated at the start of the
Session is stored in
* Client computer as a cookie
* Server machine
* Passed to and fro on each and every request and
response
* Both a and b are correct
Both a and b are correct
State True or False: C# supports multiple-inheritance
* True
* False
False
Bitwise AND operator in C# is
* &
* &&
* AND
* XAND
Answer1:
&&
Answer2:
&
Bitwise OR operator in C# is
* OR
* ||
* |
* XOR
Answer1:
||
Answer2:
|
What’s the .NET datatype that allows the retrieval of
data by a unique key?
* Primary
* Integer
* Unique Identifier
* HashTable
HashTable
The keyword ‘int’ maps to one of the following .NET
types
* System.Int16
* System.Int32
* System.Int64
* System.Int128
System.Int32
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
Answer1:
Creation of a dictionary
Answer2:
Creation of a non-zero based array
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
Answer1:
Session.Timeout = 1800
Answer2:
Session.Timeout = 30
The process that ASP.NET uses to keep track of Sessions
without cookies is
* Cookie Munging
* Cookie Monking
* Cookie Mocking
* Cookie Munching
Cookie munging
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()
Answer1:
Server.Redirect()
Answer2:
Server.Execute()
A structure in C# can be derived from one or more
* class
* interface
* both
* none
interface.
State True or False: Static method cannot be overridden
* True
* False
True
Page Numbers :
1
2
3
4
5
Have a Question ?
post your questions here. It
will be answered as soon as possible.
Check
Microsoft .Net Interview
Questions for more Microsoft .Net Interview Questions with answers
Check
Asp .Net Interview
Questions for more Asp .Net Interview Questions with answers
Check
.Net Database Interview
Questions for more .Net Database Interview Questions with answers
Check
.Net
Deployment Interview
Questions for more .Net Deployment Interview Questions with answers
|