Explain about the structured
programming languages?
STRUCTURED (MODULAR) PROGRAMMING:
· It
is a subset of procedural programming that enforces a logical structure on the
program to make it more efficient and easier to understand and modify.
· It
was suggested by two mathematicians “Corrado Bohm” & “Guiseppe Jacopini”
.It is also referred to as modular programming.
· It
employs a top-down approach which allows the code to be loaded into memory more
efficiently and also be reused in other programs.
· Modules
are coded separately and once a module is written and tested individually, it
is then integrated with other modules to form the overall program structure.
· Modularization
makes it easier to write, debug, and understand the program.
· In
structured programming, the program flow follows a simple sequence and usually
avoids the use of GoTo statements. Besides sequential flow, structured
programming also supports selection and repetition.
Advantages
· Helps
to write programs that are easy to write, understand, change, debug, and
re-use.
· Modules
enhance programmer's productivity
· Takes
less time to be written than other programs.
· Its
main goal is to write correct programs that are easy to understand and modify.
· Many
programmers can work on a single large program.
· It is
easy to debug.
· It is
easy to change as well as understand.
Comments
Post a Comment