OOP in C++ quiz: 45 questions

45 questions from the 15 lessons of Object-Oriented Programming in C++. Each answer is explained, with a link back to the lesson it comes from, and your best score stays on this device.

Test yourself

45 questions from this course's lessons, in a random order. See what you remember, then go back to the lessons behind the questions you missed.

How many questions?

What the quiz covers

  1. From C to C++ (3 questions)
  2. References, overloading and default arguments (3 questions)
  3. Classes and objects (3 questions)
  4. Constructors and destructors (3 questions)
  5. Objects on the heap: new and delete (3 questions)
  6. Copying objects: shallow and deep copies (3 questions)
  7. Static and const members (3 questions)
  8. Operator overloading (3 questions)
  9. Inheritance (3 questions)
  10. Virtual functions and polymorphism (3 questions)
  11. Abstract classes and interfaces (3 questions)
  12. Templates (3 questions)
  13. The standard library: vector, string, map and sort (3 questions)
  14. Exceptions (3 questions)
  15. Project: a small library system (3 questions)