SlideShare a Scribd company logo
2
Most read
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

PPTX
PROCEDURAL ORIENTED PROGRAMMING VS OBJECT ORIENTED PROGRAMING
PPT
Basic concepts of object oriented programming
PPTX
OOP Introduction with java programming language
PDF
Object Oriented Programming Lecture Notes
PPTX
Encapsulation
PPTX
Python-Classes.pptx
PPTX
Principles and advantages of oop ppt
PPT
Data members and member functions
PROCEDURAL ORIENTED PROGRAMMING VS OBJECT ORIENTED PROGRAMING
Basic concepts of object oriented programming
OOP Introduction with java programming language
Object Oriented Programming Lecture Notes
Encapsulation
Python-Classes.pptx
Principles and advantages of oop ppt
Data members and member functions

What's hot (20)

PPTX
Java Data Types
PPTX
OOP with Java
PPTX
User, roles and privileges
PDF
Arrays in Java
PPTX
1.4 data independence
PPT
Inheritance
PPT
Unix File System
PPTX
Encapsulation
PPT
Oops in Java
PPTX
Abstract class and Interface
PPTX
data abstraction in DBMS
PPT
Basic concept of OOP's
PDF
Java (Information Technology) Question paper for T.Y Bca
PPTX
6. static keyword
PPTX
SQL commands
PPTX
object oriented programming(PYTHON)
PPTX
Data warehousing - Dr. Radhika Kotecha
PPTX
Dynamic memory allocation
PDF
03. oop concepts
Java Data Types
OOP with Java
User, roles and privileges
Arrays in Java
1.4 data independence
Inheritance
Unix File System
Encapsulation
Oops in Java
Abstract class and Interface
data abstraction in DBMS
Basic concept of OOP's
Java (Information Technology) Question paper for T.Y Bca
6. static keyword
SQL commands
object oriented programming(PYTHON)
Data warehousing - Dr. Radhika Kotecha
Dynamic memory allocation
03. oop concepts
Ad

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

PPTX
Oop in c++ lecture 1
PPTX
Compare between pop and oop
PDF
Bhushan Rathi
PDF
Function overloading
PPTX
Chapter 04 object oriented programming
PPTX
OOP.pptx
PPT
Oops in PHP By Nyros Developer
PPTX
Object Oriented programming - Introduction
PDF
Function overloading ppt
PPTX
Ak procedural vs oop
PPTX
OOPs Concepts Like Diff Between OOP and POP,merits demarit and their imp conc...
PDF
4 pillars of OOPS CONCEPT
PDF
Oracle DBA interview_questions
PPTX
Object oriented programing
PPTX
Oop ppt
DOCX
PCCF-UNIT 2-1 new.docx
PPTX
C++ tutorial assignment - 23MTS5730.pptx
PDF
2nd puc computer science chapter 8 function overloading
PDF
Object Oriented Programming With C 2140705 Darshan All Unit Darshan Institute...
PPT
Abhiram
Oop in c++ lecture 1
Compare between pop and oop
Bhushan Rathi
Function overloading
Chapter 04 object oriented programming
OOP.pptx
Oops in PHP By Nyros Developer
Object Oriented programming - Introduction
Function overloading ppt
Ak procedural vs oop
OOPs Concepts Like Diff Between OOP and POP,merits demarit and their imp conc...
4 pillars of OOPS CONCEPT
Oracle DBA interview_questions
Object oriented programing
Oop ppt
PCCF-UNIT 2-1 new.docx
C++ tutorial assignment - 23MTS5730.pptx
2nd puc computer science chapter 8 function overloading
Object Oriented Programming With C 2140705 Darshan All Unit Darshan Institute...
Abhiram
Ad

Recently uploaded (20)

PPTX
Current and future trends in Computer Vision.pptx
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
Safety Seminar civil to be ensured for safe working.
PDF
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPT
Mechanical Engineering MATERIALS Selection
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PDF
PPT on Performance Review to get promotions
DOCX
573137875-Attendance-Management-System-original
PDF
III.4.1.2_The_Space_Environment.p pdffdf
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
Current and future trends in Computer Vision.pptx
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Safety Seminar civil to be ensured for safe working.
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Mechanical Engineering MATERIALS Selection
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPT on Performance Review to get promotions
573137875-Attendance-Management-System-original
III.4.1.2_The_Space_Environment.p pdffdf
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
R24 SURVEYING LAB MANUAL for civil enggi
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
CYBER-CRIMES AND SECURITY A guide to understanding
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Foundation to blockchain - A guide to Blockchain Tech
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf

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