CompSci 143A Homework Assigments - Summer, 2011 (Dillencourt)
Recommended homework problems will be posted here.
The recommended homework problems will not be collected or graded.
The recommended homework problems will be discussed in Discussion Section,
and may reappear on the quizzes or the exams.
- Problems Posted June 20
- Chapter 1:3
- Chapter 2: 1,2,3,4,5,6,7,8,9,11,14
(In 8, the two references to turn should instead be
to the variable will_wait.
- Problems Posted June 22
- Chapter 3: 1,2,4,5,6,8,9,10,15,18.
- Note the following corrections to the problem statements:
- In problem 3-15, references to fork[i+1%5] should be replaced with
references to fork[(i%5)+1].
- In problem 3-18, there are several corrections. (These are included
in the list of errata in the
book web site,
but they are also included here for your convenience).
References to processes
a, b, and c should be replaced with references to
p1, p2, and p3, respectively. In the
last line of part (a),
subscripts of a, b, and c should be replaced with
subscripts of 1, 2, and 3, respectively.
And finally, the second part of the question should be labeled (b).
- Problems Posted July 6
- Chapter 4: 7,8,9,10,12,14,19.
(Note: in problem 4-7, reference should be to Figure 4-6, not Figure 4-5.)
- Chapter 5: 3,5,6,11,13,14
- Problems Posted July 22
- Chapter 6: 2,3,4,7,9,15,16
- Problems Posted August 1
- Chapter 7: 1,3,5,8,10,12,14
- Chapter 8: 1,2,3,5,6,12,13
- Problems Posted August 7
- Chapter 9: 1,2,3,4,6,7,8
- Chapter 10: 1,2,6,7,8. Note the following correction(s) to the problem statement(s):
- In Problem 10.1, The first line should reference Figure 10.7 (not 6.7).
In parts (b) and (c), replace F1 by F4.
- Problems Posted August 22
- Chapter 11: 3,4,5,8,15,16
Last modified: August 22, 2011