University of Toronto
Department of Computer Science
Spring 2000
CSC 209S
Software Tools and Systems Programming
This is an undergraduate course offered by the
Dept. of Computer Science
at the
University of Toronto
.
Available topics:
Course description
Course info sheet
Course info sheet (Adobe Acrobat)
Lecture Notes
6 to a page
,
Postscript, 1 to a page, GZip'd
Notes on
Programming Style
Assignment #1:
HTML
,
Acrobat
,
Broken.c
, Sample Installation Archives:
Sample1.tar.gz
Assignment #2:
HTML
,
Acrobat
Sample solutions (thanks to Craig Armstrong):
miniShell.c
,
ttar.c
Midterm:
Solutions
Assignment #3:
HTML
,
Acrobat
, Sample solution (courtesy of Alexandr Anderson)
ipttt.c
Assignment #4:
HTML
,
Acrobat
Marks so far ...
Final Exam Timetable, April/May 2000
James Fung's Tutorial Webpage
Jamie Ho's Tutorial Web Page
Useful stuff at www.planetoid.org
A guide to using ddd/gdb to debug child processes
Updated plagiarism page
Regular Expressions:
summary and examples
Unix Tools Summary
by Doug Chen
CSH Programming Considered Harmful
by Tom Christianson ... a look at some difficulties with CSH.
Getting Started with Posix Threads
Another threads tutorial ...
Free Solaris from Sun Microsystems
gdb Quick Reference Card
Data Display Debugger
Adobe Acrobat Reader
TTSSH (Secure Communications for CDF Login)
Previous midterms: (
Old midterm questions
,
Fall 98 Midterm #1
Fall 98 Midterm #2
)
Previous exams: (
Fall '98 Exam with solutions
,
Old exam questions
,
Old midterm questions
)
Dekker's Algorithm
Example of Variable Argument Syntax
Example of child/parent synchronization using signals
Example of child/parent synchronization using semaphores
Example of using shared memory
Unix Domain Sockets Example: Server
Unix Domain Sockets Example: Client
Jamie Ho's Client/Server Example (UNIX Domain Sockets):
Server
Client
Inet Domain Sockets Example: Server
Inet Domain Sockets Example: Client
Sockets and select() example
[From Stevens, R. "Unix Network Programming Volume 1", Addison-Wesley, 1998]
File Locking Example Using fcntl()
Pthread and sockets example
The assignment handout for this program:
(HTML Version)
(PDF Version)
Spring '99 A4: Encrypted Chat Server (source and assignment handout)
Pthread program examples from class:
Simple thread+mutex example
,
ShareThread.c
,
PCsimple.c
,
PCthread.c
,
TSD.c
CGI Examples from class:
cgi-parms.cgi
HTML Form that Calls cgi-parms.cgi
Link to online PERL documentation
Newsgroup:
ut.cdf.csc209h
(post by e-mailing to
ut.cdf.csc209h@cdf.toronto.edu
)
Instructor:
W. James MacLean
E-mail:
maclean@cdf.utoronto.ca
Phone:
978-6277
Office:
D. L. Pratt Bldg. 290F (only during hours listed below)
Office hours:
Wednesdays, 2-3pm or by appointment