Arrays Of Arrays: Multi-Dimensional Arrays
Notes for the required material
- You can find a text-only versions of the notes (no text-formatting or
graphics) under the Unix directory: /home/231/notes/arrays
- Arrays in Pascal (Leestma & Nyhoff Sections 11.1, 11.2, you may also want to read through Section
11.3 and 11.4 for additional examples that uses multi-dimensional arrays): [PowerPoint]
[pdf]
Optional teaching material
Although the notes cover the syntax of arrays that are greater than two
dimensions it would be beneficial for students to see an example that
illustrated how and when one would use such a data structure.
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