Beruflich Dokumente
Kultur Dokumente
Roggio
Reasonably Good examples of Pseudo Code. These were taken from COBOL courses
more advanced than COP2120. But you can see the style and level of design.
Note that the pseudo code is reasonably language independent! This is VERY
important.
We use words like LOOP End Loop; Set, Increment, Initialize, and words
that are not necessarily tied to an implementing language.
End Case
Case South Region
............
End Case
Case Midwest Region
............
End Case
Case Southwest Region
............
End Case
Case West Region
............
End Case
End Switch
End Loop
Calculate average state population <== TOO VAGUE AGAIN. Show HOW!
end Compute
===============================================================================
2. See comments....
Excellent indentation. Good levels of abstraction. Only a couple
of problems...a couple of vague statements...
Good scope terminators
end Sort_Array
=============================================================================
3. Another well done routine....
See one comment herein.
end Output
================================================================================