Monday, 19 March 2018

Procedure and Object Oriented Programming Language

Procedure Oriented Programming Language:-

High level language such as COBOL , FORTRAN AND C is commonly known as procedure oriented programming.
In the procedure oriented approach, the problem is viewed as a sequence of things to be done such as reading , calculating and printing.
Procedure oriented programming basically consist of writing list of instruction for the computer to follow and organizing these instructions into groups known as functions.
Procedure oriented programming language are not helpful in solving these problems having large complexity.
Another serious drawback with the approach is that it does not work on real world problems very well.
In procedure programming language top down programming approach is used in program design.

Object Oriented Programming Language:-

Many drawbacks of procedure language are eliminated by object oriented language.
Object oriented language combine data and functions that operate on data into a single unit called as object. This helps to achieve data encapsulation and data hiding.
OOP allows decomposition of a problem into number of entities called as objects and then build data functions around these objects.
The data of an object can be accessed only by the functions associated with that objects.
OOP treats data as a critical element in the program development and does not allow it to flow freely around the system.
Object oriented program can be easily modified whenever necessary.

Difference Between Procedure and Object oriented Programming Language:-

1 comment:

Popular Posts


Android (21) AngularJS (1) Assembly Language (2) Books (10) C (75) C# (4) C++ (81) Data Strucures (4) Downloads (1) Engineering (13) FPL (17) Hadoop (1) HTML&CSS (38) IS (25) Java (87) Leet Code (4) PHP (20) Python (214) R (69) Selenium Webdriver (2) Software (14) SQL (27)