Object Oriented Programming using C++
Subject Overview
This paper moves students from procedural C into object-oriented C++: classes, objects, constructors and destructors, all forms of inheritance, polymorphism (function/operator overloading, virtual functions, abstract classes), and basic file handling. A 3-credit core theory paper that underlies the OOP thinking used throughout the rest of the degree.
Unit-wise Syllabus
4 units — click WhatsApp below to get the full notes for each
Unit 1: Principles of OOP
Introduction to OOP and its basic features, C++ program structure, compiling and executing a C++ program, procedural vs object-oriented languages
Unit 2: Classes, objects and constructors
Defining classes and member functions, declaring objects, access specifiers (private/public/protected), array of objects, parameterized and copy constructors, multiple constructors, dynamic initialization, destructors
Unit 3: Inheritance
Modes of inheritance, single/multiple/multilevel/hierarchical/hybrid inheritance, function overriding
Unit 4: Polymorphism and file handling
Early and late binding, function overloading, operator overloading (unary and binary) and its rules, virtual functions, pure virtual functions, abstract classes, opening/closing files, reading and writing a file
