Homeworks are due at the beginning of class on the due date.
| Homework | Due Date | Reading | Assignment |
|---|---|---|---|
| 1 | 9/17/2007 | html | |
| 2 | 9/24/2007 | Ch. 1 | Ch. 1 (pp. 67-70): 4, 5, 7, 8, 13, 16, 24, 25 |
| 3 | 10/8/2007 | § 2.1-2.2 | Ch. 2 (pp. 153-158): 1, 4-9, 11 (assume that threads can start I/O operations while others are still waiting for I/O to complete), 15 |
| 4 | 10/15/2007 | § 2.3 | Ch. 2 (pp. 153-158): 16, 19, 22, 26, 28 |
| 5 | 10/22/2007 | § 2.3-2.4 |
Find the bug in the
C++
version of Producer/Consumer (hint: what is the lifetime of
statically allocated objects in main?) Finish the code for the Sleeping Barber (you need not write compilable C++ code) Ch. 2 (pp. 153-158): 23, 25, 27 |
| 6 | 10/29/2007 (not to hand in) | Ch. 1-2 |
Midterm Practice Problems |
| 7 | 11/12/2007 | § 2.5 | pp. 156-7: 36, 38, 40, 42 (see pp.144-5), 43, 44 |
| 8 | 11/19/2007 | Ch. 3 | pp. 186-8: 13, 14, 15, 18, 20 (assume there are 2 of resource 5 available) |
| 9 | 11/28/2007 | Ch. 4 | pp. 263-268: 7, 8, 10, 12-15 |
| 10 | 12/10/2007 | Ch. 6 | pp. 449-52: 7, 10, 15, 16 (intrepret this question as "write pseudocode for lseek using a FAT file system"), 21, 22, 34, 36 |
| Final Exam Practice | 12/17/2007 (not to hand in) | Ch. 1-4,6 |
Final Exam Practice Problems (Solutions) |