SlideShare a Scribd company logo
Object oriented programming.
Vs
Procedural oriented programming.
Prepared by: nihar joshi
2/10
 In Pop Top down approach is use in program design.
 In oop bottom up approach use in program design.
 To add new data and function in pop is not so easy.
example:C requires all the variables to be defined at the starting of a scope.
 Oop provide easy way to add new data and function. we can add data member anywhere in program
example:C++ allows the declaration of variable anywhere in the scope i.e. at time of its First use.
3/10
 In pop No access specifiers are used.
example: In structure all the members are public.
 In oop Public,Private,protected Access specifiers are used.
example: in class data is private & member function is public
#include<iostream.h>
class a
{
private:
data
public:
member function
};
4/10
 In POP, Most function uses Global data for sharing that can be
accessed freely from function to function in the system.
 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: in class the data member declared in private mode are only access
through it’s member function.
5/10
 POP does not have any proper way for data hiding.
example: in structure data are declared in public mode so it is less secure.
 Oop provides data hiding, so it is more secure.
example: data member declare in private are not accessible outside class.
#Include<iostrean.h>
class a
{
int a;
void read();
public:
Void update();
void write();
};
int main(){
a ob;
ob.read(); //object can not access ,private member
}
6/10
 Pop program is divided into small parts called function.
 Oop program is divided into small part called object.
 In POP, Importance is not given to data but to functions as well as sequence of actions to be
done
 In OOP, Importance is given to the data rather than procedures or functions because it works as
a real world.
7/10
 In pop overloading is not possible.
 In oop overloading is possible in the form of function overloading
& operator overloading.
example: overloaded add().
//declaration
int add(int a,int b);
int add(int a,int b,int c);
double add(double x,double y);
double add(double p,double q);
8/10
 EXAMPLE OF POP:
i. C
ii. VB
iii. FORTRAN
iv. PASCAL
 EXAMPLE OF OOP:
i. C++,
ii. JAVA,
iii. VB.NET,
iv. C#.NET.
9/10
diffrence between procedure oriented programming & object oriented programming (pop vs oop)

More Related Content

What's hot (20)

PPTX
Linked List - Insertion & Deletion
Afaq Mansoor Khan
 
PPT
Object oriented analysis
Mahesh Bhalerao
 
PPTX
Binary Search Tree
sagar yadav
 
PPTX
linked list in data structure
shameen khan
 
PDF
linked lists in data structures
DurgaDeviCbit
 
DOC
Time and space complexity
Ankit Katiyar
 
PPTX
single linked list
Sathasivam Rangasamy
 
PPTX
Bubble sort | Data structure |
MdSaiful14
 
PPTX
B and B+ tree
Ashish Arun
 
PDF
Java threads
Prabhakaran V M
 
PPTX
Access specifier
zindadili
 
PPTX
Software engineering layers
Self-employed
 
PDF
Method Overloading In Java
CharthaGaglani
 
PPTX
Breadth First Search & Depth First Search
Kevin Jadiya
 
PPTX
Array Introduction One-dimensional array Multidimensional array
imtiazalijoono
 
PPTX
Insertion Sorting
FarihaHabib123
 
PPTX
Stacks and Queue - Data Structures
Dr. Jasmine Beulah Gnanadurai
 
PPTX
Linear data structure concepts
Akila Krishnamoorthy
 
PPTX
Algorithm
IHTISHAM UL HAQ
 
PPTX
Normal forms
Samuel Igbanogu
 
Linked List - Insertion & Deletion
Afaq Mansoor Khan
 
Object oriented analysis
Mahesh Bhalerao
 
Binary Search Tree
sagar yadav
 
linked list in data structure
shameen khan
 
linked lists in data structures
DurgaDeviCbit
 
Time and space complexity
Ankit Katiyar
 
single linked list
Sathasivam Rangasamy
 
Bubble sort | Data structure |
MdSaiful14
 
B and B+ tree
Ashish Arun
 
Java threads
Prabhakaran V M
 
Access specifier
zindadili
 
Software engineering layers
Self-employed
 
Method Overloading In Java
CharthaGaglani
 
Breadth First Search & Depth First Search
Kevin Jadiya
 
Array Introduction One-dimensional array Multidimensional array
imtiazalijoono
 
Insertion Sorting
FarihaHabib123
 
Stacks and Queue - Data Structures
Dr. Jasmine Beulah Gnanadurai
 
Linear data structure concepts
Akila Krishnamoorthy
 
Algorithm
IHTISHAM UL HAQ
 
Normal forms
Samuel Igbanogu
 

Similar to diffrence between procedure oriented programming & object oriented programming (pop vs oop) (20)

PPTX
Compare between pop and oop
Md Ibrahim Khalil
 
PPTX
OOPs Concepts Like Diff Between OOP and POP,merits demarit and their imp conc...
csea20222026
 
PPTX
PROCEDURAL ORIENTED PROGRAMMING VS OBJECT ORIENTED PROGRAMING
Uttam Singh
 
PPT
Abhiram
Abhiram Sadhu
 
PPTX
Oop in c++ lecture 1
zk75977
 
PPTX
Object Oriented programming - Introduction
Madishetty Prathibha
 
PPTX
Lec-01.pptx
MahdiHasan86
 
PPTX
IET307 OOP - object oriented programming concepts.pptx
BasithAb2
 
PDF
C++ notes.pdf
RajanBagale3
 
PPTX
principle of oop’s in cpp
gourav kottawar
 
PPTX
Oosd lecture unit 4 ppt introduction part
ManuSingh669370
 
PPTX
Unit - I Fundamentals of Object Oriented Programming .pptx
tanmaynanaware20
 
PPTX
Presentation c
Kunal Sharma
 
PDF
OOP ppt.pdf
ArpitaJana28
 
PPTX
OOP Unit 1 - Foundation of Object- Oriented Programming
dkpawar
 
PPTX
OOPM - Introduction.pptx
amitabhaslideshare
 
PPTX
Ch 1 Introduction to Object Oriented Programming.pptx
MahiDivya
 
PPTX
Object Oriented Programming
AyushiDubey19
 
PDF
1.2 Need of Object-Oriented Programming.pdf
VikasNirgude2
 
Compare between pop and oop
Md Ibrahim Khalil
 
OOPs Concepts Like Diff Between OOP and POP,merits demarit and their imp conc...
csea20222026
 
PROCEDURAL ORIENTED PROGRAMMING VS OBJECT ORIENTED PROGRAMING
Uttam Singh
 
Abhiram
Abhiram Sadhu
 
Oop in c++ lecture 1
zk75977
 
Object Oriented programming - Introduction
Madishetty Prathibha
 
Lec-01.pptx
MahdiHasan86
 
IET307 OOP - object oriented programming concepts.pptx
BasithAb2
 
C++ notes.pdf
RajanBagale3
 
principle of oop’s in cpp
gourav kottawar
 
Oosd lecture unit 4 ppt introduction part
ManuSingh669370
 
Unit - I Fundamentals of Object Oriented Programming .pptx
tanmaynanaware20
 
Presentation c
Kunal Sharma
 
OOP ppt.pdf
ArpitaJana28
 
OOP Unit 1 - Foundation of Object- Oriented Programming
dkpawar
 
OOPM - Introduction.pptx
amitabhaslideshare
 
Ch 1 Introduction to Object Oriented Programming.pptx
MahiDivya
 
Object Oriented Programming
AyushiDubey19
 
1.2 Need of Object-Oriented Programming.pdf
VikasNirgude2
 
Ad

Recently uploaded (20)

PPTX
artificial intelligence applications in Geomatics
NawrasShatnawi1
 
PDF
Introduction to Productivity and Quality
মোঃ ফুরকান উদ্দিন জুয়েল
 
PPTX
UNIT DAA PPT cover all topics 2021 regulation
archu26
 
PPTX
MobileComputingMANET2023 MobileComputingMANET2023.pptx
masterfake98765
 
PDF
Unified_Cloud_Comm_Presentation anil singh ppt
anilsingh298751
 
DOCX
8th International Conference on Electrical Engineering (ELEN 2025)
elelijjournal653
 
PPTX
Element 11. ELECTRICITY safety and hazards
merrandomohandas
 
PPTX
美国电子版毕业证南卡罗莱纳大学上州分校水印成绩单USC学费发票定做学位证书编号怎么查
Taqyea
 
PDF
Basic_Concepts_in_Clinical_Biochemistry_2018كيمياء_عملي.pdf
AdelLoin
 
PPTX
Arduino Based Gas Leakage Detector Project
CircuitDigest
 
PDF
6th International Conference on Machine Learning Techniques and Data Science ...
ijistjournal
 
PDF
MAD Unit - 1 Introduction of Android IT Department
JappanMavani
 
PPTX
GitOps_Repo_Structure for begeinner(Scaffolindg)
DanialHabibi2
 
PDF
Set Relation Function Practice session 24.05.2025.pdf
DrStephenStrange4
 
PPTX
Break Statement in Programming with 6 Real Examples
manojpoojary2004
 
PDF
Water Design_Manual_2005. KENYA FOR WASTER SUPPLY AND SEWERAGE
DancanNgutuku
 
PPTX
265587293-NFPA 101 Life safety code-PPT-1.pptx
chandermwason
 
PDF
Ethics and Trustworthy AI in Healthcare – Governing Sensitive Data, Profiling...
AlqualsaDIResearchGr
 
PPTX
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
PPT
PPT2_Metal formingMECHANICALENGINEEIRNG .ppt
Praveen Kumar
 
artificial intelligence applications in Geomatics
NawrasShatnawi1
 
Introduction to Productivity and Quality
মোঃ ফুরকান উদ্দিন জুয়েল
 
UNIT DAA PPT cover all topics 2021 regulation
archu26
 
MobileComputingMANET2023 MobileComputingMANET2023.pptx
masterfake98765
 
Unified_Cloud_Comm_Presentation anil singh ppt
anilsingh298751
 
8th International Conference on Electrical Engineering (ELEN 2025)
elelijjournal653
 
Element 11. ELECTRICITY safety and hazards
merrandomohandas
 
美国电子版毕业证南卡罗莱纳大学上州分校水印成绩单USC学费发票定做学位证书编号怎么查
Taqyea
 
Basic_Concepts_in_Clinical_Biochemistry_2018كيمياء_عملي.pdf
AdelLoin
 
Arduino Based Gas Leakage Detector Project
CircuitDigest
 
6th International Conference on Machine Learning Techniques and Data Science ...
ijistjournal
 
MAD Unit - 1 Introduction of Android IT Department
JappanMavani
 
GitOps_Repo_Structure for begeinner(Scaffolindg)
DanialHabibi2
 
Set Relation Function Practice session 24.05.2025.pdf
DrStephenStrange4
 
Break Statement in Programming with 6 Real Examples
manojpoojary2004
 
Water Design_Manual_2005. KENYA FOR WASTER SUPPLY AND SEWERAGE
DancanNgutuku
 
265587293-NFPA 101 Life safety code-PPT-1.pptx
chandermwason
 
Ethics and Trustworthy AI in Healthcare – Governing Sensitive Data, Profiling...
AlqualsaDIResearchGr
 
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
PPT2_Metal formingMECHANICALENGINEEIRNG .ppt
Praveen Kumar
 
Ad

diffrence between procedure oriented programming & object oriented programming (pop vs oop)

  • 1. Object oriented programming. Vs Procedural oriented programming. Prepared by: nihar joshi 2/10
  • 2.  In Pop Top down approach is use in program design.  In oop bottom up approach use in program design.  To add new data and function in pop is not so easy. example:C requires all the variables to be defined at the starting of a scope.  Oop provide easy way to add new data and function. we can add data member anywhere in program example:C++ allows the declaration of variable anywhere in the scope i.e. at time of its First use. 3/10
  • 3.  In pop No access specifiers are used. example: In structure all the members are public.  In oop Public,Private,protected Access specifiers are used. example: in class data is private & member function is public #include<iostream.h> class a { private: data public: member function }; 4/10
  • 4.  In POP, Most function uses Global data for sharing that can be accessed freely from function to function in the system.  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: in class the data member declared in private mode are only access through it’s member function. 5/10
  • 5.  POP does not have any proper way for data hiding. example: in structure data are declared in public mode so it is less secure.  Oop provides data hiding, so it is more secure. example: data member declare in private are not accessible outside class. #Include<iostrean.h> class a { int a; void read(); public: Void update(); void write(); }; int main(){ a ob; ob.read(); //object can not access ,private member } 6/10
  • 6.  Pop program is divided into small parts called function.  Oop program is divided into small part called object.  In POP, Importance is not given to data but to functions as well as sequence of actions to be done  In OOP, Importance is given to the data rather than procedures or functions because it works as a real world. 7/10
  • 7.  In pop overloading is not possible.  In oop overloading is possible in the form of function overloading & operator overloading. example: overloaded add(). //declaration int add(int a,int b); int add(int a,int b,int c); double add(double x,double y); double add(double p,double q); 8/10
  • 8.  EXAMPLE OF POP: i. C ii. VB iii. FORTRAN iv. PASCAL  EXAMPLE OF OOP: i. C++, ii. JAVA, iii. VB.NET, iv. C#.NET. 9/10