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

PPTX
Object Oriented Programming ppt presentation
PDF
WEB I - 01 - Introduction to Web Development
DOCX
Sdlc process document
PPTX
IoT Levels and Deployment Templates
PPT
Class and object in C++
PPTX
Ch15 software reuse
PPTX
Iot ppt
PPTX
College Department Management System
Object Oriented Programming ppt presentation
WEB I - 01 - Introduction to Web Development
Sdlc process document
IoT Levels and Deployment Templates
Class and object in C++
Ch15 software reuse
Iot ppt
College Department Management System

What's hot (20)

PPTX
Python PPT
PPTX
Basic Concepts of OOPs (Object Oriented Programming in Java)
PDF
Chapter 02: Classes Objects and Methods Java by Tushar B Kute
PDF
Strings in python
PPTX
Python Functions
PDF
Python Functions Tutorial | Working With Functions In Python | Python Trainin...
PDF
Data Visualization in Python
PPSX
Modules and packages in python
PDF
Python recursion
PPTX
Javascript functions
PPTX
Constructor in java
PDF
Python made easy
PDF
Methods in Java
PPTX
Introduction to Object Oriented Programming
PDF
Collections In Java
PPTX
Python Lambda Function
PPTX
Intro to Python Programming Language
PPTX
Object oriented programming
PDF
Client-side JavaScript
PPT
Introduction to python
Python PPT
Basic Concepts of OOPs (Object Oriented Programming in Java)
Chapter 02: Classes Objects and Methods Java by Tushar B Kute
Strings in python
Python Functions
Python Functions Tutorial | Working With Functions In Python | Python Trainin...
Data Visualization in Python
Modules and packages in python
Python recursion
Javascript functions
Constructor in java
Python made easy
Methods in Java
Introduction to Object Oriented Programming
Collections In Java
Python Lambda Function
Intro to Python Programming Language
Object oriented programming
Client-side JavaScript
Introduction to python
Ad

Viewers also liked (14)

PPT
Basic concepts of object oriented programming
PPT
Object Oriented Programming Concepts
PPTX
Need of object oriented programming
PPT
Oops ppt
PPT
Lecture 2
PPT
Object-Oriented Programming Concepts
PPTX
Object oriented programming concept
PPTX
Object Oriented Software Engineering
PPT
Concepts In Object Oriented Programming Languages
PPTX
Object Oriented Programming Concepts
PPTX
Object Oriented Programming Concepts
PPTX
Bus tracking application in Android
PPTX
Online recruitment system
PDF
Object oriented software engineering concepts
Basic concepts of object oriented programming
Object Oriented Programming Concepts
Need of object oriented programming
Oops ppt
Lecture 2
Object-Oriented Programming Concepts
Object oriented programming concept
Object Oriented Software Engineering
Concepts In Object Oriented Programming Languages
Object Oriented Programming Concepts
Object Oriented Programming Concepts
Bus tracking application in Android
Online recruitment system
Object oriented software engineering concepts
Ad

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

PPT
PPT
C-ing the Future
PPT
Software Engineering Lec5 oop-uml-i
PPTX
OOP Lecture 01.pptx
PDF
Object Modelling Technique " ooad "
PPTX
Ooad unit – 1 introduction
PPT
M01_OO_Intro.ppt
PDF
Handout on Object orienetd Analysis and Design
PPTX
COMP111-Week-1_138439.pptx
PPTX
ooadunitiintroduction-150730050129-lva1-app6892.pptx
PDF
ppt_ooad.pdf
PDF
Paradigm Wars: Object Oriented Vs Functional Programming in creating MarkParser
PPT
Object Oriented Concept
 
PDF
Seng 123 8-ooad
PPTX
Objects_Data_Functions_Cinematic_Presentation (1).pptx
PPTX
Lecture 1 oop
PPTX
Design patterns
PPTX
Object oriented progrmming
C-ing the Future
Software Engineering Lec5 oop-uml-i
OOP Lecture 01.pptx
Object Modelling Technique " ooad "
Ooad unit – 1 introduction
M01_OO_Intro.ppt
Handout on Object orienetd Analysis and Design
COMP111-Week-1_138439.pptx
ooadunitiintroduction-150730050129-lva1-app6892.pptx
ppt_ooad.pdf
Paradigm Wars: Object Oriented Vs Functional Programming in creating MarkParser
Object Oriented Concept
 
Seng 123 8-ooad
Objects_Data_Functions_Cinematic_Presentation (1).pptx
Lecture 1 oop
Design patterns
Object oriented progrmming

Recently uploaded (20)

PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Computing-Curriculum for Schools in Ghana
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
Pharma ospi slides which help in ospi learning
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Complications of Minimal Access Surgery at WLH
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
GDM (1) (1).pptx small presentation for students
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Basic Mud Logging Guide for educational purpose
PDF
Pre independence Education in Inndia.pdf
PDF
Sports Quiz easy sports quiz sports quiz
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Computing-Curriculum for Schools in Ghana
FourierSeries-QuestionsWithAnswers(Part-A).pdf
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Pharma ospi slides which help in ospi learning
STATICS OF THE RIGID BODIES Hibbelers.pdf
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Complications of Minimal Access Surgery at WLH
Abdominal Access Techniques with Prof. Dr. R K Mishra
GDM (1) (1).pptx small presentation for students
VCE English Exam - Section C Student Revision Booklet
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Basic Mud Logging Guide for educational purpose
Pre independence Education in Inndia.pdf
Sports Quiz easy sports quiz sports quiz
Supply Chain Operations Speaking Notes -ICLT Program
102 student loan defaulters named and shamed – Is someone you know on the list?
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...

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