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:-


0 Comments:

Post a Comment

Popular Posts

Categories

Android (21) AngularJS (1) Books (3) C (75) C++ (81) Data Strucures (4) Engineering (13) FPL (17) HTML&CSS (38) IS (25) Java (85) PHP (20) Python (85) R (69) Selenium Webdriver (2) Software (13) SQL (27)