Object Oriented Programming With C++
Object Oriented Programming With C++
Course: CS 423
Course Outline:
Introduction: Introduction to class and objects, difference between procedural and OOP.
Characteristics of OOP. Access specifier. C++ syntax
[3 Lecture]
Static and constant data member and function: Static data member and static member
function. Constant data member, function, parameter and object.
[2 Lecture]
IOStream: string, hierarchy of stream classes, functions of stream classes and stream errors
[2 Lecture]
File Handling: fstream, ifstream and ofstream, simple variable read from and write on file.
Object read and write on file.
[3 Lecture]p;////////////////
Inheritance: Introduction to Inheritance, Derived Class and Base Class, Accessing Base Class
Members & protected Access Specifier, Derived Class Constructors, Overriding Member
Functions Class Hierarchies, Abstract Base Class, Public and Private Inheritance, Access
Combination & Access Specifiers, Levels of Inheritance.
[4 Lecture]
Relationships and UML representation: type of class relationship “is a”, “has a” etc and
their representation in UML.
[3 Lecture]
Data Conversion: Conversion between Basic data types, Conversion between Objects and
Basic data types, Conversion from Basic to User-Defined & User-Defined to Basic data type ,
Conversion between C-String and string Objects , Conversion between Objects of different
Classes, A Time Conversion Example, Explicit and mutable keywords , Pros and cons of
operator overloading
[4 Lecture]
Polymorphism: virtual function and friend function, late and early binding, abstract class and
pure virtual function
[2 Lecture]
Laboratory (3 hr lab)
Demo of Prog Assignments 6
Final Assignment/Lab 8
Attitude 2
Attendance 4
Reference Book: Greg Wiegand , “Teach Yourself C++ in 21 days”, 2 nd Edition. Online
version.