CSC 209H: Lecture Notes

PDF versions of the lecture slides will be available here.
Readings from the course textbooks will be assigned at least a week in advance as preparation for the week's lectures.

Topics Delivered Slides Readings Tutorial Notes
Introduction
Unix review and Unix files
Week 1 pdf (pdf 1-up) none
Shell programming Week 2-4
Shell programming Week 2-3 pdf (pdf 1-up) shell examples TA CVS tutorial notes (1-up)
TA tutorial notes week 3 (1-up)
Shell review Week 4 pdf (pdf 1-up)
C programming Week 4-7
Introduction to C Week 4 Intro notes
pdf (pdf 1-up)
King: Ch. 1-7 TA tutorial notes week 4 (1-up)
C pointers and strings Week 5 Pointers: pdf (pdf 1-up)
Strings: pdf (pdf 1-up)
Memory Management: pdf (pdf 1-up)
King: Ch. 7, 8.1, 11.1, 11.2, 11.3 TA tutorial notes week 5
C structs, files and system calls Week 6 pdf (pdf 1-up) King: Ch. 12, 13, 17.1-17.4, 16.1-16.3
Haviland: Ch. 1, 2.2-2.4, 3.3, 4.1, 4.2, 4.4
C examples
TA tutorial notes week 6 (1-up)
Advanced C topics Week 7 pdf (pdf 1-up)
Function pointers: pdf (pdf 1-up)
Compilers, libraries: pdf (pdf 1-up)
Systems programming Week 7-13
Processes Week 7-8 pdf (pdf 1-up) Haviland: Chapter 5
Examples
Pipes Week 8-9 pdf (pdf 1-up) Haviland: Ch. 7.1 (except 7.1.6), 2, 11
workers.c
Signals Week 9 pdf (pdf 1-up) Haviland: Chapter 6 (except 6.2.4 on sigsetjmp)
Examples
Sockets Week 10 pdf (pdf 1-up) Haviland: Chapter 10
Examples
sigchld.c example
Select Week 11 pdf (pdf 1-up)
Bit vectors: pdf (pdf 1-up)
Haviland: Chapter 7.1.6, King: Chapter 20.1, 20.2 inetserver.c and inetclient.c
Concurrency Week 12 pdf (pdf 1-up) Haviland: Chapter 8.3.3
Threads Week 13 pdf (pdf 1-up) Example: threadserver.c
pthreads tutorial
Review Week 13 pdf (pdf 1-up)

Note: If you opt to use a different C book for use in this course, you can read the sections of your book that correspond to the assigned readings.
You may wish to consult the table of contents for King's book.