SlideShare a Scribd company logo
2
Most read
3
Most read
5
Most read
TAE 2
Subject: Object Oriented Programming
Topic: Procedure Oriented Programming
vs.
Object Oriented Programming
Guided by:
Ms. Diksha Bhoyar
Group No : 06
(SCOB48) Uttam Singh
Procedure Oriented
Programming
Object Oriented
Programming
 Program is divided into parts called
objects.
 OOP has access specifiers named
Public, Private, Protected, etc.
 Provides Data Hiding so provides
more security.
 In OOP, overloading is possible in
the form of Function Overloading
and Operator Overloading.
 In OOP, data can not move easily
from function to function, it can be
kept public or private so we can
control the access of data.
 Example of OOP are : C++, JAVA,
VB.NET, C#.NET.
 In POP, program is divided into small
parts called functions.
 POP does not have any access specifiers
(I.e) by default it is public only.
 POP does not have any proper way for
hiding data so it is less secure.
 In POP, Overloading is not possible.
 In POP, Most function uses Global data
for sharing that can be accessed freely
from function to function in the system.
 Example of POP are : C, VB, FORTRAN,
Pascal.
REAL TIME EXAMPES OF POPS AND
OOPS WITH SOME SITUATION
 Suppose that we suddenly need to add a bus form, that
records the following information:
Color, Engine Size, Transmission Type
Number of passengers
 Procedural: We need to recreate the entire form, repeating
the code for Color, Engine Size, and Transmission Type.
 OOP: We simply extend the vehicle class with a bus class and
add the method, number Of Passengers.
SITUATION 2
 If the client in vehicle company wants to change
the colors of all the vehicles for some reason.
 Procedural: We have to change three different
forms: cars, trucks, and buses color differently
one by one for the client as its follows procedure
step by step .
 OOP: We change the color method in the vehicle
class and because the car, truck, and bus classes
all are inherited from one derived class they are
automatically updated.
Procedure Oriented
Programming
Object Oriented
Programming
Advantages
 It is easy to understand.
 It models the real world(i.e) it can
be easily extended.
 It offers reusability (i.e) already
created classes can be reuse without
having to write them again.
 These are easier to test and
maintain.
Disadvantages
 It needs a proper planning and
proper designing
 Program designing is sometime
tricky.
Advantages
 Its relative simplicity, and ease of
implementation of compilers and
interpreters.
 An easier way to keep track of program
flow.
 Needs only less memory.
Disadvantages
 Data is exposed to whole program, so no
security for data.
 The does not offer the ability to re-use
the same code at different places.
 Difficult to relate with real world objects.
 Difficult to create new data types reduces
extensibility.
PROCEDURAL ORIENTED PROGRAMMING VS OBJECT ORIENTED PROGRAMING

More Related Content

What's hot (20)

PPT
FUNCTIONS IN c++ PPT
03062679929
 
PPTX
Chapter 05 classes and objects
Praveen M Jigajinni
 
PPT
friend function(c++)
Ritika Sharma
 
PPT
Databases: Normalisation
Damian T. Gordon
 
PPTX
Types of Constructor in C++
Bhavik Vashi
 
PPTX
Visual Basic Controls ppt
Ranjuma Shubhangi
 
PPTX
Constructor and Types of Constructors
Dhrumil Panchal
 
PPTX
Procedural programming
Ankit92Chitnavis
 
PPS
String and string buffer
kamal kotecha
 
PPTX
Introduction to Object Oriented Programming
Moutaz Haddara
 
PPTX
database language ppt.pptx
Anusha sivakumar
 
PPTX
Functions in c++
Rokonuzzaman Rony
 
PPTX
Methods in java
chauhankapil
 
PPTX
Functions in Python
Shakti Singh Rathore
 
PPT
Function overloading(c++)
Ritika Sharma
 
PPTX
DATABASE CONSTRAINTS
sunanditaAnand
 
PPTX
Programming in c Arrays
janani thirupathi
 
PPTX
Inheritance in java
RahulAnanda1
 
PPT
Abstract data types
Poojith Chowdhary
 
PPTX
Oop c++class(final).ppt
Alok Kumar
 
FUNCTIONS IN c++ PPT
03062679929
 
Chapter 05 classes and objects
Praveen M Jigajinni
 
friend function(c++)
Ritika Sharma
 
Databases: Normalisation
Damian T. Gordon
 
Types of Constructor in C++
Bhavik Vashi
 
Visual Basic Controls ppt
Ranjuma Shubhangi
 
Constructor and Types of Constructors
Dhrumil Panchal
 
Procedural programming
Ankit92Chitnavis
 
String and string buffer
kamal kotecha
 
Introduction to Object Oriented Programming
Moutaz Haddara
 
database language ppt.pptx
Anusha sivakumar
 
Functions in c++
Rokonuzzaman Rony
 
Methods in java
chauhankapil
 
Functions in Python
Shakti Singh Rathore
 
Function overloading(c++)
Ritika Sharma
 
DATABASE CONSTRAINTS
sunanditaAnand
 
Programming in c Arrays
janani thirupathi
 
Inheritance in java
RahulAnanda1
 
Abstract data types
Poojith Chowdhary
 
Oop c++class(final).ppt
Alok Kumar
 

Similar to PROCEDURAL ORIENTED PROGRAMMING VS OBJECT ORIENTED PROGRAMING (20)

PPTX
OOPs Concepts Like Diff Between OOP and POP,merits demarit and their imp conc...
csea20222026
 
PPTX
Compare between pop and oop
Md Ibrahim Khalil
 
PPTX
Object Oriented programming - Introduction
Madishetty Prathibha
 
PPTX
OOPM - Introduction.pptx
amitabhaslideshare
 
PPTX
Procedure oriented programming
MrShahbazRafiq
 
PPTX
diffrence between procedure oriented programming & object oriented programmin...
nihar joshi
 
PPTX
Presentation c
Kunal Sharma
 
PDF
C++ notes.pdf
RajanBagale3
 
PDF
slidesgo-comparative-analysis-of-procedural-programming-and-object-oriented-p...
RollyBoyRyanPionilla
 
PPTX
IET307 OOP - object oriented programming concepts.pptx
BasithAb2
 
PPTX
OOP-1.pptx
iansebuabeh
 
PPTX
OOP.pptx
kalyanibedekar
 
PPTX
principle of oop’s in cpp
gourav kottawar
 
PPT
Abhiram
Abhiram Sadhu
 
PDF
object oriented programming concepts and explanation
SATYA136395
 
PDF
Oop basic overview
Deborah Akuoko
 
PDF
1.2 Need of Object-Oriented Programming.pdf
VikasNirgude2
 
PPTX
Introduction to Object Oriented Programming.pptx
ssuser8d54ed
 
PPTX
Oop chapter 1 procedural vs oop
saira68
 
OOPs Concepts Like Diff Between OOP and POP,merits demarit and their imp conc...
csea20222026
 
Compare between pop and oop
Md Ibrahim Khalil
 
Object Oriented programming - Introduction
Madishetty Prathibha
 
OOPM - Introduction.pptx
amitabhaslideshare
 
Procedure oriented programming
MrShahbazRafiq
 
diffrence between procedure oriented programming & object oriented programmin...
nihar joshi
 
Presentation c
Kunal Sharma
 
C++ notes.pdf
RajanBagale3
 
slidesgo-comparative-analysis-of-procedural-programming-and-object-oriented-p...
RollyBoyRyanPionilla
 
IET307 OOP - object oriented programming concepts.pptx
BasithAb2
 
OOP-1.pptx
iansebuabeh
 
OOP.pptx
kalyanibedekar
 
principle of oop’s in cpp
gourav kottawar
 
Abhiram
Abhiram Sadhu
 
object oriented programming concepts and explanation
SATYA136395
 
Oop basic overview
Deborah Akuoko
 
1.2 Need of Object-Oriented Programming.pdf
VikasNirgude2
 
Introduction to Object Oriented Programming.pptx
ssuser8d54ed
 
Oop chapter 1 procedural vs oop
saira68
 
Ad

Recently uploaded (20)

PDF
Ethics and Trustworthy AI in Healthcare – Governing Sensitive Data, Profiling...
AlqualsaDIResearchGr
 
PPTX
Thermal runway and thermal stability.pptx
godow93766
 
PDF
PORTFOLIO Golam Kibria Khan — architect with a passion for thoughtful design...
MasumKhan59
 
PPTX
Product Development & DevelopmentLecture02.pptx
zeeshanwazir2
 
PPTX
Mechanical Design of shell and tube heat exchangers as per ASME Sec VIII Divi...
shahveer210504
 
PDF
MAD Unit - 2 Activity and Fragment Management in Android (Diploma IT)
JappanMavani
 
PPTX
GitOps_Repo_Structure for begeinner(Scaffolindg)
DanialHabibi2
 
PPTX
artificial intelligence applications in Geomatics
NawrasShatnawi1
 
PDF
Zilliz Cloud Demo for performance and scale
Zilliz
 
PPTX
Evaluation and thermal analysis of shell and tube heat exchanger as per requi...
shahveer210504
 
PPTX
GitOps_Without_K8s_Training simple one without k8s
DanialHabibi2
 
PPTX
Worm gear strength and wear calculation as per standard VB Bhandari Databook.
shahveer210504
 
DOCX
CS-802 (A) BDH Lab manual IPS Academy Indore
thegodhimself05
 
PPTX
Green Building & Energy Conservation ppt
Sagar Sarangi
 
PPTX
Shinkawa Proposal to meet Vibration API670.pptx
AchmadBashori2
 
PPT
PPT2_Metal formingMECHANICALENGINEEIRNG .ppt
Praveen Kumar
 
PPTX
Day2 B2 Best.pptx
helenjenefa1
 
PDF
Set Relation Function Practice session 24.05.2025.pdf
DrStephenStrange4
 
PPTX
265587293-NFPA 101 Life safety code-PPT-1.pptx
chandermwason
 
PDF
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
Ethics and Trustworthy AI in Healthcare – Governing Sensitive Data, Profiling...
AlqualsaDIResearchGr
 
Thermal runway and thermal stability.pptx
godow93766
 
PORTFOLIO Golam Kibria Khan — architect with a passion for thoughtful design...
MasumKhan59
 
Product Development & DevelopmentLecture02.pptx
zeeshanwazir2
 
Mechanical Design of shell and tube heat exchangers as per ASME Sec VIII Divi...
shahveer210504
 
MAD Unit - 2 Activity and Fragment Management in Android (Diploma IT)
JappanMavani
 
GitOps_Repo_Structure for begeinner(Scaffolindg)
DanialHabibi2
 
artificial intelligence applications in Geomatics
NawrasShatnawi1
 
Zilliz Cloud Demo for performance and scale
Zilliz
 
Evaluation and thermal analysis of shell and tube heat exchanger as per requi...
shahveer210504
 
GitOps_Without_K8s_Training simple one without k8s
DanialHabibi2
 
Worm gear strength and wear calculation as per standard VB Bhandari Databook.
shahveer210504
 
CS-802 (A) BDH Lab manual IPS Academy Indore
thegodhimself05
 
Green Building & Energy Conservation ppt
Sagar Sarangi
 
Shinkawa Proposal to meet Vibration API670.pptx
AchmadBashori2
 
PPT2_Metal formingMECHANICALENGINEEIRNG .ppt
Praveen Kumar
 
Day2 B2 Best.pptx
helenjenefa1
 
Set Relation Function Practice session 24.05.2025.pdf
DrStephenStrange4
 
265587293-NFPA 101 Life safety code-PPT-1.pptx
chandermwason
 
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
Ad

PROCEDURAL ORIENTED PROGRAMMING VS OBJECT ORIENTED PROGRAMING

  • 1. TAE 2 Subject: Object Oriented Programming Topic: Procedure Oriented Programming vs. Object Oriented Programming Guided by: Ms. Diksha Bhoyar Group No : 06 (SCOB48) Uttam Singh
  • 2. Procedure Oriented Programming Object Oriented Programming  Program is divided into parts called objects.  OOP has access specifiers named Public, Private, Protected, etc.  Provides Data Hiding so provides more security.  In OOP, overloading is possible in the form of Function Overloading and Operator Overloading.  In OOP, data can not move easily from function to function, it can be kept public or private so we can control the access of data.  Example of OOP are : C++, JAVA, VB.NET, C#.NET.  In POP, program is divided into small parts called functions.  POP does not have any access specifiers (I.e) by default it is public only.  POP does not have any proper way for hiding data so it is less secure.  In POP, Overloading is not possible.  In POP, Most function uses Global data for sharing that can be accessed freely from function to function in the system.  Example of POP are : C, VB, FORTRAN, Pascal.
  • 3. REAL TIME EXAMPES OF POPS AND OOPS WITH SOME SITUATION  Suppose that we suddenly need to add a bus form, that records the following information: Color, Engine Size, Transmission Type Number of passengers  Procedural: We need to recreate the entire form, repeating the code for Color, Engine Size, and Transmission Type.  OOP: We simply extend the vehicle class with a bus class and add the method, number Of Passengers.
  • 4. SITUATION 2  If the client in vehicle company wants to change the colors of all the vehicles for some reason.  Procedural: We have to change three different forms: cars, trucks, and buses color differently one by one for the client as its follows procedure step by step .  OOP: We change the color method in the vehicle class and because the car, truck, and bus classes all are inherited from one derived class they are automatically updated.
  • 5. Procedure Oriented Programming Object Oriented Programming Advantages  It is easy to understand.  It models the real world(i.e) it can be easily extended.  It offers reusability (i.e) already created classes can be reuse without having to write them again.  These are easier to test and maintain. Disadvantages  It needs a proper planning and proper designing  Program designing is sometime tricky. Advantages  Its relative simplicity, and ease of implementation of compilers and interpreters.  An easier way to keep track of program flow.  Needs only less memory. Disadvantages  Data is exposed to whole program, so no security for data.  The does not offer the ability to re-use the same code at different places.  Difficult to relate with real world objects.  Difficult to create new data types reduces extensibility.