Grading for Question 5 -- 23 points
There were five ways in which this program should have been fixed.
Here are the point tallies for identifying and fixing these bugs
- The deadlock problem: Identifying: 5 points, Fixing: 5 points
- Ordering the free blocks: Identifying: 5 points, Fixing: 5 points
- Ordering the file's blocks when you do the copying:
Identifying: 5 points, Fixing: 5 points
- The tmp2 bug: Identifying: 3 points, fixing: 1 point.
- Flagging the error if there are not enough free blocks.
Identifying: 3 points, Fixing: 2 points.
At the end, your score is the minimum of your point total and 23.
Histogram