Programming Interview Questions on C++, ASP.NET, C#, SQL and LINQ


Reached a milestone today on my quest to make better interview questions with answers. Here is the latest list of programming interview questions on my Programming Interviews Series blog.

  1. Introduction to technical interviewing
  2. Technical Interview Process – 30,000 feet overview
  3. So, what can be asked in a programming interview?
  4. Beyond the Code
Beginners programming questions
  1. Simple coding questions–Part 1
  2. How to find if a number is a Palindrome?
  3. Linked lists demystified
  4. Recursion–concepts and code
  5. Linked Lists – Sorting, Searching, Finding Maximum and Minimum
  6. Reverse a Linked List
  7. Searching algorithms–Linear search
  8. Binary Search
  9. String manipulation can be fun
  10. String pattern matching
  11. String functions galore
  12. Pass by value versus reference in C#
  13. How to find if a number is perfect square
Advanced programming questions
  1. Lost in a Forest of Trees
  2. The Ins and Outs of a Binary Search Tree
  3. Simple Patterns: Singleton Pattern
  4. Simple Patterns: Repository Pattern
  5. Simple Patterns: Factory Pattern
  6. Implement a basic Stack using linked List
  7. Implement a Queue data structure using a linked list
  8. Operator overloading and pairing rules in C#
  9. LINQ Query, Selection, Partial Selections and Aggregations
  10. Explain System.IO and System.IO.Compression namespaces with an example
  1. How to redirect user to another page using ASP.NET
  2. Return different HTTP response codes from Response…
  3. Tracing page execution in ASP.NET
  4. ASP.NET page validation controls
  5. ASP.NET 4 site navigation using sitemaps
  6. How do you serialize an object to and from XML
  7. Manage state across entire application in ASP.NET
  8. How to monitor file system changes using FileSystemWatcher in C#
  9. ASP.NET @ Page directive
  10. How to add HTML Server Controls to a Web Page Using ASP.NET
  11. ASP.NET AJAX using UpdatePanel control
  12. ASP.NET Session modes explained
  13. Explain ASP.NET data binding using DataSets and DataSourceControls
  14. ASP.NET HttpModule explained
  15. ASP.NET HttpHandlers
  1. jQuery AJAX functions part 1–the load() method
  2. jQuery AJAX functions part 2–get(), post(), getScript() and getJSON()
  3. jQuery AJAX functions part 3–ajax()
  4. Differentiate between alert(), prompt() and confirm() methods
  5. jQuery fadeIn, fadeOut and fadeTo effects
  6. jQuery Selectors reviewed
  1. SQL Select Where Interview Questions
  2. SQL GROUP BY and HAVING clauses
  3. SQL CASE statement examples
  4. SQL IF-ELSE and WHILE examples
  1. LINQ – Group, Sort and Count Words in a sentence by length
  2. LINQ interview questions
  3. LINQ SKIP and TAKE interview questions
  4. LINQ JOIN interview questions
Comments (13)

  1. Preeti Ghildiyal says:

    Thanx…i completely satisfy with full discription of answers.

  2. BikramJeet says:

    Hey hi Nikhil i have just started reading and i desperately need to catch the eye of the recruiter for more than 15 seconds. SO please blog on how to create a Catchy Resume.

  3. BikramJeet, there are many websites dedicated to creating great resumes. Always focus on presenting your projects truthfully and in a way that makes sense to the recruiter. It should be written in a way that addresses the needs to the job you are applying.

  4. Aarohi says:

    For Your Information,All kind of interview questions @

  5. Manav says:

    Hello Nikhil.

    Thanks a lot creating such a useful post.  It really helped me . Also , Can you create similar kind of post for SQL  Interview.   Preferably SQL Server .

    That will be helpful for lot of people

  6. Palle Technologies says:

    Thanks for the high quality question you can see few more very good quality interview questions and answers in C# , java , sql in…/interview-questions-and-answers…/interview-questions-and-answers…/interview-questions-and-answers

  7. Abi says:

    Thanks to Sharing the Dot Net Material for Freshers,

    Link as,

    <a href="…/a&gt;

  8. Ganesh says:

    Thanks to Sharing the Dot Net Material for Freshers,

    Link as,

    <a href="…/a&gt;

  9. juna says:

    thnk u sir thnks for sharing some tips in .net its very useful us

    <a hrefs="">Dot Net Training institutes in Chennai</a>

  10. Sindhu says:

    Good collection…

    <a href="…/"><b>c++ interview questions and answers</b></a>

  11. Johnny Boy says:

    Love the questions! Here’s a few more I think you should consider adding to your list too:


  12. devendra mishra says:

    Technical sound is really important for fresher to crack interview. …..becouse without life project its hard to proof ourself in programing sector