I’ve kept an ongoing list of questions that were asked to me during interviews. Hopefully these will help someone out!

  • What is the difference between a for and while loop?
  • Explain the difference between a class and an object.
  • What is inheritance and why is it important to you?
  • Explain left, inner and cross joins.
  • What are 1st, 2nd and 3rd normal forms?
  • How can you swap values in SQL without a temporary table?
  • In a web API, how would you implement a generic method? (trick question – you can’t)
  • State the 4 OOP principles and give a brief description of each.