Announcements (in reverse time order)
Old announcements likely no longer of interest have been moved to the
end of this file (unless they already appear
elsewhere).
Course information
Assignments
- Assignment one
- Assignment two
- Assignment three
- Assignment four
Lecture notes and other section-specific information
Problem sessions
- Coming up on Wednesday 3 Dec, 5:10-6:00:
Recreational programming: Self-printing programs.
- Wednesday 11 Sept 2002:
- Wednesday 18 Sept 2002:
-
C programming with multiple files, linking multiple files together,
and working with types in C.
I will write some C code which is more exciting than "Hello, world".
I think that this will clarify the "-lm" business which some were
confused about in last week's problem session.
- the files created
(better notes coming, maybe)
- Wednesday 25 Sept 2002:
- Write a program from scratch as a demonstration of some program
development techniques.
Discussed design decisions and such.
Somewhat hasty.
- the problems and the solutions
- Wednesday 2 Oct 2002:
- Exploration of the C "memory model" and pointer arithmetic, by
printing out pointer values, looking at more complex type declarations,
etc.
Also, some very simple use of a debugger, especially to determine where
your program crashed.
- the files created (more or less)
(n.b. most of them are bad!)
- Wednesday 9 Oct 2002:
- Dynamic data structures with struct and malloc and such.
An example game program builds up a binary search tree and traverses it.
I wrote a program from scratch as a demonstration,
discussing design decisions.
- program (exterior) design, as a sample dialogue
- the program. Type "DUMP" to show
the data structure (when you are being asked a yes/no question).
- Wednesday 16 Oct 2002:
- String games (C strings, that is).
Manipulate strings, generate permutations.
-
the code discussed (cleaned up after
the presentation)
- Wednesday 23 Oct 2002:
Hash C strings in order to make vertices.
- Wednesday 30 Oct 2002:
- Generic stacks: code once (and a bit), use many times.
- code
- Wednesday 6 Nov 2002:
- Wednesday 13 Nov 2002:
- Operator overloading in C++. Make the "complex" data-type look like
a built-in!
- Wednesday 20 Nov 2002:
-
Approximate contents:
Some dynamic programming stuff, and use of a profiling
tool to determine which approach is faster and by how much. And some
other uses of a profiling tool.
- Wednesday 27 Nov 2002:
- Four Cheeses: The Tower of Hanoi with an extra peg.
- code
Tutorials
Old announcements
-
Danny Heap's Tuesday, December 17 office hour will start 35 minutes late
(4:35), since he must invigilate another exam from 2:00-4:30.
- Exam contents, aids permitted
-
Correction to assignment four
-
Assignment three extension until 12:00 noon on Saturday November 23.
This is a 36-hour extension resulting from a 10-hour CDF downtime, so
hopefully it is deemed a sufficient response!
A noon deadline recognizes that people intending to work Monday
overnight or Tuesday morning were the most greatly inconvenienced by the CDF
downtime.
It got more exciting after that, as chronicalled in
yikes.html.
- For people having trouble understanding the basic flow of data in
assignment three! Or how the network works!
- I'd like to attempt to convey the big picture with physical
demonstrations, using people as ethernet packets or something like that, in
room BA 5256 at 5:10 today, Thursday November 14 (i.e. in a couple hours).
- Please let other people around you know!
- The demonstration might be a bit silly, but I think it will be
informative, for people who are not clear on either
- how the program all fits together
or
- how the ethernet works
- Sorry for the late notice -- this is responding to requests just today --
and I think I'd better do this right away for it to be in time to be of use.
- BA 5256 is just south of the southern elevator bank. It's directly
overhead a portion of the undergraduate office.
- Midterms October 29 (evening) and November 1 (day). Find out
more at section-specific information. There
are additional TA office hours devoted to the midterms;
see TA office hours.
- all TA office hours
- TA office hours for assignment two:
- Monday October 21, 5:00-6:00 (Alfredo), BA 1240
- Tuesday October 22, 1:30-2:30 (Alfredo), WB 342
- Thursday October 24, 1:30-2:30 (Babak), BA 2135
As well, your instructor has regular office hours.
- TA office hours for assignment one:
- Tuesday October 8, 12:30-1:30 (Peter), UC 161
- Wednesday October 9, 2:30-3:30 (Mea), ES 142 (Earth Sciences Building)
- Thursday October 10, 5:15-6:00 (Peter), UC 161
As well, your instructor has regular office hours.
- Final tutorial assignments
are as follows:
- Day section, Mondays 11:10-12:00:
surname A-D in SF 1101;
surname E-K in GB 304;
surname L-N in GB 412;
surname O-Ta in GB 405;
surname Th-Z in BA 2159.
- Evening section, Tuesday 6:10-7:00:
surname A-H in BA 1190;
surname I-P in BA 2139;
surname Q-Z in BA 2130.
- CDF accounts have now been created
for people officially enrolled in the course
as of 17:00 on 30 Sept 2002.
- Tutorial assignments for the first two tutorials only
(day section changed for subsequent tutorials):
- Day section, Monday 11:10-12:00:
surname A-G in SF 1101;
surname H-K in GB 304;
surname L-R in GB 412;
surname S-Z in BA 2159.
- Evening section, Tuesday 6:10-7:00:
surname A-H in BA 1190;
surname I-P in BA 2139;
surname Q-Z in BA 2130.
-
19 Sept 2002: The programme-only restrictions on CSC 270 have been
reduced to only 20 reserved spaces per lecture section.
At some point they will be dropped entirely.
-
19 Sept 2002: There was a big disk failure at CDF today.
The admins hope to have everything back working by the end of the day
(Thursday 19 Sept) (but if they do, they've done an amazing job, and we
oughtn't be surprised if they don't make it today). (They did it.)
-
Wednesday September 18th's problem session will be repeated at 5:10-6:00.
That is, 4-5 and 5-6. Future schedule to be determined.
Both sessions in WB 116.
-
Library orientation tours