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.
What the quiz covers
- From C to C++ (3 questions)
- References, overloading and default arguments (3 questions)
- Classes and objects (3 questions)
- Constructors and destructors (3 questions)
- Objects on the heap: new and delete (3 questions)
- Copying objects: shallow and deep copies (3 questions)
- Static and const members (3 questions)
- Operator overloading (3 questions)
- Inheritance (3 questions)
- Virtual functions and polymorphism (3 questions)
- Abstract classes and interfaces (3 questions)
- Templates (3 questions)
- The standard library: vector, string, map and sort (3 questions)
- Exceptions (3 questions)
- Project: a small library system (3 questions)