CS 322 Fall 2013
Lab 3
Process Programming
Chain and Fan
Due Monday, October 7 at 10:00 P.M.

Please type up your answers in a simple text editor such as Emacs or vi and submit it with your code files by the deadline on royal
		/Shared/cs322/submit/lab3
Include your name in the filename and at the top of your write-up.

Setup

Copy the following folder from royal

		/Shared/cs322/public/lab3
The directory contains a pdf document and many code samples.

Part I: Process Chains

Complete the exercise described in Section 3.8.
  1. Answer the questions 1 to 7 in your text file.
  2. Do the modifications on the code requested and submit your code.
I strongly suggest to complete Part 1 of Lab 3 before completing Project 1.

Part II: Process Fans

Complete the exercise described in Section 3.9.
  1. Write the runsim and the testsim programs.
  2. Test the programs using a testing.data file.
  3. Give the results and comments on them in your text file.