CS 357: Database Systems Implementation
Solution to Homework Assignment 6


The required code was not especially difficult to write.  The point of the assignment was to give you experience using the various classes in simpledb.record.  Several people forgot to position the record page to after the last record when moving backwards.  The easiest solution, in my mind, is for RecordFile to call the method afterLast on its record page when moving to a new block inside the afterLast and previous methods.  See my versions of RecordFile, RecordPage, and Hw6Test.