Lecture 10 - September 27th 2007

 

We looked at a number of Pascal programs dealing with

·        files

·        strings

·        arithmetic

 

We discussed

 

These programs are linked from the Web page and some explanatory comments have been added to them.

 

We discussed the static scope rules  (from Chapter 5) of

 

FirstPascal programs must be submitted electronically  by 11:59pm, Monday, October 1st.  Folders with printouts are due at the start of class on Tuesday, October 2nd.  Those submitting early enough to earn the 20 point bonus can turn their printouts in with the rest of the class (i.e. they do not have to turn the printouts in early).  Make sure that all code is easily readable (i.e. dark enough) and does not wrap around to avoid penalty points.