Grading for Question 1 -- 10 points

There are three important activities that happen in this question. First, the operating system detects the bad file descriptor on the first write() call, and then deals with it. Second, the operating system detects the bad pointer on the second write() call, and then deals with it. Third, a segmentation violation is generated and the program is terminated.

The way I graded this question was as follows:


Grade Histogram