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
Distributed database
PDF
Types of software testing
PPTX
Issues in knowledge representation
PDF
I.ITERATIVE DEEPENING DEPTH FIRST SEARCH(ID-DFS) II.INFORMED SEARCH IN ARTIFI...
PDF
Rayleigh model
PPTX
Load runner & win runner
PPTX
Syntax-Directed Translation into Three Address Code
DOC
Naming in Distributed System
Distributed database
Types of software testing
Issues in knowledge representation
I.ITERATIVE DEEPENING DEPTH FIRST SEARCH(ID-DFS) II.INFORMED SEARCH IN ARTIFI...
Rayleigh model
Load runner & win runner
Syntax-Directed Translation into Three Address Code
Naming in Distributed System

What's hot (20)

PPTX
Protocols of noiseless
PPT
Architecture of Mobile Computing
PPTX
Database Project Airport management System
PDF
Srs for banking system
PPTX
Protocols and the TCP/IP Protocol Suite
PPTX
Replication in Distributed Systems
PPTX
Equivalence class testing
PPTX
Internet protocol (ip) ppt
PDF
Case study-the next gen pos
DOCX
Passport Automation System
PPTX
Computer network switching
PPSX
Student Marks Analyzing System-Problem Statement, SRS, ERD, DFD, Structured C...
PPT
Black box and white box testing
PPTX
SDLC Models
PPTX
COCOMO Model in software project management
PPTX
Query Optimization
PPTX
Transport layer
PPTX
Waterfall model ppt final
PPSX
Physical layer ppt
Protocols of noiseless
Architecture of Mobile Computing
Database Project Airport management System
Srs for banking system
Protocols and the TCP/IP Protocol Suite
Replication in Distributed Systems
Equivalence class testing
Internet protocol (ip) ppt
Case study-the next gen pos
Passport Automation System
Computer network switching
Student Marks Analyzing System-Problem Statement, SRS, ERD, DFD, Structured C...
Black box and white box testing
SDLC Models
COCOMO Model in software project management
Query Optimization
Transport layer
Waterfall model ppt final
Physical layer ppt
Ad

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

PPTX
Compare between pop and oop
PPTX
OOPs Concepts Like Diff Between OOP and POP,merits demarit and their imp conc...
PPTX
PROCEDURAL ORIENTED PROGRAMMING VS OBJECT ORIENTED PROGRAMING
PPT
Abhiram
PPTX
Oop in c++ lecture 1
PPTX
Object Oriented programming - Introduction
PPTX
Lec-01.pptx
PPTX
IET307 OOP - object oriented programming concepts.pptx
PDF
C++ notes.pdf
PPTX
principle of oop’s in cpp
PPTX
Oosd lecture unit 4 ppt introduction part
PPTX
Unit - I Fundamentals of Object Oriented Programming .pptx
PPTX
Presentation c
PDF
OOP ppt.pdf
PPTX
OOP Unit 1 - Foundation of Object- Oriented Programming
PPTX
OOPM - Introduction.pptx
PPTX
Ch 1 Introduction to Object Oriented Programming.pptx
PPTX
Object Oriented Programming
PDF
1.2 Need of Object-Oriented Programming.pdf
Compare between pop and oop
OOPs Concepts Like Diff Between OOP and POP,merits demarit and their imp conc...
PROCEDURAL ORIENTED PROGRAMMING VS OBJECT ORIENTED PROGRAMING
Abhiram
Oop in c++ lecture 1
Object Oriented programming - Introduction
Lec-01.pptx
IET307 OOP - object oriented programming concepts.pptx
C++ notes.pdf
principle of oop’s in cpp
Oosd lecture unit 4 ppt introduction part
Unit - I Fundamentals of Object Oriented Programming .pptx
Presentation c
OOP ppt.pdf
OOP Unit 1 - Foundation of Object- Oriented Programming
OOPM - Introduction.pptx
Ch 1 Introduction to Object Oriented Programming.pptx
Object Oriented Programming
1.2 Need of Object-Oriented Programming.pdf
Ad

Recently uploaded (20)

PDF
III.4.1.2_The_Space_Environment.p pdffdf
PPTX
Fundamentals of Mechanical Engineering.pptx
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
communication and presentation skills 01
PDF
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
PDF
EXPLORING LEARNING ENGAGEMENT FACTORS INFLUENCING BEHAVIORAL, COGNITIVE, AND ...
PDF
Visual Aids for Exploratory Data Analysis.pdf
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPT
introduction to datamining and warehousing
PPTX
CURRICULAM DESIGN engineering FOR CSE 2025.pptx
PPTX
UNIT - 3 Total quality Management .pptx
PDF
PPT on Performance Review to get promotions
PDF
COURSE DESCRIPTOR OF SURVEYING R24 SYLLABUS
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
PDF
Analyzing Impact of Pakistan Economic Corridor on Import and Export in Pakist...
PPTX
Current and future trends in Computer Vision.pptx
PDF
UNIT no 1 INTRODUCTION TO DBMS NOTES.pdf
PDF
Soil Improvement Techniques Note - Rabbi
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
III.4.1.2_The_Space_Environment.p pdffdf
Fundamentals of Mechanical Engineering.pptx
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
communication and presentation skills 01
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
EXPLORING LEARNING ENGAGEMENT FACTORS INFLUENCING BEHAVIORAL, COGNITIVE, AND ...
Visual Aids for Exploratory Data Analysis.pdf
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
introduction to datamining and warehousing
CURRICULAM DESIGN engineering FOR CSE 2025.pptx
UNIT - 3 Total quality Management .pptx
PPT on Performance Review to get promotions
COURSE DESCRIPTOR OF SURVEYING R24 SYLLABUS
R24 SURVEYING LAB MANUAL for civil enggi
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
Analyzing Impact of Pakistan Economic Corridor on Import and Export in Pakist...
Current and future trends in Computer Vision.pptx
UNIT no 1 INTRODUCTION TO DBMS NOTES.pdf
Soil Improvement Techniques Note - Rabbi
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks

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