skip to Main Content

What is Structured Programming Language

What is Structured Programming Language

Definition – It is a programming method which aimed at improving quality, clarity and access time of computer program by the use of block structures, subroutines, for and while loops. This programming features will be helpful when concept of exception handing is needed in the program. It uses various control structures, sub routines, blocks and theorem. The theorems involved in structure programming are Sequence, Selection, Iteration and Recursion. Most of the programming language uses structured programming language features such as ALGOL, Pascal, PL/I, Ada, C, etc. The structure programming enforces a logical structure on the program being written to make it more efficient and easy to modify and understand. What is Structured Programming Language is explained in simple and precise manner.

Why C – Language is called as Structured Programming language?

In order to accomplish any task, C-language divide the problem into smaller modules called functions or procedure each of which handles a particular job. That is why C-language is also called as the structured programming language. The program which solves the entire problem is a collection of such functions.

What are the main features of Structural Programming language?

  1. Division of Complex problems into small procedures and functions.
  2. No presence of GOTO Statement
  3. The main statement include – If-then-else, Call and Case statements.
  4. Large set of operators like arithmetic, relational, logical, bit manipulation, shift and part word operators.
  5. Inclusion of facilities for implementing entry points and external references in program.

What is difference between Structured and Unstructured Programming Language?

  1. The main difference between structured and unstructured programming language is that a structured programming language allows a programmer to dividing the whole program into smaller units or modules. But in unstructured programming language, the whole program must be written in single continuous way; there is no stop or broken block.
  2. Structured Programming language is a subset of Procedural Programming language. But in unstructured Programming language no subset exists.
  3. Structured Programming language is a precursor to Object Oriented Programming (OOP) language. But another one is not.
  4. Structured Programming language produces readable code while Unstructured Programming language produces hardly readable code “spaghetti”.
  5. Structured Programming language has some limitations while unstructured Programming language offers freedom to program as they want.
  6. Structured Programming language is easy to modify and debug, while unstructured Programming language is very difficult to modify and debug.
  7. Examples of Structured Programming language are C, C+, C++, C#, Java, PERL, Ruby, PHP, ALGOL, Pascal, PL/I and Ada; and example of unstructured Programming language are BASIC (early version), JOSS, FOCAL, MUMPS, TELCOMP, COBOL.

Leave a Reply

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

Back To Top