C++ Object Oriented Programming
Dr. Kamran Ahmad Awan
Department of Information Technology
University of Haripur
Designed
&
Prepared
by
Dr.
Kamran
Ahmad
Awan
©
Common
Creative
License
4.0
2
Pre-requisite
Prerequisites
Programming
Fundamentals
Credit Hours
3+1
Designed
by
Dr.
Kamran
Ahmad
Awan
©
Common
Creative
License
4.0
Department of Information Technology – The University of Haripur
3
Course Objectives
This is an introductory course on object-oriented programming, which is designed
to develop understanding of fundamental concepts of object-oriented
programming.
The course covers several basic and advanced object-oriented concepts including
classes, objects, inheritance, polymorphism, composition, encapsulation,
templates etc.
The course aims to illustrate the object-oriented concepts and develop solutions
using C++ and a little bit of JAVA language, their design principles and tools.
Designed
&
Prepared
by
Dr.
Kamran
Ahmad
Awan
©
Common
Creative
License
4.0
Department of Information Technology – The University of Haripur
4
Course Learning Outcomes (CLOs)
Introduce object-oriented programming paradigm in C++.
Explain basic concepts of OOP paradigm like encapsulation,
polymorphism, abstraction, inheritance, and data hiding.
Implement OOP, Generic Programming Concepts and manipulate
exception handling using Code Blocks.
To identify ethical concerns in program writing and intellectual
contexts by adhering to the rule of using signature programming.
Designed
by
Dr.
Kamran
Ahmad
Awan
©
Common
Creative
License
4.0
Department of Information Technology – The University of Haripur
5
Recommended books
C++ How To Program: Harvey & Paul Dietel
(Recommended)
Object-Oriented Software Engineering: Jacobson,
Christerson, Jonsson
The C++ Programming Language: Bjarne Stroustrup
Designed
&
Prepared
by
Dr.
Kamran
Ahmad
Awan
©
Common
Creative
License
4.0
Department of Information Technology – The University of Haripur
6
Reference books
Greg Perry and Marcus Johnson, Turbo C++ by
Example, Prentice Hall.
Stanley B. Lippman, C++ Primer, 2nd edition.
Java Class Libraries Unleashed, SAMS Publishing.
Designed
&
Prepared
by
Dr.
Kamran
Ahmad
Awan
©
Common
Creative
License
4.0
Department of Information Technology – The University of Haripur
7
General Instructions
Attendance is mandatory. Every class is important. All deadlines are
hard. Under normal circumstances late work will not be accepted.
Students are required to take all the tests. No make-up tests will be
given under normal circumstances.
There is 0 tolerance for plagiarism. Any form of cheating on
exams/assignments/quizzes is subject to serious penalty.
Attendance 75% attendance is mandatory. Latecomers will be marked
as absent
Designed
&
Prepared
by
Dr.
Kamran
Ahmad
Awan
©
Common
Creative
License
4.0
Department of Information Technology – The University of Haripur
8
Evaluation Criteria
Assignment
s
05
%
Quizzes
05
%
Presentatio
n
05
%
Lab Manual
10
%
Mid-Term
25
%
Terminal
Exam
50
%
Designed
&
Prepared
by
Dr.
Kamran
Ahmad
Awan
©
Common
Creative
License
4.0
Department of Information Technology – The University of Haripur
9
Introduction to OOP
Classes/Objects
Class Methods
Constructors
Access Specifiers
Destructors & Structure
Enumeration in C++
Encapsulation
Inheritance
Friend Class & Function
Polymorphism
Files and Exceptions
Data Abstraction
Interfaces in C++
Content
That’s all about Introduction…
Object Oriented
Programming
Designed
&
Prepared
by
Dr.
Kamran
Ahmad
Awan
©
Common
Creative
License
4.0
Department of Information Technology – The University of Haripur

OOP Course Introduction...........................................

  • 1.
    C++ Object OrientedProgramming Dr. Kamran Ahmad Awan Department of Information Technology University of Haripur Designed & Prepared by Dr. Kamran Ahmad Awan © Common Creative License 4.0
  • 2.
  • 3.
    3 Course Objectives This isan introductory course on object-oriented programming, which is designed to develop understanding of fundamental concepts of object-oriented programming. The course covers several basic and advanced object-oriented concepts including classes, objects, inheritance, polymorphism, composition, encapsulation, templates etc. The course aims to illustrate the object-oriented concepts and develop solutions using C++ and a little bit of JAVA language, their design principles and tools. Designed & Prepared by Dr. Kamran Ahmad Awan © Common Creative License 4.0 Department of Information Technology – The University of Haripur
  • 4.
    4 Course Learning Outcomes(CLOs) Introduce object-oriented programming paradigm in C++. Explain basic concepts of OOP paradigm like encapsulation, polymorphism, abstraction, inheritance, and data hiding. Implement OOP, Generic Programming Concepts and manipulate exception handling using Code Blocks. To identify ethical concerns in program writing and intellectual contexts by adhering to the rule of using signature programming. Designed by Dr. Kamran Ahmad Awan © Common Creative License 4.0 Department of Information Technology – The University of Haripur
  • 5.
    5 Recommended books C++ HowTo Program: Harvey & Paul Dietel (Recommended) Object-Oriented Software Engineering: Jacobson, Christerson, Jonsson The C++ Programming Language: Bjarne Stroustrup Designed & Prepared by Dr. Kamran Ahmad Awan © Common Creative License 4.0 Department of Information Technology – The University of Haripur
  • 6.
    6 Reference books Greg Perryand Marcus Johnson, Turbo C++ by Example, Prentice Hall. Stanley B. Lippman, C++ Primer, 2nd edition. Java Class Libraries Unleashed, SAMS Publishing. Designed & Prepared by Dr. Kamran Ahmad Awan © Common Creative License 4.0 Department of Information Technology – The University of Haripur
  • 7.
    7 General Instructions Attendance ismandatory. Every class is important. All deadlines are hard. Under normal circumstances late work will not be accepted. Students are required to take all the tests. No make-up tests will be given under normal circumstances. There is 0 tolerance for plagiarism. Any form of cheating on exams/assignments/quizzes is subject to serious penalty. Attendance 75% attendance is mandatory. Latecomers will be marked as absent Designed & Prepared by Dr. Kamran Ahmad Awan © Common Creative License 4.0 Department of Information Technology – The University of Haripur
  • 8.
  • 9.
    9 Introduction to OOP Classes/Objects ClassMethods Constructors Access Specifiers Destructors & Structure Enumeration in C++ Encapsulation Inheritance Friend Class & Function Polymorphism Files and Exceptions Data Abstraction Interfaces in C++ Content
  • 10.
    That’s all aboutIntroduction… Object Oriented Programming Designed & Prepared by Dr. Kamran Ahmad Awan © Common Creative License 4.0 Department of Information Technology – The University of Haripur