University of Toronto - Fall 1996
Department of Computer Science

CSC 148H: INTRODUCTION TO COMPUTER SCIENCE



Old Announcements -- Week 13



Friday 6 December: Assignment 3a

I expect that assignment 3a will be marked by the middle of next week. You will receive email with your mark, and it will also be posted on my corkboard. When the marks are ready, I will announce it here.

Good luck with your exams, and have a great holiday!



Wednesday 4 December: The final, and end of term stuff

Information about end of term administrative details and the final exam is now available.

Wednesday 4 December: Assignment 3 -- copying pointer vs copying contents

Question: what's the difference between these two statements?
     1. var newSet := otherSet -> Subset (Globals.TrueFunction)
     2. var newSet := otherSet 
Answer: These are two very different things. (2) just copies a pointer, so that newSet and otherSet become aliases for each other. Thus, if you change newSet, you also change otherSet (and vice versa). This is not what we want. (1) creates a whole new Set object, and copies appropriate info into it. Thus, if you change newSet, it has no effect on otherSet (or vice versa). This is what we want.

Monday 2 December: Asignment 3 -- what are you allowed to change?

Some students have asked for clarification about what code you must use, and what code you are allowed to change.

Back to the csc148 home page