Structured
Programming
1
mywbut.com
Specific Instructional Objectives
At the end of this lesson the student will be able to:
•
•
•
•
Identify the important features of a structured program.
Identify the important advantages of structured programming over unstructured ones.
Explain how software design techniques have evolved over the last 50 years. Differentiate between exploratory style and modern style of software development. Important features of a structured program.
A structured program uses three types of program constructs i.e. selection, sequence and iteration. Structured programs avoid unstructured control flows by restricting the use of GOTO statements. A structured program consists of a well partitioned set of modules. Structured programming uses single entry, single-exit program constructs such as if-then-else, do-while, etc. Thus, the structured programming principle emphasizes designing neat control structures for programs. Important advantages of structured programming.
Structured programs are easier to read and understand. Structured programs are easier to maintain. They require less effort and time for development. They are amenable to easier debugging and usually fewer errors are made in the course of writing such programs.
Evolution of software design techniques over the last 50 years. During the 1950s, most programs were being written in assembly language.
These programs were limited to about a few hundreds of lines of assembly code,
i.e. were very small in size. Every programmer developed programs in his own individual style - based on his intuition. This type of programming was called
Exploratory Programming.
The next significant development which occurred during early 1960s in the area computer programming was the high-level language programming. Use of high-level language programming reduced development efforts and development time significantly. Languages like FORTRAN,