SlideShare a Scribd company logo
1 of 15
Object Oriented
Programming
By Noor Wali Khan
Uoch
Course Objective
•Objective of this course is to make students
familiar with Object Oriented concepts of
Programming
•By the end of this module the students should
be able to know what is involved in creating a
fully functional program
Course Contents
• Object Orientation
• Objects and Classes
• Overloading
• Inheritance
• Encapsulation
• Abstraction
• Polymorphism
• etc etc
Books
•C++ How to Program By Deitel & Deitel
•The C++ Programming Language By
Bjarne Stroustup
•C++ (IT series)
Grading Policy
•Total Marks 100
•Midterm 30
•Final Term 50
•Internal 20 (Assignments,
Presentation, Attendance)
Object Oriented Programing
Object Oriented Programing
•It is a technique for system modeling
•Object Oriented Model consists of several
Interacting objects.
What is Model?
• A model is an abstraction of something (real, conceptual)
• The purpose of Modeling/Model is to understand the product before
developing it.
• E.g.
• Highway Model
• Architectural Model
• Mechanical Models
• Objects:
• Ali
• Car
• House
• Tree
Entity
Entity
Entity
Entity
• Interactions:
• Ali lives in a
House
• Ali drives a car
Behavior
Advantages of Object Orientation
• Peoples think in terms of objects
• OO maps to reality
• Therefore, OO models are:
• Easy to understand
• Easy to develop
What is Object?
• An object is something Tangible (ali, Car, House, Tree)
• Something that can be apprehended intellectually
(DOB, Time)
• An object has:
• It must have state(attributes)
• Well defined behaviors(Operations)
• Unique identity
Object Oriented Programming Concepts
Object Oriented Programming Concepts
Object Oriented Programming Concepts

More Related Content

Similar to Object Oriented Programming Concepts

Object oriented analysis
Object oriented analysisObject oriented analysis
Object oriented analysisLuis Goldster
 
Object oriented analysis
Object oriented analysisObject oriented analysis
Object oriented analysisYoung Alista
 
Object oriented analysis
Object oriented analysisObject oriented analysis
Object oriented analysisHoang Nguyen
 
Object oriented analysis
Object oriented analysisObject oriented analysis
Object oriented analysisFraboni Ec
 
Object oriented analysis
Object oriented analysisObject oriented analysis
Object oriented analysisTony Nguyen
 
Object oriented analysis
Object oriented analysisObject oriented analysis
Object oriented analysisJames Wong
 
Object oriented analysis
Object oriented analysisObject oriented analysis
Object oriented analysisHarry Potter
 
Activity-Led Learning – an example
Activity-Led Learning – an exampleActivity-Led Learning – an example
Activity-Led Learning – an exampleUrsula Rutherford
 
Carpe diem power point slides
Carpe diem power point slidesCarpe diem power point slides
Carpe diem power point slidesAnne-Mart Olsen
 
Eeri 314 pec 2013
Eeri 314 pec 2013Eeri 314 pec 2013
Eeri 314 pec 2013Drifter92
 
5th Annual Conf. | Developing projects that deliver the learning that employe...
5th Annual Conf. | Developing projects that deliver the learning that employe...5th Annual Conf. | Developing projects that deliver the learning that employe...
5th Annual Conf. | Developing projects that deliver the learning that employe...Wholeeducation
 
1-Lec - Introduction vhvv,vbvv,v (2).ppt
1-Lec - Introduction vhvv,vbvv,v (2).ppt1-Lec - Introduction vhvv,vbvv,v (2).ppt
1-Lec - Introduction vhvv,vbvv,v (2).pptAqeelAbbas94
 
Applying Gamification Principles to Online Faculty Professional Development
Applying Gamification Principles to Online Faculty Professional DevelopmentApplying Gamification Principles to Online Faculty Professional Development
Applying Gamification Principles to Online Faculty Professional DevelopmentMichael Wilder
 
ADDIE & Distane Education
ADDIE & Distane EducationADDIE & Distane Education
ADDIE & Distane EducationSidra Nadeem
 
intake_34_instructional designer_econtent developer track
intake_34_instructional designer_econtent developer trackintake_34_instructional designer_econtent developer track
intake_34_instructional designer_econtent developer trackMona Farag
 
elearning technologies specialist_intake35_000-003
elearning technologies specialist_intake35_000-003elearning technologies specialist_intake35_000-003
elearning technologies specialist_intake35_000-003Ahmed Elbaz
 
elearning technologies specialist_intake35_000-003
elearning technologies specialist_intake35_000-003elearning technologies specialist_intake35_000-003
elearning technologies specialist_intake35_000-003Mariam Magdy
 
Elearning technologies specialist intake35 000-003
Elearning technologies specialist intake35 000-003Elearning technologies specialist intake35 000-003
Elearning technologies specialist intake35 000-003Taha El Daowdy
 

Similar to Object Oriented Programming Concepts (20)

Object oriented analysis
Object oriented analysisObject oriented analysis
Object oriented analysis
 
Object oriented analysis
Object oriented analysisObject oriented analysis
Object oriented analysis
 
Object oriented analysis
Object oriented analysisObject oriented analysis
Object oriented analysis
 
Object oriented analysis
Object oriented analysisObject oriented analysis
Object oriented analysis
 
Object oriented analysis
Object oriented analysisObject oriented analysis
Object oriented analysis
 
Object oriented analysis
Object oriented analysisObject oriented analysis
Object oriented analysis
 
Object oriented analysis
Object oriented analysisObject oriented analysis
Object oriented analysis
 
Activity-Led Learning – an example
Activity-Led Learning – an exampleActivity-Led Learning – an example
Activity-Led Learning – an example
 
Lecture 1 oop
Lecture 1 oopLecture 1 oop
Lecture 1 oop
 
Carpe diem power point slides
Carpe diem power point slidesCarpe diem power point slides
Carpe diem power point slides
 
Eeri 314 pec 2013
Eeri 314 pec 2013Eeri 314 pec 2013
Eeri 314 pec 2013
 
Online education in the field of Responsible Education
Online education in the field of Responsible EducationOnline education in the field of Responsible Education
Online education in the field of Responsible Education
 
5th Annual Conf. | Developing projects that deliver the learning that employe...
5th Annual Conf. | Developing projects that deliver the learning that employe...5th Annual Conf. | Developing projects that deliver the learning that employe...
5th Annual Conf. | Developing projects that deliver the learning that employe...
 
1-Lec - Introduction vhvv,vbvv,v (2).ppt
1-Lec - Introduction vhvv,vbvv,v (2).ppt1-Lec - Introduction vhvv,vbvv,v (2).ppt
1-Lec - Introduction vhvv,vbvv,v (2).ppt
 
Applying Gamification Principles to Online Faculty Professional Development
Applying Gamification Principles to Online Faculty Professional DevelopmentApplying Gamification Principles to Online Faculty Professional Development
Applying Gamification Principles to Online Faculty Professional Development
 
ADDIE & Distane Education
ADDIE & Distane EducationADDIE & Distane Education
ADDIE & Distane Education
 
intake_34_instructional designer_econtent developer track
intake_34_instructional designer_econtent developer trackintake_34_instructional designer_econtent developer track
intake_34_instructional designer_econtent developer track
 
elearning technologies specialist_intake35_000-003
elearning technologies specialist_intake35_000-003elearning technologies specialist_intake35_000-003
elearning technologies specialist_intake35_000-003
 
elearning technologies specialist_intake35_000-003
elearning technologies specialist_intake35_000-003elearning technologies specialist_intake35_000-003
elearning technologies specialist_intake35_000-003
 
Elearning technologies specialist intake35 000-003
Elearning technologies specialist intake35 000-003Elearning technologies specialist intake35 000-003
Elearning technologies specialist intake35 000-003
 

More from University of Chitral (15)

Compiler lecture 07
Compiler lecture 07Compiler lecture 07
Compiler lecture 07
 
Compiler lecture 06
Compiler lecture 06Compiler lecture 06
Compiler lecture 06
 
Compiler lecture 04
Compiler lecture 04Compiler lecture 04
Compiler lecture 04
 
Compiler lecture 05
Compiler lecture 05Compiler lecture 05
Compiler lecture 05
 
Oop lecture 06
Oop lecture 06Oop lecture 06
Oop lecture 06
 
Oop lecture 05
Oop lecture 05Oop lecture 05
Oop lecture 05
 
OOP lecture 04
OOP  lecture 04OOP  lecture 04
OOP lecture 04
 
Compiler lecture 05
Compiler lecture 05Compiler lecture 05
Compiler lecture 05
 
Compiler lecture 04
Compiler lecture 04Compiler lecture 04
Compiler lecture 04
 
Compiler lecture 03
Compiler lecture 03Compiler lecture 03
Compiler lecture 03
 
Compiler lecture 01
Compiler lecture 01Compiler lecture 01
Compiler lecture 01
 
Compiler lecture 02
Compiler lecture 02Compiler lecture 02
Compiler lecture 02
 
O op lecture 04
O op lecture 04O op lecture 04
O op lecture 04
 
Oop lecture 03
Oop lecture 03Oop lecture 03
Oop lecture 03
 
Oop lecture 02
Oop lecture 02Oop lecture 02
Oop lecture 02
 

Recently uploaded

Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxAnaBeatriceAblay2
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonJericReyAuditor
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 

Recently uploaded (20)

Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lesson
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 

Object Oriented Programming Concepts

  • 2. Course Objective •Objective of this course is to make students familiar with Object Oriented concepts of Programming •By the end of this module the students should be able to know what is involved in creating a fully functional program
  • 3. Course Contents • Object Orientation • Objects and Classes • Overloading • Inheritance • Encapsulation • Abstraction • Polymorphism • etc etc
  • 4. Books •C++ How to Program By Deitel & Deitel •The C++ Programming Language By Bjarne Stroustup •C++ (IT series)
  • 5. Grading Policy •Total Marks 100 •Midterm 30 •Final Term 50 •Internal 20 (Assignments, Presentation, Attendance)
  • 7. Object Oriented Programing •It is a technique for system modeling •Object Oriented Model consists of several Interacting objects.
  • 8. What is Model? • A model is an abstraction of something (real, conceptual) • The purpose of Modeling/Model is to understand the product before developing it. • E.g. • Highway Model • Architectural Model • Mechanical Models
  • 9.
  • 10. • Objects: • Ali • Car • House • Tree Entity Entity Entity Entity • Interactions: • Ali lives in a House • Ali drives a car Behavior
  • 11. Advantages of Object Orientation • Peoples think in terms of objects • OO maps to reality • Therefore, OO models are: • Easy to understand • Easy to develop
  • 12. What is Object? • An object is something Tangible (ali, Car, House, Tree) • Something that can be apprehended intellectually (DOB, Time) • An object has: • It must have state(attributes) • Well defined behaviors(Operations) • Unique identity