Object Oriented Programming
Course: CS 423
Instructor: Mr. Azhar Jamil
Timings: Mondays to Thursday
Course Outline:
Revision: function, recursion and array and 2d array.
[3 Lecture]
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]
Memory management: new, delete and pointer to object
[2 Lecture]
Data Structure implementation in class: Stack and link list.
[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]
Overloading: function and operator overloading.
OOP (course outline) 1 OOP (cs423/cs727)
[2 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]
Course Grade Distribution:
Course (Two 1.5 hr lectures)
Final Exam 30
Midterm Exam 18
Quizzes 12
______________________________________________________
Laboratory (3 hr lab)
Demo of Prog Assignments 6
Final Assignment/Lab 8
Attitude 2
Attendance 4
Text Book: Robert Lafore, “Object Oriented Programming”, 4th Edition.
Reference Book: Greg Wiegand , “Teach Yourself C++ in 21 days”, 2 nd Edition. Online
version.
OOP (course outline) 2 OOP (cs423/cs727)