Lecture 8 – September 22, 2005
We went over Homework 3 –
We announced Dec.
15 from 4-6pm as the
tentative final exam time
Final exam – both sections -
We looked at an ideal example of the Pascal program from Homework 4 showing the desired type of comments and we
talked about it.
We then looked at a series of programs illustrating
array type and array variable declarations & the difference between a named array type and an anonymous array type
what happens when array bounds are exceeded
maximum size of an integer in this version of Pascal
the difference between printing the result of a computation and storing it
numbersize1 numbersize2 numbersize3 numbersize4
the declaration and use of enumerated types
the ord and succ functions
how a for loop functions
enumerated1 enumerated2 enumerated3 enumerated4 enumerated5 enumerated6
the form of functions and procedures and parameter passing