.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
1311 days 7 hours 57 minutes ago

FINE

mohamed sayed
By: mohamed sayed
1285 days 15 hours 52 minutes ago

very easy questions

kotamraju
By: kotamraju
1275 days 8 hours 34 minutes ago

very good

Mubin Usman Attar
By: Mubin Usman Attar
1211 days 4 hours 19 minutes ago

very good

mullabasha
By: mullabasha
1198 days 7 hours 3 minutes ago

it is fine

Your Name
By: Your Name
1198 days 4 hours 25 minutes ago

good

mamta
By: mamta
1195 days 8 hours 13 minutes ago

nice one

bluto
By: bluto
1191 days 23 hours 27 minutes ago

Great job

samar rizvi
By: samar rizvi
1189 days 20 hours 26 minutes ago

very good but very easy question.

Kunal Mehta
By: Kunal Mehta
1188 days 1 hours 22 minutes ago

Good questions

hooman
By: hooman
1180 days 7 hours 36 minutes ago

Thank you it was very nice

Anjani
By: Anjani
1159 days 4 hours 25 minutes ago

good

ravi
By: ravi
1153 days 3 hours 40 minutes ago

Its good for revision the basics.

Gaurav Kumar Sharma
By: Gaurav Kumar Sharma
1143 days 3 hours 57 minutes ago

It was fine. I solve 13 in first chance.

Harjeet Singh
By: Harjeet Singh
1131 days 8 hours 4 minutes ago

Thanks all for your appreciations.

Harjeet Singh
By: vikas sangal
907 days 1 hours 24 minutes ago

pls creat more papers

Harjeet Singh
By: Rohit
152 days 8 hours 1 minutes ago

what is Assemblis ?
Kya Assemblis hamre DLL hoti hai

Harjeet Singh
By: Rohit
152 days 8 hours 1 minutes ago

what is Assemblis ?
Kya Assemblis hamre DLL hoti hai

Harjeet Singh
By: Rohit
152 days 8 hours 1 minutes ago

what is Assemblis ?
Kya Assemblis hamre DLL hoti hai

ashok
By: ashok
1130 days 7 hours 13 minutes ago

It'g good for beginners

sudarsan
By: sudarsan
1128 days 4 hours 8 minutes ago

Its help to recall all basic functions..Thanks

Habib ur rehman
By: Habib ur rehman
1124 days 16 hours 42 minutes ago

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

vrishali
By: vrishali
1124 days 9 hours 40 minutes ago

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

irfan
By: irfan
1121 days 19 hours 36 minutes ago

very good. it will improve knowledge...

surya parkash singh
By: surya parkash singh
1120 days 20 hours 41 minutes ago

got 95% not bad

surya parkash singh
By: surya parkash singh
1120 days 20 hours 41 minutes ago

got 95% not bad

ajitha
By: ajitha
1106 days 5 hours 20 minutes ago

nice Mock test ,,it will be use full

Nathan
By: Nathan
1082 days 23 hours 37 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
1046 days 8 hours 24 minutes ago

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

gourav
By: gourav
1030 days 12 hours 9 minutes ago

great questions

neha
By: neha
1008 days 7 hours 5 minutes ago

where do we get The ANSWERS?????

Sri Nivas Singh
By: Sri Nivas Singh
984 days 27 minutes ago

thanks for this test

Sri Nivas Singh
By: Sri Nivas Singh
984 days 27 minutes ago

thanks for this test

Sri Nivas Singh
By: Sri Nivas Singh
984 days 27 minutes ago

thanks for this test

Sri Nivas Singh
By: Sri Nivas Singh
984 days 27 minutes ago

thanks for this test

Sri Nivas Singh
By: Sri Nivas Singh
984 days 27 minutes ago

thanks for this test

Sri Nivas Singh
By: Sri Nivas Singh
984 days 27 minutes ago

thanks for this test

Sri Nivas Singh
By: Sri Nivas Singh
984 days 27 minutes ago

thanks for this test

Sri Nivas Singh
By: Sri Nivas Singh
984 days 27 minutes ago

thanks for this test

Sri Nivas Singh
By: Sri Nivas Singh
984 days 27 minutes ago

thanks for this test

Sri Nivas Singh
By: Sri Nivas Singh
984 days 27 minutes ago

thanks for this test

Sri Nivas Singh
By: Sri Nivas Singh
984 days 27 minutes ago

thanks for this test

saranraj
By: saranraj
936 days 7 hours 35 minutes ago

Its a nice one. Thanks Harjeet

Abhishek
By: Abhishek
923 days 8 hours 14 minutes ago

nice

jamal
By: jamal
920 days 20 hours 21 minutes ago

thnks.

baburam
By: baburam
915 days 1 hours 40 minutes ago

nice questions thanks

vikas sangal
By: vikas sangal
907 days 1 hours 25 minutes ago

its good

more papers want

sharad
By: sharad
906 days 23 hours 53 minutes ago

good test .i did 17 correct out of 20.

sangit keraliya
By: sangit keraliya
870 days 4 hours 1 minutes ago

nice....

vinayz
By: vinayz
869 days 9 hours 29 minutes ago

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

lokesh
By: lokesh
860 days 8 hours 12 minutes ago

good

lokesh
By: lokesh
860 days 8 hours 12 minutes ago

good

priyanka thakur
By: priyanka thakur
859 days 2 hours 33 minutes ago

Good!

abhishek dixit
By: abhishek dixit
852 days 22 hours 42 minutes ago

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

santhoshkumar
By: santhoshkumar
845 days 2 hours 20 minutes ago

hi

dilipsantoshi
By: dilipsantoshi
838 days 1 hours 32 minutes ago

Good exercise

dilipsantoshi
By: dilipsantoshi
838 days 1 hours 14 minutes ago

thanks for good question

Kakarla Ramesh
By: Kakarla Ramesh
824 days 8 hours ago

test

syed
By: syed
802 days 4 hours 9 minutes ago

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

Sangamesh
By: Sangamesh
800 days 3 hours 9 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
786 days 9 hours 22 minutes ago

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

dipendra
By: dipendra
781 days 20 hours 58 minutes ago

thanks

Vinod Kumar
By: Vinod Kumar
767 days 5 hours 44 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
743 days 1 hours 12 minutes ago

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

navin
By: navin
734 days 6 hours 5 minutes ago

its so helpful

amaladevi
By: amaladevi
667 days 9 hours 55 minutes ago

is too nice to remember all those things

venkat
By: venkat
617 days 2 hours 41 minutes ago

good questions.nice collection

MAnikandan v
By: MAnikandan v
583 days 21 hours 55 minutes ago

BY
mani

This very useful thanks

MAnikandan v
By: srinivas chekati
248 days 6 hours 51 minutes ago

VERY VERY GOOD TO IMPROVE THE KNOWLEGDE..THANKS..

Want to learn?

Sign up and browse through relevant courses.

or fill this simple form
Name:
Your Email:
Password:
Country:
Contact no.:


Area code Number
Subjects you are interested in:
Word verification: (Enter the text as shown 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
1 Member Recommends
156 Followers

Your Facebook Friends on WizIQ

More Tests By Author

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

ASP.NET question answers test
10 Questions | 7715 Attempts

Connect