Course Objectives: |
The course aims to teach students object-oriented programming concepts, to enable them to make the software development process more efficient and regular, and to design software systems by applying OOP principles |
Course Content: |
Classes and objects, class member variables and functions, access specifiers and the concept of scope, overloading of functions, classes and operators, data abstraction, inheritance and polymorphism, creation of abstracted class definitions, class and function templates, introduction to design patterns. |
Week |
Subject |
Related Preparation |
1) |
Object Oriented Programming: Introduction to Classes and Objects and Strings, Class definitions, objects, data members, member functions, constructors, separation of interface. |
CH3 |
2) |
Classes: Review of functions (scope concept, pointers, pointers vs. references, storage, and duration of variables). Review of pointers, unary scope resolution operator. |
CH6,CH8 |
3) |
Classes: Class scope, usage of constructors and destructors. friend functions and friend classes, this pointer, class variables vs. object (instance) variables, Case Study problems. |
CH9 |
4) |
Operator Overloading; Class string: Using overloaded operators, overloading of binary and unary operators, dynamic memory management. |
CH10 |
5) |
Operator Overloading; Using standard class templates array and vector, catching exceptions, examples for the class implementations of overloading by vectors and arrays. |
CH7, CH10 |
6) |
Object-Oriented Programming: Inheritance concept, derived classes, inheritance hierarchy, constructors’ destructors in derived classes. |
CH11 |
7) |
Object-Oriented Programming: Software Engineering with Inheritance, examples. |
CH11 |
8) |
Midterm Exam Week |
- |
9) |
Object-Oriented Programming: Polymorphism, abstract classes and virtual functions, virtual destructors, |
CH12 |
10) |
Object-Oriented Programming: Polymorphism Applications |
Ch12 |
11) |
Standard Library Containers and Iterators: containers, iterators, standard library algorithms |
CH15 |
12) |
Introduction to Custom Templates: class templates, overloading function templates |
CH18-CH19 |
13) |
Custom Templatized Data Structures: self-referential structures. |
CH19 |
14) |
*Other Topics in OOP: mutable class members, multiple inheritance, multiple inheritance, and virtual base classes. Structural Design Patterns in C++. Example: the “decorator” pattern. |
CH23 and Slides |