Structured Programming Approach with Advantages and Disadvantages

Structured Programming Approach, as the word suggests, can be defined as a programming approach in which the program is made as a single structure. It means that the code will execute the instruction by instruction one after the other. It doesn’t support the possibility of jumping from one instruction to some other with help of any statement like GOTO, etc. Therefore, the instructions in this approach will be executed in a serial and structured manner. The languages that support Structured programming approach are:

  • C
  • C++
  • Java
  • C#
  • ..etc

On the contrary, in the Assembly languages like Microprocessor 8085, etc, the statements do not get executed in a structured manner. It allows jump statements like GOTO. So the program flow might be random.

The structured program mainly consists of three types of elements:

  • Selection Statements
  • Sequence Statements
  • Iteration Statements

The structured program consists of well structured and separated modules. But the entry and exit in a Structured program is a single-time event. It means that the program uses single-entry and single-exit elements. Therefore a structured program is well maintained, neat and clean program. This is the reason why the Structured Programming Approach is well accepted in the programming world.

Advantages of Structured Programming Approach:

  1. Easier to read and understand
  2. User Frindly
  3. Easier to Maintain
  4. Mainly problem based instead of being machine based
  5. Development is easier as it requires less effort and time
  6. Easier to Debug
  7. Machine-Independent, mostly.

Disadvantages of Structured Programming Approach:

  1. Since it is Machine-Independent, So it takes time to convert into machine code.
  2. The converted machine code is not the same as for assembly language.
  3. The program depends upon changeable factors like data-types. Therefore it needs to be updated with the need on the go.
  4. Usually the development in this approach takes longer time as it is language dependent. Whereas in the case of assembly language, the development takes lesser time as it is fixed for the machine.


My Personal Notes arrow_drop_up


Article Tags :
Practice Tags :


Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.