
Introduction to Programming Paradigms
•A programming paradigm is a general approach to programming or to the solution
of problems using a programming language.
•Thus programming languages that share similar characteristics are clustered
together in the same paradigm.
• A programming language is a formal language for some form of problem solving.
• It is to be distinguished from design languages such as hardware description
languages, and other descriptive languages such as document description
languages (e.g. SGML and HTML) or grammars.
• A programming paradigm is both a method of problem solving and an approach
to programming language design
The major paradigms are:
•Procedural
•Object-oriented
•Functional
•Logical
•Data base query languages
•Visual
•Scripts
Procedural Programming
• Procedural programming is by far the most common form of programming.
• A program is a series of instructions which operate on variables. It is also known
as imperative programming.
• Examples of procedural programming languages include FORTRAN, ALGOL,
Pascal, C, MODULA2, Ada, BASIC
•Advantages:- Procedural programming include its relative simplicity, and ease of
implementation of compilers and interpreters. Procedural languages were
important in the history of computers due to their low memory utilisation.
PAGE 3