Sunday, May 3, 2015

Frequently asked interview questions for Dot Net Developers

Here I compiled a list of frequently asked interview questions for .NET developers. I am looking forward to Update the blog with the answers to the questions listed here and add more interview faq's on latest Microsoft technology skills.Feel free to provide your suggestions for improvements.

C#:

1)What is a dictionary? 
2)What is a Hash table?What is the difference between dictionary and hash table?
3)What is Polymorphism?
4)What is encapsulation?
5)Difference between Destructor and Dispose?
6)What is a delegate?
7)What is an Extension method?
8)How to add functionality/logic to the existing C# method without modifying it?
9)Whats is a Factory pattern?
10)What is Threading?
11)Lock and Mutex
12)What is an observer design pattern
13)Different Types of design patterns
14)Early binding and late binding
15)New features in .net 4
16)Example for factory and abstract factory
17)Boxing and Unboxing
18)What are the different types of Collections in C#?
19)Explain about C# generics.
20)Can We create an object for an abstract class? 
21)What is the difference between a static class and singleton?
22)What is a sealed class? Can we create an object for sealed class?
23)Can we create an object for static class?
24)Can we declare instance variables in Static class?
25)Can we declare static methods and variables in non static class?
26)Is it possible to declare class as abstract class if it doesn't have any abstract methods?
27)MVC design pattern?
28)What is the difference between Var and Dynamic key words?
29)What is the difference between String and String builder?
30)What is the difference between Array and ArrayList?


ASP.NET:

1)Explain ASP.NET page life cycle.
2)Difference between Javascript and Jquery?
3)What is Cashing and different cashing techniques.
4)Explain Authentication and Authorization.
5)What is a Single Sign on?
6)What is Web Farm?
7)How session is sent to client?
8)How ASP.NET MVC frame work works?Can view directly talk to model?
9)Advantages of ASP.NET MVC framework over ASP.NET web farms.
10)What is the difference between HTTP Module and HTTP Handlers?


WCF:

1)What is Service Oriented Architecture?
2)What is End Point?
3)What is binding in WCF?
4)Difference between basichttpbinding and wshttpbinding?
5)What is a Service contract?
6)What is Operation Contract?
7)What is a fault contract?How to implement custom fault contract?
8)What is message contract?
9)What is Data Contract?
10)What is KnownType?Explain with a real time example.
11)Significance of REST services ?

General:

1)What is JSON?
2)Different requirement elicitation techniques.
3)Different estimation techniques.
4)What is most challenging task you have worked on in the current project?
5)What are the different SDLC models you have worked on?


SQL Server:


1)Write stored procedure syntax.
2)What is Sql profiler?
3)Find out the department name which has highest number of employees?
4)Find the employee with 3rd highest salary.
5)Difference between Delete and truncate.
6)Difference between Clustered Index and Non Clustered Index
7)Is index can be created on a View?
8)What is a Temporary table?
9)What is an Execution plan?
10)Explain about OUTER Joins.
11)What is SQL Trigger?
12)What are the different advantages of SQL stored procedures?
13)How to implement exception handling in Stored procedures?
14)Explain about different query optimization techniques.
15)What is SQL Cursor?