Difference between POP and OOP
Subject of Difference
|
Procedure Oriented Programming (POP)
|
No.
|
Object Oriented Programming (OOP)
|
Problem decomposition
|
Decompose the main problem in small parts called functions.
|
01
|
Decompose the main problem in small parts called objects.
|
Connections of parts
|
Connects small parts of the program by passing parameters & using operating system.
|
02
|
Connects small parts of the program by passing messages.
|
Emphasizing
|
Emphasizes on functions.
|
03
|
Emphasizes on data.
|
Use of data
|
In large programs, most functions use global data.
|
04
|
Each object controls data under it.
|
Passing of data
|
Data may get passed from one function to another.
|
05
|
Data never get passed from one object to another.
|
Security of data
|
Appropriate & effective techniques are unavailable to secure the data.
|
06
|
Data stay secured as no external function can use data of an object.
|
Modification of program
|
Modification of a completed program is very difficult and it may affect the whole program.
|
07
|
Modifications are easy as objects stay independent to declare and define.
|
Designing approach
|
Employs top-down approach for designing programs.
|
08
|
Employs bottom-up approach for designing.
|
Data identification
|
In large programs, it is very difficult to find what data has been used by which function.
|
09
|
As data and functions stay close, it is easy to identify data.
|
Used languages
|
Languages like C, FORTRAN, COBOL etc. use POP.
|
10
|
Languages like C++, JAVA etc. use OOP.
|
loading...
POP and OOP
Reviewed by W3knowledge
on
7:56 PM
Rating: 4.3
Tags :
General
No comments: