C++ Programming Fundamentals
By Devin Park · Updated May 25, 2026
Question catalog for this preview
Catalog listing of the 5 preview questions for this quiz.
Question 1
In C++, what is a **template**?
Question 2
**Statement:** In C++, `std::vector` is a dynamic array that automatically manages its size, and accessing an element with `at()` is safer than using `[]` because `at()` performs bounds checking and throws `std::out_of_range` if the index is invalid.
Question 3
What is the **Rule of Three** in C++?
Question 4
In object-oriented C++, the three core principles are [[blank1]] (hiding implementation details), [[blank2]] (using a base class interface to work with derived class objects), and [[blank3]] (deriving new classes from existing ones).
Question 5
**Statement:** In C++, a **destructor** is called automatically when an object goes out of scope or is explicitly deleted, and it can be overloaded with multiple parameter versions.