Comparision of Procedure and Object oriented programming

Object Oriented Programming


1.Here more emphasis is laid on the data that is being operated and not the functions or procedures


2.Programs are divided into what are called objects.


3.Both data and functions are treated together as an integral entity.


4.Data is hidden and cannot be accessed by external functions.


5.Program design follows “Bottom UP Approach”.




Procedure Oriented Programming


1.Prime focus is on functions and procedures that operate on data


2.Large programs are divided into smaller program units called functions


3.Data and the functions that act upo it are treated as separate entities.


4.Data move freely around the systems from one function to another.


5.Program design follows “Top Down Approach”.