Content:
- Interview questions on ASP.NET MVC
- Interview questions on OOPS and C#
- Interview Questions on JavaScript
- Interview Questions on SQL
Interviews are indeed a good reality check for your knowledge, faced an interview today after 6 months and got a good reality check. Jotting down some of them just to have a quick look in future.
Interview questions on ASP.NET MVC
- Difference between Handlers and Modules?
http://www.codeproject.com/Articles/30907/The-Two-Interceptors-HttpModule-and-HttpHandlers
- What is CLR ?
- What is JIT ?
- What is the compiler of .Net?
- What is DLL Hell?
http://www.c-sharpcorner.com/uploadfile/puranindia/net-framework-and-architecture/
- Difference between @HTML.RenderPartial and @HTML.Partial?
- What are partial Views?
- What are Result and Exception Filters?
- How to apply action filter to a controller and restrict it for few actions?
- What are Action Filters?
http://www.asp.net/mvc/overview/older-versions-1/controllers-and-routing/understanding-action-filters-cs
- Application life cycle of MVC?
- What is Routing table? If one path matches two routs which one gets invoked first?
- What is Identities?
Interview questions on OOPS and C#
- What is Abstraction , Encapsulation and Polymorphism?
- What are delegates and callbacks?
- How does Abstraction and Encapsulation depends on each other?.
- Difference between Data Hiding and Abstraction?
http://stackoverflow.com/questions/15176356/difference-between-encapsulation-and-abstraction
- Does Method Overloading depends on return type?
- Base class A has virtual method abc child class B extends A and has the same method abc but with override another class C derived from B with same method abc but with new keyword.What will be the output for –
ClassA obj = new ClassC();
obj.abc(); - Can I assign an object of child class to an object of base class ?
- What are type specifiers ad the use of protected?
- Can a class in C# be private?
- Use of private constructors?
- What are Design Patterns?
- What are Generics?
- What is singleton pattern?How to implement it?
- How to ensure only one object gets created of a Singleton class in case of multi threading ?
http://geekswithblogs.net/BlackRabbitCoder/archive/2010/05/19/c-system.lazylttgt-and-the-singleton-design-pattern.aspx
- Write a program for Fibonacci series .
http://www.programmingsimplified.com/c-program-generate-fibonacci-series
Interview Questions on JavaScript
- What is Closures?
- JQuery vs JavaScript?
- How to bring a non Angular object in Angular’s Context?
- What is $digest?
http://www.dotnet-tricks.com/Tutorial/angularjs/4E7J080914-Understanding-AngularJS-$watch(),-$digest()-and-$apply().html
- What are Providers in Angular ?
http://www.dotnet-tricks.com/Tutorial/angularjs/V2YS090914-Understanding-AngularJS-Factory,-Service-and-Provider.html
- KnockoutJs vs AngularJs
- Get the value of selected drop down using JQuery
- If three elements are on same page with same Id what will be the result of getElementById
http://stackoverflow.com/questions/3607291/javascript-and-getelementbyid-for-multiple-elements-with-the-same-id
- Use of Closest in JQuery?
Interview Questions on SQL
- What are Indexes in SQL? How many of each type can you create on a table?
- Difference between primary key with clustered index and unique key with Non Clustered Index ?
- Can functions have DML statements?
- What is the default return type of a Stored Procedure?
- How to create a Stored Procedure that uses the same parameter as input an output value?
- If trigger to insert rows from Table A to Table B fails after half done what happens to the inserted rows?
- What are Magic Tables?
http://www.dotnet-tricks.com/Tutorial/sqlserver/7OT8250912-Inserted,-Deleted-Logical-table-in-SQL-Server.html
- Types of temporary tables?
- Difference between temporary table and table variable and CTE?
http://www.dotnet-tricks.com/Tutorial/sqlserver/X517150913-Difference-between-CTE-and-Temp-Table-and-Table-Variable.html
http://www.codeproject.com/Articles/42553/Quick-Overview-Temporary-Tables-in-SQL-Server
- How to turn off the primary key temporarily for a table?
- What are transactions in SQL?
- What are Cursors?How many type of Cursors are there?
- What is Merge in SQL?
http://www.codeproject.com/Articles/37172/Merge-Statement-in-SQL-Server