Differences between OOP and procedure oriented programming

Estudies4you
Q13. Write the differences between OOP and procedure oriented programming.
Answer : 

Object-Oriented Programming
Procedure-Oriented Programming
1
Object-Oriented Programming (OOP) is an approach that modularizes the programs by creating partitioned memory area for data and methods.
1
Procedure-Oriented Programming (POP) is an approach in which a sequence of tasks are to be done.
2
OOP emphasizes on data rather than procedures.
2
POP emphasizes on a procedure which involves certain operations.
3
In OOP, large programs are divided into objects.
3
In POP, large programs are divided into functions.
4
In OOP data is hidden and is difficult for external function to access.
4
In POP, data moves openly from one function to another function
5
In OOP, functions are tied together in the data structure, because of access specifiers like private or public. 
5
In POP, functions share global data as there are no access specifiers.
6
It is possible to add new data and functions whenever required.
6
It is not possible to add data and functions whenever necessary.
7
It follows bottom-up approach in designing programs.
7
It follows top-down approach for designing programs.
8
In procedural oriented programming, program execution flow depends on the program structure. 
8
In object oriented programming, the primary entity of the program is the object.
9
Procedural oriented programming does not supports reusability
9
Object oriented programming supports reusability.
10
Procedural oriented programming does not support Procedural oriented programming does not support 
10
Object oriented programming provides user with features. like inheritance, polymorphism etc.
11
Procedural oriented programming is command line oriented.
11
Object oriented programming is user or developer friendly.
12
Examples of OOP languages are C++, Java.
12
Examples of POP languages are C, COBOL, FORTRAN.


To Top