0% found this document useful (0 votes)
65 views2 pages

Procedure Oriented Programming

Procedure oriented programming (POP) divides a program into small parts called functions and focuses on procedures and sequence of actions, while object oriented programming (OOP) divides a program into objects and focuses on data. OOP uses concepts like classes, objects, inheritance, polymorphism and encapsulation. It provides features like access specifiers, easy expansion of data and functions, data hiding for security, and overloading of functions and operators. Common examples of POP languages are C and Pascal, while common examples of OOP languages are C++, Java, and C#.

Uploaded by

Gandhi Jabakumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
65 views2 pages

Procedure Oriented Programming

Procedure oriented programming (POP) divides a program into small parts called functions and focuses on procedures and sequence of actions, while object oriented programming (OOP) divides a program into objects and focuses on data. OOP uses concepts like classes, objects, inheritance, polymorphism and encapsulation. It provides features like access specifiers, easy expansion of data and functions, data hiding for security, and overloading of functions and operators. Common examples of POP languages are C and Pascal, while common examples of OOP languages are C++, Java, and C#.

Uploaded by

Gandhi Jabakumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

Difference Between Procedure Oriented Programming (POP) & Object

Oriented Programming (OOP)

Divided
Into

Procedure Oriented
Programming

Object Oriented Programming

In POP, program is divided into small

In OOP, program is divided into parts called objects.

parts called functions.

Importance In POP,Importance is not given to data

In OOP, Importance is given to the data rather than

but to functions as well as sequence of

procedures or functions because it works as a real

actions to be done.

world.

POP follows Top Down approach.

OOP follows Bottom Up approach.

Approach

Access

POP does not have any access specifier. OOP has access specifiers named Public, Private,

Specifiers

Protected, etc.

Data

In POP, Data can move freely from

In OOP, objects can move and communicate with

Moving

function to function in the system.

each other through member functions.

To add new data and function in POP is

OOP provides an easy way to add new data and

not so easy.

function.

Data

In POP, Most function uses Global data

In OOP, data can not move easily from function to

Access

for sharing that can be accessed freely

function,it can be kept public or private so we can

Expansion

from function to function in the system. control the access of data.

Data
Hiding

POP does not have any proper way for

OOP provides Data Hiding so provides more

hiding data so it is less secure.

security.

Overloadin In POP, Overloading is not possible.


g

In OOP, overloading is possible in the form of


Function Overloading and Operator Overloading.

Examples

Example of POP are : C, VB, FORTRAN,


Pascal.

Example of OOP are : C++, JAVA, VB.NET, C#.NET.

You might also like