WizIQ helps you learn and teach 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
Lokesh Kumar
By: Lokesh Kumar
730 days 15 hours 31 minutes ago

This was really helpful

Lokesh Kumar
By: lokesh
547 days 15 hours 14 minutes ago

gud one

samar rizvi
By: samar rizvi
730 days 7 hours 59 minutes ago

very good,not so easy

bluto
By: bluto
722 days 12 hours 49 minutes ago

Really Good! and Hard too!

vijay
By: vijay
721 days 6 hours 59 minutes ago

i have scored 85%..

anil
By: anil
714 days 8 hours 34 minutes ago

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

Schatak
By: Schatak
712 days 17 hours 50 minutes ago

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

usha
By: usha
702 days 3 hours 30 minutes ago

i got 35 out of 40. it is verly useful

ABHISHEK
By: ABHISHEK
690 days 11 hours 55 minutes ago

got 31/40 gud ques

kuljeet singh
By: kuljeet singh
675 days 21 hours 21 minutes ago

Its really a nice colletion of questions.

vyas
By: vyas
659 days 15 hours 5 minutes ago

good..

Rakesh Prasad
By: Rakesh Prasad
654 days 19 hours 19 minutes ago


i have scored 70%. it is too good

vikas Kumar
By: vikas Kumar
647 days 5 hours 29 minutes ago

It is really helpfull.

apanhale
By: apanhale
646 days 15 hours 22 minutes ago

Cool man. Keep it up!

Abhijit Shetty
By: Abhijit Shetty
642 days 15 hours 46 minutes ago

hi,useful

scored 90%

Vikash Mehta
By: Vikash Mehta
639 days 22 hours 24 minutes ago

i got 65%

Ron
By: Ron
638 days 21 hours 13 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
638 days 20 hours 56 minutes ago

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

Ram Kumar Krishnan
By: Ram Kumar Krishnan
636 days 17 hours 48 minutes ago

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

Harpreet
By: Harpreet
634 days 20 hours 59 minutes ago

Really gud

Harpreet
By: Harpreet
634 days 20 hours 59 minutes ago

Really gud

pawan
By: pawan
602 days 16 hours 49 minutes ago

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

vijay
By: vijay
597 days 9 hours 22 minutes ago

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

Bhagwan singh katewa
By: Bhagwan singh katewa
578 days 15 hours 54 minutes ago

hi it is a very good practice question

Bhagwan singh katewa
By: soujanya s
575 days 21 hours 35 minutes ago

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

MUDIT
By: MUDIT
572 days 2 hours 39 minutes ago

Very Good Questions . Please put more...

Firoz Raza
By: Firoz Raza
566 days 16 hours 56 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
566 days 16 hours 56 minutes ago

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

athinarayanan
By: athinarayanan
550 days 14 hours 53 minutes ago

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

suman
By: suman
540 days 13 hours 34 minutes ago

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

Murali
By: Murali
536 days 18 hours 48 minutes ago

This test is very Helpful.. Thanks very much.

dikshu
By: dikshu
515 days 9 hours 59 minutes ago

thanks , this is very very helpful

debiprasad bhattacharya
By: debiprasad bhattacharya
507 days 16 hours 36 minutes ago

This is very good collection of .net questions... i got 33 out of 40..7 incorrect

Aritra Ghosh
By: Aritra Ghosh
504 days 20 hours 32 minutes ago

hmm...test could improve a lot,maybe there should be a lot more of this kind of tests.

ujawala patil
By: ujawala patil
482 days 18 hours 22 minutes ago

i got 22 out of 40 it is very good for freshers

Thao
By: Thao
478 days 23 hours 37 minutes ago

It's very helpful for me. Thanks so much!

Saurabh Singh
By: Saurabh Singh
478 days 17 hours 18 minutes ago

i score 38/40

saif
By: saif
478 days 17 hours 59 minutes ago

Nice piece of questionnare.

I score 32 of 40.

praveen
By: praveen
463 days 15 hours 52 minutes ago

very nice i ejoyed a lot for getting answers

Ray Grant
By: Ray Grant
456 days 22 hours 45 minutes ago

?? Why is choice A NOT the solution ?
I automatically thought misspelled were an instant error -
as I thought exams were first tested to NOT use typos.

charan
By: charan
450 days 17 hours 34 minutes ago

36 out of 40, nice questions for beginners..

Shahid
By: Shahid
449 days 16 hours 55 minutes ago

gud collectn......

Rabindra Roy
By: Rabindra Roy
448 days 17 hours 55 minutes ago

I got 12 out of 40.It is Very usefull question

Pinky
By: Pinky
442 days 8 hours 51 minutes ago

this ia really good one helps a lot

Papu Behera
By: Papu Behera
436 days 9 hours 1 minutes ago

what is highest score for the test?actually it really helpfull....

Ramesh
By: Ramesh
432 days 12 hours 11 minutes ago

Good test ,surprise question 32.

Anurag Kumar
By: Anurag Kumar
424 days 17 hours 12 minutes ago

Healpful for everyone

hongdiep bach
By: hongdiep bach
422 days 8 hours 57 minutes ago

It's very useful for me and every body

Aurosikha Das
By: Aurosikha Das
373 days 14 hours 6 minutes ago

Really gud.

jaya
By: jaya
364 days 7 hours 43 minutes ago

it is really helpful..

nagasrihari
By: nagasrihari
352 days 14 hours 11 minutes ago

kool..really good. thanks for the good collection.

bharatpandeymca
By: bharatpandeymca
347 days 13 hours 21 minutes ago

I Scored 90%. Very good question and hard too.

devesh
By: devesh
317 days 8 hours 42 minutes ago

i am doing MBA from iimB, when i go for recuritement must give this form?

pooja Thakur
By: pooja Thakur
305 days 19 hours 25 minutes ago

Really, a mind fresh test.........

sonu
By: sonu
301 days 10 hours 3 minutes ago

by:saty
these question r good for practice....

santhi
By: santhi
288 days 13 hours 22 minutes ago

Very Good collections, Thanks a lot...

dinakar
By: dinakar
284 days 17 hours 57 minutes ago

hi guys , myself and alok got 100% , got thru this hurrayy !!!!!!!!!!!!!!!!

vishal
By: vishal
234 days 22 hours 6 minutes ago

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

thank you very much...............

Rakesh Prasad
By: Rakesh Prasad
232 days 17 hours 59 minutes ago

It is realy nice i scored 24

jignesh
By: jignesh
214 days 17 hours 51 minutes ago

Ii's really good one!!!!!

jignesh
By: jignesh
214 days 17 hours 50 minutes ago

I scored 38/40 !!!!!

debiprasad bhattacharya
By: debiprasad bhattacharya
200 days 16 hours 16 minutes ago

26... :)

dheeraj
By: dheeraj
195 days 20 hours ago

can i get quiz on C#.net

amit sharma
By: amit sharma
191 days 18 hours 2 minutes ago

Questions are very good.
I have scored 38/40 !!!!!!!!!.

mayank jain
By: mayank jain
189 days 14 hours 19 minutes ago

awesome...like it,,,

sumit
By: sumit
178 days 2 hours 18 minutes ago

refreshing

jkumar
By: jkumar
170 days 19 hours 35 minutes ago

it is useful test my knowledge........

shobhakar tiwari
By: shobhakar tiwari
144 days 6 hours 10 minutes ago

thanks sir.......... gud collection.

Krishna
By: Krishna
122 days 22 hours 11 minutes ago

This is the best way to learn .NET

Want to learn?

Sign up and browse through relevant courses.

Name:
Your Email:
Password:
Country:
Contact no.:


Area code Number
Subject you are interested in:
Word verification: (Enter the text as in image)


Sign Up Already a member? Sign In
I agree to WizIQ's User Agreement & Privacy Policy
Gurjinder Singh Brar
IT, ASP.NET, Database, SEO, Management Consultant
User
2 Members Recommend
133 Followers

Your Facebook Friends on WizIQ

More Tests By Author

SQL Server Interview
17 Questions | 4640 Attempts