Note: Some of the graphical elements
of this site are only visible to browsers that support accepted
web standards. The content of
this site is, however, accessible to any browser or Internet device.
Spring Exam Review: Please consult the class log book entry for 8 Dec on the 302 course home page contains some questions and solutions that should help you in your preparations for the exam.
Notes of Lecture 3: in the definition of unpack, the "=" in
"p.committed = false" has to be ":=", i.e. an assignment statement. Similar
typos occur in Lecture 2, but they are corrected in the online versions.
Solutions 1: I forgot to define "object invariant" as, e.g., an integrity
constraint on on object's data fields and other data assessible through it.
Tutorial 1: In 2.2 the expression "amount < 0" should read "amount > 0."
Class log book:
6 Dec: Reviewed Tutorial 3, conducted Lecture 5 and Tutorial 4 on practizing annotations with o.inv and o.committed, and commented on what is expected in each of the three tasks of the course work.
29 Nov: Reviewed Tutorial 2, did lecture based on Erik Poll's slides.
22 Nov: Did Lecture 2, conducted Tutorial 2, presented sole course work, covered Lecture 3 up to, and including the slide on "Definition of pack".
15 Nov: presented syllabus, did Lecture 1, conducted and reviewed Tutorial 1.