preview

Advantages And Limitations Of Procedural Programming

Good Essays
Open Document

Programming paradigms

Applications and limitations
A procedural programming a program that contains a series of computational steps to be carried out. Procedural programming is a term to denote the way in which a computer programmer writes a program. This program works by using sequences of instructions. The types of procedural programming are pascal, c++ and c.
This is source code written in procedural language. y = 1224; for (x = 0; x < 100; x++) { z = y + x;
}
A variable y is being set, then the code enters a loop. this is showing procedural programing as it defines what the computer should do step by step.
It can be used for mathematical, science or engineering calculations that you want to be solved.
Limitations:
Procedural code is difficult to relate with real-world objects, this may make it difficult to design.
As the data is exposed to the whole program there is no security for your data. This could mean that a new programmer could corrupt the data accidentally by creating functions.
There are many types of procedural programming languages and the programmer might just specialise in a particular language as they can learn them all. as it written in a low level language it isn’t as efficient as others that many use high-level languages.

Object oriented
Object-oriented programming is a programming paradigm based on the concept of objects rather than algorithms, this may contain data in the form of fields. it aims to incorporate the advantages of modularity and

Get Access