State the difference between OOP and POP.
OBJECT ORIENTED PROGRAMMING (OOP)
|
PROCEDURE ORIENTED PROGRAMMING (POP)
|
Focus is on data rather than procedure.
|
Focus is on doing things (procedure).
|
Programs are divided into multiple objects.
|
Large programs are divided into multiple functions.
|
Data is hidden and cannot be accessed by external functions.
|
Data move openly around the system from function to function.
|
Objects communicate with each other through function.
|
Functions transform data from one form to another by calling each other.
|
Employs bottom-up approach in program design
|
Employs top-down approach in program design.
|
Object oriented approach is used in C++ language.
|
Procedure oriented approach is used in C language.
|