WiZiQ helps to teach and learn online - any subject you can think of!
Join for FREE

Microsoft.Net Framework, ASP.NET Interview online Test

ASP. NET uses ____________ to maintain state of controls across the consecutive round trips to the server.
View State
Session State
Cache
JavaScript
The CLR provides the _____________ that defines the data types that are used by all the .NET languages.
MSIL
CTS
BCL
DL
The __________ manages the execution of .NET programs by coordinating essential functions such as memory management, code execution, security and other services.
CTS
CLR
BCL
IL
Find any errors in the following Bank Account constructor: public int Bank Account() { balance = 0; }
Name
No parameters
Return type
No errors
In order for a class to implement an interface, it must
Implement all methods of the interface
Implement at least one method of the interface
A and B
None of the above
In C# Thread. Sleep (time) measures time in:
seconds
Milliseconds
Nanoseconds
All of the above
Class String Builder exists in which of the following namespaces:
System.Strings
System.Text
System.Chars
System
Which of the following is used to prompt users with messages and at the same time requesting user inputs?
Alert()
Display()
Prompt()
Confirm()
Which property would you use to redirect visitor to another page?
window.location.href
document.href
java.redirect.url
link.redirect.href
Which of the following is an XML-based service IDL that defines the service interface and its implementation characteristics?
UDDI
WSDL
SOAP
Path
For the XML parser to allow special characters in your XML document, which syntax is correct?


Sample Text
Sample Text
How do you explicitly kill a user session?
Session.Close( )
Session.Discard( )
Session.Abandon()
Session.End()
Session.Exit()
System.Web.UI.Page Class Implements which of the following interfaces
IHttpHandler
IHttpModule
IHttpApplication
What is the appropriate place to include JS file in web page for better page performance?
Head tag
Starting of body tag
At the end of document
What is the appropriate place to include CSS file in web page for better page performance?
Head tag
Starting of body tag
At the end of document
______ is the name of the Microsoft IIS process
aspnet_isapi.dll
aspnet_wp.exe
inetinfo.exe
Which of the following statements are true? 1)You need to explicitly open connection to execute DataReader 2)You need to explicitly open connection to fill DataSet
1
2
1 and 2
None
Which of following is not a valid method of Data Set?
GetChnages()
FetchChanges()
HasChanges()
AcceptChanges()
The Global.asax file is derived from the ________ class
HttpApplication
HttpModule
HttpHandler
HttpContext
________ checks that the value in controls should match the value in other control.
RangeValidator
RegularExpressionValidator
CompareValidator
Where is View State information stored?
IIS
Html Hidden Fields
Application Object
_______________directive informs the compiler of any custom server control added to the page.
@Page
@Control
@Using
@Register
You want to keep country list in application server memory and refresh it after every 30 minutes. What is appropriate object to perform this type of operation?
Application
Cache
Session
Cookies
Using statement in C# automatically calls ________ on the object allocated inside the using block
Close
Dispose
Finalize
What is web garden?
Multiple Worker processes on single server
Multiple Worker processes on multiple servers
What is the default connection pool size in Ado.Net?
5
20
100
Where does ASP.NET store SessionIDs by default?
In cache
In cookies
In a global variable
In URL strings or in a database
Which of these string definitions will prevent escaping on backslashes in C#?
string s = #"Test string";
string s = ."Test string";
string s = @"Test string";
string s = &"Test string";
/
Leve1,Level 2,Level 1 finished
Level,Leve2,Leve2 finished
Level 1,Level 2,Leve2 finished,Level1 finished
Error
When a user views a page containing a JavaScript program, which machine actually executes the script?
The User's machine running a Web browser
The Web server
A central machine within Netscape's corporate offices
None of the above
How to get value from the following textbox
window.getElementsByName("txt").value;
document.getElementById("txt").value;
window.getElementById("txt").value;
window["txt"].value;
Robert is travelling on his cycle and has calculated to reach point A at 2 P.M. if he travels at 10 kmph. He will reach there at 12 noon if he travels at 15 kmph. At what speed must he travel to reach A at 1 P.M.?
8 kmph
11 kmph
12 kmph
14 kmph
You need to obtain performance information about your Web Application. You should use which of the following?
Performance Counters
Data Readers
Web Performance Counters
Data Performance Counters
If a method is marked as protected internal who can access it?
Access is limited to the current assembly
Access is limited to the containing class or types derived from the containing class.
Access is limited to the containing type
Access is limited to the current assembly or types derived from the containing class.
To get metadata information about the types you can use mechanism called __________
Serialization
Reflection
Compilation
.NET DLLs are compiled into ___________
Machine Language
MSIL
C#
What are the methods and properties that web service supports? You can find that information in _________ file.
DISCO
WSDL
DISCOMAP
ASPX
_________ can be used as a container of other controls. This control is rendered as an HTML
element.
Label
Panel
Container
____________ cannot be instantiated on its own, it must be inherited.
Protected
Sealed
Abstract
Internal
Which is the recommended object to pass data in different tiers?
DataReader
DataSet
DataAdapter
Join the .NET Community 
Description:

Objective type Microsoft.Net Framework, ASP.NET interview questions for .Net web Developer or Software Engineer.

Comments
Would you like to comment?
Sign In to post a comment
Lokesh Kumar
By: Lokesh Kumar
214 days 15 hours 36 minutes ago

This was really helpful

Lokesh Kumar
By: lokesh
31 days 15 hours 19 minutes ago

gud one

samar rizvi
By: samar rizvi
214 days 8 hours 4 minutes ago

very good,not so easy

bluto
By: bluto
206 days 12 hours 54 minutes ago

Really Good! and Hard too!

vijay
By: vijay
205 days 7 hours 4 minutes ago

i have scored 85%..

anil
By: anil
198 days 8 hours 40 minutes ago

Hi its to gud ...i have scored 25 out of 40....nice collection.....

Schatak
By: Schatak
196 days 17 hours 56 minutes ago

i have scored 80%...this test is very usefull n helpfull too

usha
By: usha
186 days 3 hours 35 minutes ago

i got 35 out of 40. it is verly useful

ABHISHEK
By: ABHISHEK
174 days 12 hours 1 minutes ago

got 31/40 gud ques

kuljeet singh
By: kuljeet singh
159 days 21 hours 26 minutes ago

Its really a nice colletion of questions.

vyas
By: vyas
143 days 15 hours 10 minutes ago

good..

Rakesh Prasad
By: Rakesh Prasad
138 days 19 hours 24 minutes ago


i have scored 70%. it is too good

vikas Kumar
By: vikas Kumar
131 days 6 hours 34 minutes ago

It is really helpfull.

apanhale
By: apanhale
130 days 16 hours 28 minutes ago

Cool man. Keep it up!

Abhijit Shetty
By: Abhijit Shetty
126 days 16 hours 52 minutes ago

hi,useful

scored 90%

Vikash Mehta
By: Vikash Mehta
123 days 22 hours 30 minutes ago

i got 65%

Ron
By: Ron
122 days 22 hours 19 minutes ago

Question 27 has two answers. It is stored in one place on the client and in one place on the server.

Nitin Sharma
By: Nitin Sharma
122 days 22 hours 2 minutes ago

I got 28 correct, 11 incorrect and 1 unanswered...

Ram Kumar Krishnan
By: Ram Kumar Krishnan
120 days 17 hours 54 minutes ago

great!! really helpful for beginners and I have scored 31/40..

Harpreet
By: Harpreet
118 days 21 hours 4 minutes ago

Really gud

Harpreet
By: Harpreet
118 days 21 hours 4 minutes ago

Really gud

pawan
By: pawan
86 days 16 hours 54 minutes ago

Good questions.
Covered most of the area of web application.
Really helpful.

vijay
By: vijay
81 days 9 hours 27 minutes ago

thanx a lot.
I analyzed myself.
It was really helpful and useful

Bhagwan singh katewa
By: Bhagwan singh katewa
62 days 15 hours 59 minutes ago

hi it is a very good practice question

Bhagwan singh katewa
By: soujanya s
59 days 21 hours 41 minutes ago

It's good practice..i scored 33/40

MUDIT
By: MUDIT
56 days 2 hours 44 minutes ago

Very Good Questions . Please put more...

Firoz Raza
By: Firoz Raza
50 days 17 hours 1 minutes ago

this is very gud to check my knowledge ,i got 14 outof 33 this is my first test

Firoz Raza
By: Firoz Raza
50 days 17 hours 1 minutes ago

this is very gud to check my knowledge ,i got 14 outof 33 this is my first test

athinarayanan
By: athinarayanan
34 days 14 hours 58 minutes ago

It's very useful to me!!! Thank you

suman
By: suman
24 days 13 hours 39 minutes ago

this is really helpful,I got 31 out of 40.

Murali
By: Murali
20 days 19 hours 54 minutes ago

This test is very Helpful.. Thanks very much.

Get Free Study material and Classes, Join WiZiQ for Free!
Name: Email address: Password:
(6 or more characters)

(Enter the text you see in the picture above)

Mobile: +  

I have read and agree to WiZiQ's User Agreement and Privacy Policy
Gurjinder Singh Brar
IT, ASP.NET, Database, SEO, Management Consultant
User
2 Members Recommend
47 Followers
Follow this Member

Your Facebook Friends on WiZiQ

More Tests By Author

SQL Server Interview
17 Questions | 1277 Attempts

Copyrights © 2010 authorGEN. All rights reserved.