PROGRAMING Paradigms
PROGRAMING Paradigms
The term programming paradigm refers to a style of programming. It does not refer to a specific
language, but rather it refers to the way you program. There are two main categories of
paradigms:
A. Imperative programming paradigm:
It is one of the oldest programming paradigm. It is a programing paradigm in which the
programmer instructs the machine how to change its state through program statements. It
performs step by step task by changing state. The main focus is on how to achieve the
goal. The paradigm consists of several statements and after execution, the result is stored.
It’s about writing a list of instructions to tell the computer what to do in a step by step
manner. Imperative programming is divided into three broad categories: Procedural,
Object Oriented Programming and parallel processing.
Advantage:
Very simple to implement
It contains loops, variables etc.
Disadvantage: