There are following types of Programming Languages/Programming Paradigm are seen in modern time – 

(A) Imperative Programming Paradigm
(a) Procedural Programming Paradigm
(1.) Structured Programming Paradigm
(2.) Non-Structured Programming Paradigm
(b) Object Oriented Programming Paradigm
(B) Declarative Programming Paradigm
(i) Functional Programming Paradigm
(ii) Logical Programming Paradigm
(C) Hybrid Programming Paradigm

(A) Imperative Programming Paradigm

  • These types of programming languages/concepts usually consist of commands/instructions and executed sequentially.
  • Examples are – Algol, Pascal, C, Ada etc.
  • Imperative Programming Paradigm are further categorized into two sub-categories :

(a) Procedural Programming Paradigm

(1.) Structured Programming Paradigm
      • Structured programming is a technique for organizing and coding computer programs in which a hierarchy of modules is used ,each having single entry and single exit point.
      • Structured Programming may have three types of control structures –
        Sequence ,Selection and Iteration.
Characteristics for Structured Programming
      • Every program should specify input and output variables.
      • The flow of the program should be top-down approach.
      • Every program and function must have a comment at the beginning.
      • Divide the big programs in to subprograms (functions or procedures).
      • Documentation should be short as far as possible.
Advantages of Structured Programming
      • Easy to write.
      • Easy to debug.
      • Easy to understand.
      • Easy to change.

(b) Object Oriented Programming(OOPs) Paradigm

    • These types of programming languages/concepts usually consist of Classes & Objects and executed according to objects.
    • Examples are – Smalltalk, Eiffel, C++, Java, Simula, PythonPHP, C#, VB .Net etc.

(B) Declarative Programming Paradigm

  • Declarative Programming Paradigm are further categorized into two sub-categories :

(i) Functional Programming Paradigm

    • These types of programming languages/concepts usually consist of Functions and executed according to calling.
    • Examples are – Lisp, Refal, Planner, Scheme etc.

(ii) Logical Programming Paradigm

    • These types of programming languages/concepts usually consist of Predicate/Logical Formulas(axioms & a theorem) and executed as per logical conditions.
    • Examples are – Prolog etc.

(C) Hybrid Programming Paradigm

(I) Imperative + Object-oriented programming paradigm – Examples : Object Pascal, C++, Java, Ada-95 etc.

(II) Functional + Object-oriented programming paradigm – Examples : Clos

(III) Logic + Object-oriented – Examples : Object Prolog

Modular programming

  • The modular approach to programming involves breaking a program down into sub-components called modules.
  • Each module is composed of some set of instructions.

Advantages of modular programming

  • Easy to write
  • Easy to debug
  • The types of approaches
  • Top-down approach
  • Bottom-up approach

Loading


0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.