University of Toronto - Spring 1997
Department of Computer Science
CSC 148H: INTRODUCTION TO
COMPUTER SCIENCE
Assignments and Tests
Note that the printed versions of the assignment handouts,
distributed in class, generally look better than what you'll
see on this web site.
(This is because they are written using the LaTeX typesetting
language and then translated into html.)
Midterm 2
You need a postscript viewer to see the Fich and Horton solutions.
They are also available on paper, in the Engineering
library, Sandford Fleming Building room 2402.
Assignment 3: Object-Oriented Programming
Note that the OOT and C classes are using completely different assignments
this time -- not just the same assignment in 2 different languages.
- For the OOT class:
- For the C/C++ class:
Assignment 3a: Recursion Warm-up
- Assignment handout
- Driver code for your function, in OOT
- Driver code for your function, in C
Note that the starter code reads input until end-of-file.
If you are running the program with input coming from the keyboard,
the way to indicate end-of-file is to type control-Z.
Assignment 2: Paving Iqualuit
Midterm 1
- Solutions:
You need a postscript viewer to see the Fich and Horton solutions.
They are also available on paper, in the Engineering
library, Sandford Fleming Building room 2402.
Assignment 1: Appointment Calendar
Comments about the starter code:
-
There are some differences in the design of the C vs the OOT
starter code, partly because the languages naturally lead to style differences.
-
Read our code and comments critically. You will find things you
like and don't like. Part of the assignment (Part D) involves improving
on what we've done.
Assignment 0: String Matching
Back to the
csc148 home page