
Pseudocode
and N-S diagrams
2.3
Chapter summary
In this chapter, six basic computer operations were listed, along with
pseudocode words and keywords to represent them. These operations
were: to receive information, put out information, perform arithmetic,
assign a value to a piece of data, decide between two alternate actions
and repeat a group of actions. Typical pseudocode examples were
given as illustrations.
The Structure Theorem was introduced. It states that it is possible to
write any computer program by using only three basic control
structures, viz sequence, selection and repetition. Each control
structure was defined, and its associatio ...