.Net Web Development Interview Questions
Which of the following languages is NOT included in the default .NET Framework installation? C#
VB.NET
JScript.NET
VBScript.NET
What are the different types of serialization supported in .NET Framework
XmlSerializer
SoapFormatter
XPathNavigator
HttpFormatter
The CLR uses which format for assembly version numbers
Major:Minor:Revision:Build
Major:Build:Minor:Revision
Major:Revision:Minor:Build
Major:Minor:Build:Revision
What tool is used to manage the GAC?
GacMgr.exe
GacSvr32.exe
GacUtil.exe
RegSvr.exe
State True or False: A single .NET dll can contain unlimited classes
True
False
State True or False: ASP.NET can currently run only on Windows Platform
True
False
Which one of the following best describes “Type-Safe”
It ensures that the data type are safely handled
It ensures that types are not mismatched when they are called so uses a typecasting before referencing any data object
It ensures that an object only references memory locations that it’s allowed to, preventing data corruption and the accidental misuse of object types
All of the above
The number of objects in ASP.NET is
6
7
9
10
The code used to turn off buffering is
Buffering = false
OutputBuffer = false
BufferOutput = false
Buffer = Off
Can you have two applications on the same machine one which is using .NET Framework 1.1 and the other using 2.0 ?
Yes
No
Depends on System configuration
Which of the following DOT.NET tools manages certificates, certificate trust lists (CTLs), and certificate revocation lists (CRLs)?
sn.exe
certnet.exe
certmgr.exe
gacutil.exe
You need to generate a public/private key pair for using in creating a shared assembly. Given the above scenario, which .NET SDK utility should be used?
certmgr.exe
gacutil.exe
sn.exe
resgen.exe
The object that contains all the properties and methods for every ASP.NET page, that is built is
Page Object
HTTPPage Object
WebPage Object
System.Web.UI.Page
In C#, which character is used to indicate a verbatim string literal?
@
!
"
#
Which of the following operators has the highest precedence?
Pre Increment (++x)
Shift bits left: <<
Bitwise Or: |
Post Increment (x++)
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
State True or False: C# supports multiple-inheritance
True
False
Bitwise AND operator in C# is
&
&&
AND
XAND
Bitwise OR operator in C# is
OR
||
|
XOR
What’s the .NET datatype that allows the retrieval of data by a unique key?
Primary
Integer
Unique Identifier
HashTable
The keyword ‘int’ maps to one of the following .NET types
System.Int16
System.Int32
System.Int64
System.Int128
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
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
The process that ASP.NET uses to keep track of Sessions without cookies is
Cookie Munging
Cookie Monking
Cookie Mocking
Cookie Munching
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()
0 comments:
Post a Comment