SlideShare a Scribd company logo
7
Most read
15
Most read
18
Most read
Object oriented programming (oop)   cs304 power point slides lecture 01
Course Objective
Objective of this course is to make students familiar
 with the concepts of object-oriented programming

Concepts will be reinforced by their implementation
 in C++
Course Contents
Object-Orientation
Objects and Classes
Overloading
Inheritance
Polymorphism
Generic Programming
Exception Handling
Introduction to Design Patterns
Books
C++ How to Program
  By Deitel & Deitel

The C++ Programming Language
  By Bjarne Stroustrup


Object-Oriented Software Engineering
  By Jacobson, Christerson, Jonsson, Overgaard
Marks Distribution
 Assignments/Quizes                  10%
 Presentation                      5%
 Attendance                           5%
 Mid Term                                       20 %
Grading Policy
Marks Range (in %) Grade Point (Value)   Grade
91 and above       4.0                    A+
85-90              4.0                   A
77-84              3.5                   B+
70-76              3.0                   B
60-69              2.5                   C+
50-59             2.0                    C
Below 50          0.0                    F
Object oriented programming (oop)   cs304 power point slides lecture 01
What is Object-Orientation?
A technique for system modeling


OO model consists of several interacting objects
What is a Model?
A model is an abstraction of something


Purpose is to understand the product before
 developing it
Examples – Model
Highway maps


Architectural models


Mechanical models
Example – OO Model
…Example – OO Model
                 lives-in
                              Ali        House
Objects
  Abu Bakar                    drives
  House
  Car
                          Car            Tree
  Tree
Interactions
  Abu Bakar lives in the house
  Abu Bakar drives the car
Object-Orientation - Advantages
People think in terms of objects


OO models map to reality


Therefore, OO models are
  easy to develop
  easy to understand
What is an Object?
An object is

Something tangible (Ali, Car)


Something that can be apprehended intellectually
 (Time, Date)
… What is an Object?
An object has

State (attributes)
Well-defined behaviour (operations)
Unique identity
Example – Ali is a Tangible Object
State (attributes)
  Name
  Age
behaviour (operations)
  Walks
  Eats
Identity
  His name
Example – Car is a Tangible Object
State (attributes)
  - Color
  - Model
behaviour (operations)
  - Accelerate                - Start Car
  - Change Gear
Identity
  - Its registration number
Example – Time is an Object
Apprehended Intellectually
State (attributes)
  - Hours                 - Seconds
  - Minutes
behaviour (operations)
  - Set Hours             - Set Seconds
  - Set Minutes
Identity
  - Would have a unique ID in the model
Example – Date is an Object
Apprehended Intellectually
State (attributes)
  - Year                  - Day
  - Month
behaviour (operations)
  - Set Year      - Set Day
  - Set Month
Identity
  - Would have a unique ID in the model

More Related Content

What's hot (20)

PPTX
Characteristics of OOPS
abhishek kumar
 
PPT
Object Oriented Programming Concepts
thinkphp
 
PPTX
Java exception handling
BHUVIJAYAVELU
 
PPTX
Exception handling c++
Jayant Dalvi
 
PPT
Oops in Java
malathip12
 
PPTX
Object Oriented Programming Using C++
Muhammad Waqas
 
PPTX
07. Virtual Functions
Haresh Jaiswal
 
PPTX
Basic Concepts of OOPs (Object Oriented Programming in Java)
Michelle Anne Meralpis
 
PPT
Exception Handling in JAVA
SURIT DATTA
 
PPT
Oops ppt
abhayjuneja
 
PPTX
Object Oriented Programming Concepts for beginners
Vibhawa Nirmal
 
PPT
Object-oriented concepts
BG Java EE Course
 
PPTX
Four Pillers Of OOPS
Shwetark Deshpande
 
PPTX
Method overloading
Lovely Professional University
 
PPTX
Abstract class and Interface
Haris Bin Zahid
 
PDF
Introduction to algorithms
subhashchandra197
 
PDF
Python-01| Fundamentals
Mohd Sajjad
 
PPTX
Presentation on-exception-handling
Nahian Ahmed
 
PPT
Pipeline hazard
AJAL A J
 
PPSX
Exception Handling
Reddhi Basu
 
Characteristics of OOPS
abhishek kumar
 
Object Oriented Programming Concepts
thinkphp
 
Java exception handling
BHUVIJAYAVELU
 
Exception handling c++
Jayant Dalvi
 
Oops in Java
malathip12
 
Object Oriented Programming Using C++
Muhammad Waqas
 
07. Virtual Functions
Haresh Jaiswal
 
Basic Concepts of OOPs (Object Oriented Programming in Java)
Michelle Anne Meralpis
 
Exception Handling in JAVA
SURIT DATTA
 
Oops ppt
abhayjuneja
 
Object Oriented Programming Concepts for beginners
Vibhawa Nirmal
 
Object-oriented concepts
BG Java EE Course
 
Four Pillers Of OOPS
Shwetark Deshpande
 
Method overloading
Lovely Professional University
 
Abstract class and Interface
Haris Bin Zahid
 
Introduction to algorithms
subhashchandra197
 
Python-01| Fundamentals
Mohd Sajjad
 
Presentation on-exception-handling
Nahian Ahmed
 
Pipeline hazard
AJAL A J
 
Exception Handling
Reddhi Basu
 

Viewers also liked (11)

PPT
Basic concepts of object oriented programming
Sachin Sharma
 
PPTX
Need of object oriented programming
Amar Jukuntla
 
PPT
Lecture 2
emailharmeet
 
PPTX
Object oriented programming concept
Pina Parmar
 
PPTX
Object Oriented Software Engineering
Ali Haider
 
PPT
Concepts In Object Oriented Programming Languages
ppd1961
 
PPTX
Object Oriented Programming Concepts
Abhigyan Singh Yadav
 
PPTX
Object Oriented Programming Concepts
Bhushan Nagaraj
 
PPTX
Bus tracking application in Android
yashonil
 
PPTX
Online recruitment system
Komal Singh
 
PDF
Object oriented software engineering concepts
Komal Singh
 
Basic concepts of object oriented programming
Sachin Sharma
 
Need of object oriented programming
Amar Jukuntla
 
Lecture 2
emailharmeet
 
Object oriented programming concept
Pina Parmar
 
Object Oriented Software Engineering
Ali Haider
 
Concepts In Object Oriented Programming Languages
ppd1961
 
Object Oriented Programming Concepts
Abhigyan Singh Yadav
 
Object Oriented Programming Concepts
Bhushan Nagaraj
 
Bus tracking application in Android
yashonil
 
Online recruitment system
Komal Singh
 
Object oriented software engineering concepts
Komal Singh
 
Ad

Similar to Object oriented programming (oop) cs304 power point slides lecture 01 (20)

PDF
ppt_ooad.pdf
anuj962198
 
PPTX
What is Object Orientation?
AMITJain879
 
PPTX
ooadunitiintroduction-150730050129-lva1-app6892.pptx
ubaidullah75790
 
PDF
Object Modelling Technique " ooad "
AchrafJbr
 
PPTX
Ooad unit – 1 introduction
Babeetha Muruganantham
 
PPT
M01 Oo Intro
Dang Tuan
 
PDF
Handout on Object orienetd Analysis and Design
SAFAD ISMAIL
 
PDF
Cs 2352 object oriented analysis and design
andrewsasi
 
PPT
Unit 1( modelling concepts & class modeling)
Manoj Reddy
 
PPT
M01_OO_Intro.ppt
RAJESH S
 
PPT
AI_Module_2_Engineering_Computer_Science.ppt
Kavikiran3
 
PPT
4.OOAD - INTRODUCTION the introduction.p
arpit745898
 
PPTX
Unit 1 OOSE
ChhayaShelake
 
PPT
Introduction of object oriented analysis & design by sarmad baloch
Sarmad Baloch
 
PPT
Oot
Rajesh Kumar
 
PPTX
Software_Engineering_Presentation (1).pptx
ArifaMehreen1
 
PPT
M01_OO_Intro.ppt
RojaPogul1
 
PPT
MODULE1 GGUY8IFSEW579O0OIIHHGRFTY JI9OUIYFD
rani540096
 
PPTX
OOSD1-unit1_1_16_09.pptx
ShobhitSrivastava15887
 
PPT
Module01_OO_Intro.ppt
NelsonYanes6
 
ppt_ooad.pdf
anuj962198
 
What is Object Orientation?
AMITJain879
 
ooadunitiintroduction-150730050129-lva1-app6892.pptx
ubaidullah75790
 
Object Modelling Technique " ooad "
AchrafJbr
 
Ooad unit – 1 introduction
Babeetha Muruganantham
 
M01 Oo Intro
Dang Tuan
 
Handout on Object orienetd Analysis and Design
SAFAD ISMAIL
 
Cs 2352 object oriented analysis and design
andrewsasi
 
Unit 1( modelling concepts & class modeling)
Manoj Reddy
 
M01_OO_Intro.ppt
RAJESH S
 
AI_Module_2_Engineering_Computer_Science.ppt
Kavikiran3
 
4.OOAD - INTRODUCTION the introduction.p
arpit745898
 
Unit 1 OOSE
ChhayaShelake
 
Introduction of object oriented analysis & design by sarmad baloch
Sarmad Baloch
 
Software_Engineering_Presentation (1).pptx
ArifaMehreen1
 
M01_OO_Intro.ppt
RojaPogul1
 
MODULE1 GGUY8IFSEW579O0OIIHHGRFTY JI9OUIYFD
rani540096
 
OOSD1-unit1_1_16_09.pptx
ShobhitSrivastava15887
 
Module01_OO_Intro.ppt
NelsonYanes6
 
Ad

Recently uploaded (20)

PPTX
HYDROCEPHALUS: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
PPTX
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
PDF
SSHS-2025-PKLP_Quarter-1-Dr.-Kerby-Alvarez.pdf
AishahSangcopan1
 
PPTX
Soil and agriculture microbiology .pptx
Keerthana Ramesh
 
PPTX
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
PDF
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
PPTX
MENINGITIS: NURSING MANAGEMENT, BACTERIAL MENINGITIS, VIRAL MENINGITIS.pptx
PRADEEP ABOTHU
 
PPTX
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
PPTX
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
PDF
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
PDF
LAW OF CONTRACT ( 5 YEAR LLB & UNITARY LLB)- MODULE-3 - LEARN THROUGH PICTURE
APARNA T SHAIL KUMAR
 
PDF
LAW OF CONTRACT (5 YEAR LLB & UNITARY LLB )- MODULE - 1.& 2 - LEARN THROUGH P...
APARNA T SHAIL KUMAR
 
PDF
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
PPTX
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
PDF
The Different Types of Non-Experimental Research
Thelma Villaflores
 
PDF
Lesson 2 - WATER,pH, BUFFERS, AND ACID-BASE.pdf
marvinnbustamante1
 
PPTX
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
PDF
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
PDF
CEREBRAL PALSY: NURSING MANAGEMENT .pdf
PRADEEP ABOTHU
 
PDF
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
HYDROCEPHALUS: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
SSHS-2025-PKLP_Quarter-1-Dr.-Kerby-Alvarez.pdf
AishahSangcopan1
 
Soil and agriculture microbiology .pptx
Keerthana Ramesh
 
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
MENINGITIS: NURSING MANAGEMENT, BACTERIAL MENINGITIS, VIRAL MENINGITIS.pptx
PRADEEP ABOTHU
 
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
LAW OF CONTRACT ( 5 YEAR LLB & UNITARY LLB)- MODULE-3 - LEARN THROUGH PICTURE
APARNA T SHAIL KUMAR
 
LAW OF CONTRACT (5 YEAR LLB & UNITARY LLB )- MODULE - 1.& 2 - LEARN THROUGH P...
APARNA T SHAIL KUMAR
 
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
The Different Types of Non-Experimental Research
Thelma Villaflores
 
Lesson 2 - WATER,pH, BUFFERS, AND ACID-BASE.pdf
marvinnbustamante1
 
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
CEREBRAL PALSY: NURSING MANAGEMENT .pdf
PRADEEP ABOTHU
 
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 

Object oriented programming (oop) cs304 power point slides lecture 01

  • 2. Course Objective Objective of this course is to make students familiar with the concepts of object-oriented programming Concepts will be reinforced by their implementation in C++
  • 3. Course Contents Object-Orientation Objects and Classes Overloading Inheritance Polymorphism Generic Programming Exception Handling Introduction to Design Patterns
  • 4. Books C++ How to Program By Deitel & Deitel The C++ Programming Language By Bjarne Stroustrup Object-Oriented Software Engineering By Jacobson, Christerson, Jonsson, Overgaard
  • 5. Marks Distribution  Assignments/Quizes 10%  Presentation 5%  Attendance 5%  Mid Term 20 % Grading Policy Marks Range (in %) Grade Point (Value) Grade 91 and above 4.0 A+ 85-90 4.0 A 77-84 3.5 B+ 70-76 3.0 B 60-69 2.5 C+ 50-59 2.0 C Below 50 0.0 F
  • 7. What is Object-Orientation? A technique for system modeling OO model consists of several interacting objects
  • 8. What is a Model? A model is an abstraction of something Purpose is to understand the product before developing it
  • 9. Examples – Model Highway maps Architectural models Mechanical models
  • 10. Example – OO Model
  • 11. …Example – OO Model lives-in Ali House Objects Abu Bakar drives House Car Car Tree Tree Interactions Abu Bakar lives in the house Abu Bakar drives the car
  • 12. Object-Orientation - Advantages People think in terms of objects OO models map to reality Therefore, OO models are easy to develop easy to understand
  • 13. What is an Object? An object is Something tangible (Ali, Car) Something that can be apprehended intellectually (Time, Date)
  • 14. … What is an Object? An object has State (attributes) Well-defined behaviour (operations) Unique identity
  • 15. Example – Ali is a Tangible Object State (attributes) Name Age behaviour (operations) Walks Eats Identity His name
  • 16. Example – Car is a Tangible Object State (attributes) - Color - Model behaviour (operations) - Accelerate - Start Car - Change Gear Identity - Its registration number
  • 17. Example – Time is an Object Apprehended Intellectually State (attributes) - Hours - Seconds - Minutes behaviour (operations) - Set Hours - Set Seconds - Set Minutes Identity - Would have a unique ID in the model
  • 18. Example – Date is an Object Apprehended Intellectually State (attributes) - Year - Day - Month behaviour (operations) - Set Year - Set Day - Set Month Identity - Would have a unique ID in the model