OOPS in C++ PDF
OOPS in C++ PDF
UNITS
Course Level: UG 3 0 2 0 4
Course Code: ES203
Course Objectives: The objective of the course is to identify the basic difference between the programming approaches like
procedural and object oriented; and implement the various features of OOP such as inheritance, polymorphism, Exceptional
handling etc. using programming language C++.
Pre-requisites:
Knowledge of Programming logic and techniques
Course Contents/Syllabus:
Weightage (%)
Module I Introduction
Descriptors/Topics
• Review of C
• Difference between C and C++ 20
• Procedure Oriented and Object Oriented Approach
• Basic Concepts: Objects, classes, Principals like Abstraction, Encapsulation, Inheritance and
Polymorphism. Dynamic Binding, Message Passing Characteristics of Object-Oriented Languages
• Introduction to Object-Oriented Modeling techniques (Object, Functional and Dynamic
Modeling)
• Inheritance
• Types of Inheritance
• Access modes – public, private & protected
• Abstract Classes
• Ambiguity resolution using scope resolution operator and Virtual base class 20
• Aggregation, composition vs classification hiérarchies
• Overriding inheritance methods,
• Constructors in derived classes,
Nesting of Classes
Module IV Polymorphism
Descriptors/Topics
• Polymorphism, Type of Polymorphism – Compile time and runtime,
• Function Overloading,
• Operator Overloading (Unary and Binary)
• Polymorphism by parameter, 20
• Pointer to objects,
• this pointer,
• Virtual Functions,
• pure virtual functions.
• Manipulating strings,
• Streams and files handling,
• formatted and Unformatted Input output. 20
• Exception handling,
• Generic Programming – function template, class Template
• Standard Template Library: Standard Template Library, Overview of Standard Template
Library,
• Containers, Algorithms, Iterators,
Other STL Elements, The Container Classes, General Theory of Operation, Vectors
Student Learning Outcomes:
The class will be taught using theory and case based method. In addition to assigning the case studies, the course instructor will
spend considerable time in understanding the concept of innovation through the eyes of the consumer. The instructor will cover
the ways to think innovatively liberally using thinking techniques.
List of Experiments:
4. Functions&
Recursion. a. Recursion
b. function
5. Inline Functions.
11. Programs to Overload Unary & Binary Operators as Member Function & Non
Member Function.
a. Unary operator as member function
b. Binary operator as non member function
Components (Drop down) Mid Term Exam Home Assignment Presentation/Viva Attendance
Weightage (%)
10% 8% 7% 5% 70%
Lab/ Practical/ Studio Assessment:
Weightage (%) 10 15 10 5 60
Text:
• R. Lafore, “Object Oriented Programming using C++”, BPB Publications, 2004
• “Object Oriented Programming with C++” By E. Balagurusamy
References: