CS140 -- Midterm Exam: Grading

Just one comment -- I do give partial credit for certain answers below. If you did get partial credit, you should know that your answer was wrong, but enough of your thinking was right to warrant some points. If you did not get partial credit for an answer, do not come and try to argue with me and explain your thinking -- my answer will be that you got the problem wrong and you were not thinking along the lines that I wanted you to think along.

The multiple choice grading is kind of detailed -- it was done automtically, obviously with a program that you are capable of writing. If you'd like to see it (of course, it uses the fields library), it is in grader.c. Try it out if you want.


Questions 1-3

Questions 1 through 3 were worth three points each. Grading was as follows:

Questions 4-7

Questions 4 through 7 were worth four points each. Grading was as follows:

Questions 8-11

Questions 8 through 11 were worth four points each. Grading was as follows:

Questions 12-14

Question 12 was 4 points. Questions 13 and 14 were 5 points each. Grading was as follows:

Question 15

Question 15 was worth 10 points, allocated as follows:

Question 16

Question 16 was worth 25 points, allocated as follows: