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

.NET FRAMEWORK, ASP.NET, C# BASICS online Test

What’s the .NET collection class that allows an element to be accessed using a unique key?
SortedListClass
HashTableClass
CollectionBase
Stack
Queue
Which of the following is true about read only variables?
can be allocated at compile time
can be allocated at runtime
declaration and initialization can be separated
all of the above
Defining two methods with the same name but with different parameters is called
Loading
Overloading
Encapsulation
Inheritance
Difference between Convert and Parse methods?
Convert converts the values, Parse is for parsing.
Both are Same
Convert allows null values, Parse cannot
None of the above
Default return type of an Event is
String
Integer
Events don't have any return type
None of above
Convert.ToString() and ToString() has main difference:
ToString() handle null values but Convert.ToString() don't
Convert.ToString() handle null values but ToString() don't
ToString() output as per format supplied
Convert.ToString() only handle null values
How does assembly versioning in .NET prevent DLL Hell?
The runtime checks to see that only one version of an assembly is on the machine at any one time.
.NET allows assemblies to specify the name AND the version of any assemblies they need to run.
The compiler offers compile time checking for backward compatibility.
It doesn’t
What is a delegate?
A light weight thread or process that can call a single method.
A reference to an object in a different process.
An inter-process message channel.
A strongly typed function pointer.
What is a satellite Assembly?
A peripheral assembly designed to monitor permissions requests from an application.
Any DLL file used by an EXE file.
An assembly designed to alter the appearance or ‘skin’ of an application.
An assembly containing localized resources for another assembly.
What is boxing in .NET?
Encapsulating an object in a value type.
Encapsulating a copy of an object in a value type.
Encapsulating a value type in an object.
Encapsulating a copy of a value type in an object.
The C# keyword ‘int’ maps to which .NET type?
System.Int16
System.Int32
System.Int64
System.Int128
System.Int256
What is the difference between Server.Transfer and Response.Redirect?
Response.Redirect is used to post a form to another page.Server.Transfer is used to redirect the user to another page or site.
Server.Transfer is used to post a form to another page. Response.Redirect is used to redirect the user to another page or site.
Server.Transfer is used to get a form from another page. Response.Redirect is used to redirect the user to same page or site.
Answer 2 and Answer 3
What data type does the RangeValidator control support?
Integer,String and Date.
Integer and String only
Only String
Only Integer
In the URL listed below, what does the string (nav45m672ren60vizat) represent? http://server.com/(nav45m672ren60vizat)/page.aspx
CookieID
connectionStringID
DatabaseID
ApplicationID
SessionID
Which one of the following object oriented techniques allows you to make changes to your code without impacting calling classes
Interface
Inheritance
Polymorphism
Abstraction
Encapsulation
Can we overwrite one web.config file with another web.config file in an ASP.NET application?
Yes
No
What is the name of the Web page property that you can query to determine that a Web page is being requested without data being submitted?
FirstGet
Initialized
IncludesData
IsPostBack
What method must be overridden in a custom control?
The Build() method
The Control_Build() method
The Render() method
The default constructor
How do you explicitly kill a user session?
Session.Close( )
Session.Discard( )
Session.Abandon( )
Session.End( )
How many web.config files can be there in an ASP.NET application?
Only One
Only Two
More than One
Upto 10
Join the .NET Community
Description:

Contains .net framework, asp.net and c# basics logical questions.

Comments
gold
By: gold
851 days 9 hours 36 minutes ago

FINE

mohamed sayed
By: mohamed sayed
825 days 17 hours 31 minutes ago

very easy questions

kotamraju
By: kotamraju
815 days 10 hours 13 minutes ago

very good

Mubin Usman Attar
By: Mubin Usman Attar
751 days 5 hours 58 minutes ago

very good

mullabasha
By: mullabasha
738 days 8 hours 42 minutes ago

it is fine

Your Name
By: Your Name
738 days 6 hours 4 minutes ago

good

mamta
By: mamta
735 days 9 hours 52 minutes ago

nice one

bluto
By: bluto
732 days 1 hours 6 minutes ago

Great job

samar rizvi
By: samar rizvi
729 days 22 hours 4 minutes ago

very good but very easy question.

Kunal Mehta
By: Kunal Mehta
728 days 3 hours ago

Good questions

hooman
By: hooman
720 days 10 hours 14 minutes ago

Thank you it was very nice

Anjani
By: Anjani
699 days 6 hours 3 minutes ago

good

ravi
By: ravi
693 days 5 hours 18 minutes ago

Its good for revision the basics.

Gaurav
By: Gaurav
683 days 5 hours 36 minutes ago

It was fine. I solve 13 in first chance.

Harjeet Singh
By: Harjeet Singh
671 days 9 hours 43 minutes ago

Thanks all for your appreciations.

Harjeet Singh
By: vikas sangal
447 days 3 hours 3 minutes ago

pls creat more papers

ashok
By: ashok
670 days 8 hours 51 minutes ago

It'g good for beginners

sudarsan
By: sudarsan
668 days 5 hours 47 minutes ago

Its help to recall all basic functions..Thanks

Habib ur rehman
By: Habib ur rehman
664 days 17 hours 20 minutes ago

Hello,,,, What is the boxing process???

vrishali
By: vrishali
664 days 11 hours 19 minutes ago

it's good test..it tells where you stand..

irfan
By: irfan
661 days 20 hours 14 minutes ago

very good. it will improve knowledge...

surya parkash singh
By: surya parkash singh
660 days 21 hours 20 minutes ago

got 95% not bad

surya parkash singh
By: surya parkash singh
660 days 21 hours 20 minutes ago

got 95% not bad

ajitha
By: ajitha
646 days 5 hours 59 minutes ago

nice Mock test ,,it will be use full

Nathan
By: Nathan
623 days 16 minutes ago

Perhaps I am a idiot, but my mother used to tell me that the boxing and unboxing in C# is just converting from Reference to value and reverse. At least yesterday it was so. Isn't it?

shreya goyal
By: shreya goyal
586 days 10 hours 2 minutes ago

UR TEST IS GUD BUT CONTAIN ONLYBASICQUESTION SOME QUESTION BASED ON LOGIC R REQUIRED TO B ADDED

gourav
By: gourav
570 days 13 hours 48 minutes ago

great questions

neha
By: neha
548 days 8 hours 44 minutes ago

where do we get The ANSWERS?????

Sri Nivas Singh
By: Sri Nivas Singh
524 days 2 hours 6 minutes ago

thanks for this test

Sri Nivas Singh
By: Sri Nivas Singh
524 days 2 hours 6 minutes ago

thanks for this test

Sri Nivas Singh
By: Sri Nivas Singh
524 days 2 hours 6 minutes ago

thanks for this test

Sri Nivas Singh
By: Sri Nivas Singh
524 days 2 hours 6 minutes ago

thanks for this test

Sri Nivas Singh
By: Sri Nivas Singh
524 days 2 hours 6 minutes ago

thanks for this test

Sri Nivas Singh
By: Sri Nivas Singh
524 days 2 hours 6 minutes ago

thanks for this test

Sri Nivas Singh
By: Sri Nivas Singh
524 days 2 hours 6 minutes ago

thanks for this test

Sri Nivas Singh
By: Sri Nivas Singh
524 days 2 hours 6 minutes ago

thanks for this test

Sri Nivas Singh
By: Sri Nivas Singh
524 days 2 hours 6 minutes ago

thanks for this test

Sri Nivas Singh
By: Sri Nivas Singh
524 days 2 hours 6 minutes ago

thanks for this test

Sri Nivas Singh
By: Sri Nivas Singh
524 days 2 hours 6 minutes ago

thanks for this test

saranraj
By: saranraj
476 days 8 hours 14 minutes ago

Its a nice one. Thanks Harjeet

Abhishek
By: Abhishek
463 days 9 hours 52 minutes ago

nice

jamal
By: jamal
460 days 22 hours ago

thnks.

baburam
By: baburam
455 days 3 hours 19 minutes ago

nice questions thanks

vikas sangal
By: vikas sangal
447 days 3 hours 3 minutes ago

its good

more papers want

sharad
By: sharad
447 days 1 hours 31 minutes ago

good test .i did 17 correct out of 20.

sangit keraliya
By: sangit keraliya
410 days 5 hours 40 minutes ago

nice....

vinayz
By: vinayz
409 days 11 hours 7 minutes ago

verry good i have attemted 19 questions any 16 are correct .That is nice series...

lokesh
By: lokesh
400 days 9 hours 50 minutes ago

good

lokesh
By: lokesh
400 days 9 hours 50 minutes ago

good

priyanka
By: priyanka
399 days 4 hours 11 minutes ago

Good!

abhishek dixit
By: abhishek dixit
392 days 23 hours 20 minutes ago

the basic informatio c#,ASP.NET, VB.NET

santhoshkumar
By: santhoshkumar
385 days 3 hours 59 minutes ago

hi

dilipsantoshi
By: dilipsantoshi
378 days 2 hours 10 minutes ago

Good exercise

dilipsantoshi
By: dilipsantoshi
378 days 1 hours 53 minutes ago

thanks for good question

Kakarla Ramesh
By: Kakarla Ramesh
364 days 8 hours 39 minutes ago

test

syed
By: syed
342 days 4 hours 48 minutes ago

Good questions, but some of the questions should be a little clearer.

Sangamesh
By: Sangamesh
340 days 3 hours 47 minutes ago

These are the most important to everyone,because what i faced in some company tests those are here

sukh hgf
By: sukh hgf
326 days 12 hours ago

i think convert() also throws error is it contain NULL value

dipendra
By: dipendra
321 days 22 hours 36 minutes ago

thanks

Vinod Kumar
By: Vinod Kumar
307 days 7 hours 23 minutes ago

Nice questions, but here I would like to mention that, in Q.15, the answer should not be 'Interface', it should be 'Inheritance', as 'Interface' is not an Object Oriented Technique. And Interface comes under Inheritance.......

vijay
By: vijay
283 days 2 hours 51 minutes ago

very nice,very basic question for the interview .thanks .

navin
By: navin
274 days 7 hours 44 minutes ago

its so helpful

amaladevi
By: amaladevi
207 days 11 hours 33 minutes ago

is too nice to remember all those things

venkat
By: venkat
157 days 4 hours 19 minutes ago

good questions.nice collection

MAnikandan v
By: MAnikandan v
123 days 23 hours 33 minutes ago

BY
mani

This very useful thanks

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
Harjeet Singh
Microsoft .NET technologies consultant
User
141 Followers

Your Facebook Friends on WizIQ

More Tests By Author

ASP.NET INTERVIEW QUESTION ANSWERS QUIZ (BASIC + ADVANCE )
20 Questions | 8099 Attempts

ASP.NET question answers test
10 Questions | 5502 Attempts