CS 451 Supplemental Problem 4 Grading Form
This project will be worth 25 points, based on the following rubric:
-
Customer process follows steps in problem for a customer (3 points)
-
keeps track of times (entering shop, being served, when finished)
-
wakes up barber as needed
-
Barber process follows steps in problem for a barber (3 points)
-
Indication of whether working or asleep
-
Updating of sleeping time, as needed.
-
Array/queue maintains collection of waiting customers (3 points)
-
main procedure (6 points)
-
initializes parameters
-
oversees the simulation for 30 customers and the needed time
-
Process communication (either shared memory or message passing) (3 points)
-
Attention to critical sections (3 points)
-
Comments on Program Format, Comments, Readability, etc.
(Points not given, but points can be deducted.)
-
Testing (3 points)
-
Test Plan with a numbered listing of the circumstances that can reasonably
arise in this problem
-
Listing of test cases to be considered, with the expected outcome
-
Listing of actual test runs
-
Statement of why the program is correct