C++ Classes Syllabus, Units & Marks
Studying this subject? See the C++ Classes course, or read the units below first.
What is the C++ Classes syllabus?
C++ Classes is organised into 6 units. The full unit list, the topics inside each one and the exam pattern are below, taken from the syllabus we teach to.
C++ Classes unit list
| Unit | Topic |
|---|---|
| Unit 1 | Unit 1: C++ Foundations |
| Unit 2 | Unit 2: Control Flow and Functions |
| Unit 3 | Unit 3: Arrays, Strings and Pointers |
| Unit 4 | Unit 4: Object-Oriented Programming |
| Unit 5 | Unit 5: Templates, Exceptions and File Handling |
| Unit 6 | Unit 6: STL and Data Structure Fundamentals |
| Total | 6 units |
What each unit covers
Unit 1: C++ Foundations
- Setting up a compiler and IDE; structure of a C++ program
- Tokens, keywords, identifiers and comments
- Variables, data types and the const qualifier
- Input/output with cin and cout; namespaces
- Operators: arithmetic, relational, logical, bitwise and assignment
- Type conversion and type casting
Unit 2: Control Flow and Functions
- Conditional statements: if, if-else, nested if, switch
- Loops: for, while, do-while; break and continue
- Defining and calling functions; parameters and return values
- Call by value vs call by reference
- Function overloading and default arguments
- Scope, storage classes and recursion
Unit 3: Arrays, Strings and Pointers
- One-dimensional and multi-dimensional arrays
- C-style strings and the std::string class
- Pointers and pointer arithmetic; references
- Dynamic memory allocation with new and delete
- Stack vs heap memory
- Structures (struct) and enumerations
Unit 4: Object-Oriented Programming
- Classes and objects; data members and member functions
- Access specifiers: public, private, protected; encapsulation
- Constructors, destructors and the this pointer
- Inheritance: single, multiple, multilevel and hierarchical
- Polymorphism: function and operator overloading, virtual functions
- Abstraction and abstract classes
Unit 5: Templates, Exceptions and File Handling
- Function templates and class templates (generics)
- Exception handling with try, catch and throw
- File streams: ifstream, ofstream and fstream
- Reading from and writing to text files
- Lambda functions and an introduction to modern C++ features
Unit 6: STL and Data Structure Fundamentals
- STL overview: containers, iterators and algorithms
- Sequence containers: vector, list, deque
- Associative containers: set, map, pair
- Container adapters: stack, queue, priority_queue
- STL algorithms: sort, find, count, binary_search
- DSA basics: linked lists, stacks, queues, searching and sorting; Big-O time complexity
Exam pattern
Skills-based course with no fixed external board exam. Progress is assessed through coding assignments, hands-on lab exercises and a capstone project rather than a theory/practical marks split.
Practical and project work
Hands-on, lab-driven learning: each unit includes coding exercises and debugging practice, building up to mini-projects (such as a class-based management program and an STL-based data-handling tool) and a final capstone project that applies OOP, STL and file handling.

