Header Ads Widget

What is Procedural Oriented language? || What is POP?









Procedural programming

A computer programming language that executes a set of commands in order is called procedural language. It is written as a list of instructions, telling the computer, step-by-step, what to do. For E.g. Open a file, read a number, multiply by 4, display something. Program units include the main or program block, subroutines, functions, procedures; file scoping; include/modules; libraries.

                   Procedural programming is fine for small projects. It is most natural    Way to tell a computer what to do, and the computer processors own language, machine code, is procedural, so the translation of the procedural high-level language into machine code is straightforward and efficient.

Examples of computer procedural languages are BASIC, C, FORTRAN, and Pascal.



 

Advantages of procedural programming

Excellent for general-purpose programming

Simplicity of code

Source code that is very portable

Reusable in parts of the same program and less taxing on memory use

 

 

Disadvantages of procedural programming

Data is exposed to whole program, so no security for data

Difficult to relate with real world objects.

Difficult to create new data types reduces extensibility

Important is given to the operation on data rather than the data. 


See more

Links:-

Post a Comment

0 Comments