Some of programming paradigms are -
- Imperative programming paradigm - It is one of
the most established programming paradigm. It highlights close
connection to machine architecture. It depends on Von Neumann
architecture. It works by changing the program state through task
proclamations. It performs well ordered assignment by evolving
state. The fundamental spotlight is on the most proficient method
to accomplish the objective. The paradigm comprise of a few
articulations and after execution of all the outcome is put away.
Language comes under this are - C , Fortan, Basic.
- Procedural programming paradigm - This
paradigm underscores on technique as far as under lying machine
model. There is no distinction in the middle of procedural and
basic methodology. It can reuse the code and it was aid at when it
was being used due to its reusability . Language comes in this are
- C , C++, JAVA
- Object oriented programming - The program is
composed as a gathering of classes and article which are intended
for correspondence. The littlest and essential substance is item
and all sort of calculation is performed on the articles as it
were. More accentuation is on information rather technique. It can
deal with practically all sort of genuine issues which are today in
situation.Language comes under this are - C++, JAVA , Python.
Attributes by which variable can be characterised are name,
address, value, type, lifetime, and scope -
- Name - Variable names are the most common
names in programs
- Address - The memory address with which
variable it is associated.
- Scope - Scope of the variable means
in which scope variable can be used .