Repetition In Computer Programs
Notes for the required material
- 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]
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 Pascal link under the
GNU website (since the U of C uses the GNU Pascal compiler gpc).
Teaching Tips
Much like the case of decision making constructs, because students will have
already been exposed to looping constructs in the design section through
flowcharts and pseudo-code the instructor may be able deal with syntax issues
that students may encounter with the particular programming language chosen