Thursday 6 April 2023

Structured Programming Language

Structured programming is a programming paradigm that emphasizes the use of structured control flow constructs to improve the clarity, quality, and maintainability of software. Structured programming was introduced in the late 1960s as a response to the perceived shortcomings of earlier programming styles, such as assembly language and machine language, which were difficult to read, write, and maintain.

Structured programming languages have the following characteristics:

  1. Structured control flow constructs: Structured programming languages use control flow constructs, such as if-then-else statements, loops, and subroutines, to organize program logic into clear and understandable structures. This makes the code easier to read, write, and modify.

  2. Single entry and single exit points: Structured programming languages require that each control structure have a single entry point and a single exit point. This helps to ensure that the program logic is clear and unambiguous.

  3. No use of GOTO statements: Structured programming languages avoid the use of GOTO statements, which can create spaghetti code that is difficult to read and understand. Instead, they rely on structured control flow constructs to organize program logic.

Examples of structured programming languages include C, Pascal, and Ada. These languages provide built-in support for structured programming constructs, making it easy for programmers to write clear and maintainable code. Structured programming has become the dominant paradigm for developing software applications, and it has paved the way for newer paradigms, such as object-oriented programming and functional programming, that build on its principles.

0 comments :

Post a Comment

Note: only a member of this blog may post a comment.

Machine Learning

More

Advertisement

Java Tutorial

More

UGC NET CS TUTORIAL

MFCS
COA
PL-CG
DBMS
OPERATING SYSTEM
SOFTWARE ENG
DSA
TOC-CD
ARTIFICIAL INT

C Programming

More

Python Tutorial

More

Data Structures

More

computer Organization

More
Top