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
Oop lecture 01
Oop lecture 01
Oop lecture 01

More Related Content

Similar to Oop lecture 01

Object oriented analysis
Object oriented analysisObject oriented analysis
Object oriented analysis
Luis Goldster
 
Object oriented analysis
Object oriented analysisObject oriented analysis
Object oriented analysis
Young Alista
 
Object oriented analysis
Object oriented analysisObject oriented analysis
Object oriented analysis
Fraboni Ec
 
Object oriented analysis
Object oriented analysisObject oriented analysis
Object oriented analysis
Tony Nguyen
 
Object oriented analysis
Object oriented analysisObject oriented analysis
Object oriented analysis
James Wong
 
Object oriented analysis
Object oriented analysisObject oriented analysis
Object oriented analysis
Harry Potter
 
Eeri 314 pec 2013
Eeri 314 pec 2013Eeri 314 pec 2013
Eeri 314 pec 2013
Drifter92
 
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
AqeelAbbas94
 
ADDIE & Distane Education
ADDIE & Distane EducationADDIE & Distane Education
ADDIE & Distane Education
Sidra 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 track
Mona Farag
 
elearning technologies specialist_intake35_000-003
elearning technologies specialist_intake35_000-003elearning technologies specialist_intake35_000-003
elearning technologies specialist_intake35_000-003
Ahmed Elbaz
 
elearning technologies specialist_intake35_000-003
elearning technologies specialist_intake35_000-003elearning technologies specialist_intake35_000-003
elearning technologies specialist_intake35_000-003
Mariam Magdy
 

Similar to Oop lecture 01 (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

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 

Recently uploaded (20)

Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 

Oop lecture 01

  • 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