Title :
Structured programming and formal specification
Author :
Noonan, Robert E.
Author_Institution :
Dept. of Computer Sci., Univ. of Maryland, College Park, MD, USA
Abstract :
In the author´s view structured programming consists of the use of the following: structure, abstraction, and specification. The purpose of this paper is to develop formal specifications for a nontrivial program in order to facilitate a proof of correctness. It is shown how the specifications serve as an abstraction for the program. A proof of correctness then consists of merely showing that the program at each level meets its formal specifications. Under this methodology lower levels of the program can be changed without affecting higher levels.
Keywords :
formal languages; programming; BNF grammars; SIMPL; abstraction; formal specification; inherited attributes; nontrivial program; proof of correctness; structured programming; Arrays; Formal specifications; Grammar; Production; Programming; Specification languages; BNF grammars; formal specifications; inherited and synthesized attributes; program correctness; structured programming;
Journal_Title :
Software Engineering, IEEE Transactions on
DOI :
10.1109/TSE.1975.6312875