These notes can be purchased in the Student Union Copy Center at cost
Repetition via Pascal loops: while-do, for and repeat-until (Leestma & Nyhoff
Section 4.5, 7.2, 7.3): [PowerPoint]
[Acrobat]
Optional teaching material
Background / Sources of additional information
Pascal Programming and Problem Solving by Leestma S. and Nyhoff L. 4th
Edition (Macmillan Publishing Company).
Pascal an Introduction to the Art and Science of Programming by Savitch
W.J. (The Benjamin / Cummings Publishing Co., Inc.).
The link to the online
documentation
for the GNU Pascal compiler (since you will be using the GNU
Pascal compiler 'gpc'). You may also be interested in browsing the rest
of the site
as well.
Teaching Tips
If the instructor went carefully through the previous section, decision
making constructs then the beginning of this section can be covered far more
quickly. A greater portion of time can be spent on more advanced
concepts such as nested and infinite loops.