csc 148 Midterm Exam fall 1995 Comments from the Markers ------------------------------------------------------------------------- Below is a collection of comments from the markers of the midterm exam. A common theme is mis-reading questions. The ability to read precise descriptions or instructions is as important as the ability to write precisely. Remember that solutions to the exam are in the library. Question 3a ----------- An appropriate integer value is last-first. One mark if they give something similar, but that is not an integer value eg, first<=last or last-first>=0. A lot of people put wrong answers like: MID, FIRST, or LAST which do NOT decrease on every iteration. Also note that N does not change in the loop so this is also wrong. Question 3b ----------- Expected answer: FIRST<=LAST, LAST-FIRST>=0, or something similar. Answers to 3b were marked relative to what the student gave for 3a. For example, if they said LAST in Q3a, the statement 1name = " " front->another = nil .... instead of just front = nil Again, many students did not read the instructions and they wrote of kinds of things - adding a new record to the list, creating a list, searching a list etc.