CS 321 Spring 2013  >  Assignment 3

# CS 321 Spring 2013 Assignment 3

Assignment 3 is due at 5 p.m. Tuesday, February 26. It is worth 25 points.

## Procedures

This assignment may be turned in either in paper form or via e-mail.

Papers should be stapled and placed in my mailbox inside the CS Department office (202 Chapman).

E-mail should be sent to ggchappell@alaska.edu, using the subject “SA3”.

• Your answers should consist of a file containing the solutions to the exercises below. This file (or an archive file containing it) should be attached to your e-mail message.
• I may not read your homework e-mail immediately. If you wish to discuss the assignment (or anything else) with me, send me a separate message with a different subject line.

## Exercises (25 pts total)

1. Chapter 1 problems (p. 79), #6.

2. Chapter 2 problems (p. 170), #1. Figure 2-2 is on p. 90.

3. Chapter 2 problems, #8. Figure 2-8 is on p. 98.

4. Chapter 2 problems, #10. Figure 2-12 is on p. 102.

5. Chapter 2 problems, #23. Explain your answer. Figure 2-23 is on p. 122.

6. Chapter 2 problems, #30. For the “Relate ...” portion, you could explain how to replace the various employees with *ix processes/threads, while replicating their communication methods as closely as possible in this context.

CS 321 Spring 2013: Assignment 3 / Updated: 19 Feb 2013 / Glenn G. Chappell / ggchappell@alaska.edu