Since the evolution of computers , programming
languages have developed to a large extent . Many programming approaches such as
procedural , modular , structural programming etc. The primary aspect of every
approach was to simplify the complexity of programming and maintaining larger
codes of programs.
1. Procedural programming:--
In procedural programming , we have a set of instructions where each
statement tells the computer to do something. The primary focus is on
processing , the algorithm needed to perform the desired computation.
In procedural programming the emphasis is laid on doing things.
2. Modular programming:--
With the increase in the size of the program , a single list of
instructions becomes non-maintainable , therefore the program is divided into
subprograms or modules . The larger program is subvidived into smaller
functions and the group of smaller functions is called module.
3. Object Oriented programming:--
OOP approach consists of classes and objects . These are real life
entities . OOP relates everything with objects without focusing on solving the
problem . Every object in OOP has characteristics and behavior .
No comments:
Post a Comment