Hey All,
Below are some Questions ( not answers :-) ) that are asked in interviews that I have faced. Hope they prove useful to you for your preparation at some point of time.
The Questions are mixed of : ASP.NET , SQL Server , .NET Framework , SharePoint , C# , OOPS
- What are magic tables in SQL Server
- How many and what are temp tables in Sql Server ?
- How will you call trigger in Sql Server ?
- How will you call function in Sql Server ?
- There are 2 tables A and B having 3 columns each...What is the output of " Select * from A,B?
- What is the maximum number of Clustered indexes a table can have ?
- when you update a table in SQL Server management studio .., what exactly happens ?
- What is project life cycle?
- What are the differences b/w SQL Server 2008 and SQL Server 2012?
- What is the difference between Site Template and Site Definition?
- What are Generics in C# ? What is the use of it ?
- Protected vs Protected Internal in C# ?
- can we create master page through sharepoint desginer ?
- what is the difference between creating items through sharepoint designer and sharepoint server?
- ASP.NET page life cycle?
- when can we change page's Viewstate ? on which event ?
- can you create site template ? how ?
- what is the prurpose of SPSecurity class in SharePoint ?
- what is Code access security in .NET ?
- There are 2 tables A and B... A has 3 columns , 5 rows ... B has 2 columns , 3 rows ..What will be the output of a) Select * from A,B b) cross join between 2 tables (how many rows and columns will a cross join between 2 tables return ?)
- What are Cross joins ?
- how will update sharepoint list ? write the code.
- what are extension methods in C#?
- what are anonymous methods in c#?
- why multiple inheritance is not possible in C#?
- what is a site column in SharePoint?
- Difference b/w sandboxed and Farm solution?
- Difference b/w Web Parts and Visual Web Parts.
- how to make a master page in Sharepoint Site?
- abstract class vs interfaces
- Explain Sharepoint Object Model
- What are SPutility and SPMetal in SharePoint ?
- What is .wsdl file in a web service ?
- how many ways you handle erors in a web page ?
- HttpUtility class vs Http Module
- Can you run JSP pages in IIS ? How ?
- which exception will first occur ?inside BAL , DAL , or UI layers'?
- What does theme in CSS contains ?
- What are views in SQL Server ? can we perform DML in Views?
- User Defined Functions Vs Stored Procedure?
- Difference b/w SQL variable @ and @@
- Difference between Hidden Field vs Viewstate ?
- Boxing and Unboxing difference
- What are extension methods and extension classes in C#?
- Inproc vs Outproc in Stored Procedures?
- HTTP module vs HTTP handler
- HTTP get vs HTTP Post?
- Abstraction vs Encapsulation
- overloded methods can have different return type?
- static class vs Sealed classes .. why are they used ?
- polymorphism in C#
- types of triggers in SQL SERVER
- Left outer join in SQL SERVER
- What are indexes in SQL SERVER
- What are cursors in SQL Server
- What is the new keyword in Method overriding?
- What are different types of views in SQL Server?
- what is a $ sign in Jquery ?
- How will you enable a website to run only for indian country?
- what are lambda expressions in C#?
- what is difference between array and arraylist ? when to use what and which one is faster?
- what is datareader ? how is it different from dataset?
- What are out, ref parameter in C# method?
- For vs ForEach loop
- what is the benefit of putting the .wsp or solution file inside GAC and inside BIN?
- what is RunWithElevatedPrivileges in SharePoint?
- what is the difference between webpart and Visual WebPart?
- what is the difference between Sytem.web.UI.WebControls.Webparts.WebPart vs Microsoft.Sharepoint.WebPart?
- Abstraction Vs Encapsulation
- What is viewstate ? Can you store collections in Viewstate?
- What is the difference between Stored Procedures and User Defined Functions in Sql Server ?
- What is LINQ and advantages of LINQ ?
- I have a collection of strings , Which will be more efficient LINQ or normal for / for each loop?
- What are the ways of storing information into clients computers?
- What are Selectors in Jquery ?
- What are the advantages of Entity Framework?
- Request vs Response Cycle of a Page?
- Limitations of sharepoint designer
- how will you create master pages and how will you deploy?
- what is a feature ? how will you deploy feature?
- how will you associate one content type to 3 lists ?
- What is caching ? How many types of caching is there?
- What is the difference between caching and session ?
- Generic list vs arraylist vs array in terms of performance and why ?
- why serialization is done and what are the types of serialization?
- What is the difference b/w caching and Session ?
- Difference b/w httphandlers and http modules.
- what are the limitations or disadvandtages of Generics
- how to find the 4th highest salary in table?
- .net 2.0 vs .net 4.0 features
- What is garbage collector ?
- garbage collector dispose vs finalize
- what are table valued functions in SQL Server
- What are shared assemblies
- What is Isnull and collasce operator in SQL Server?
- interface vs abstract class
- return server date in javascript
- how to increment each salary of all employees with 500
- how to work with cookies in asp.net
- javascript function on html control click and asp.net control click
ALL THE VERY BEST !!!