Subscribe Us

header ads

Procedural and non-procedural languages


Procedural Language :-

  • In procedural languages, the program code is written as a sequence of instructions. User has to specify “what to do” and also “how to do” (step by step procedure). These instructions are executed in the sequential order. These instructions are written to solve specific problems.
  • Examples of Procedural languages: FORTRAN, COBOL, ALGOL, BASIC, C and Pascal.

Non-procedural Language :-

  • In the non procedural languages, the user has to specify only “what to do” and not “how to do”. It is also known as an applicative or functional language. It involves the development of the functions from other functions to construct more complex functions
  • Examples of Non Procedural languages: SQL, PROLOG, LISP.

Post a Comment

0 Comments