============================================================================ Faculty of Applied Science and Engineering, University of Toronto CSC181: Introduction to Computer Programming, Fall 2000 Assignment 1 Marking Scheme ============================================================================ This assignment was marked out of 30, with 14 marks assigned to the first task (two nearest points) and 16 assigned to the second (bounding rectangle). ---------------------------- Task 1: (Two nearest points) ---------------------------- * 14 test cases, each worth 1 point * In general: * (-2): extraneous output (e.g. distance between p0 and two nearest points) * For each case: * (-.5): two nearest points were listed in reverse order (second nearest before nearest) * (-.5): coordinates of a point incorrect (x or y are incorrect) ---------------------------- Task 2: (Bounding rectangle) ---------------------------- * 8 test cases, each worth 2 points * In general: * (-2): extraneous output * For each case: * (-.5): x-coordinate of centre incorrect * (-.5): y-coordinate of centre incorrect * (-.5): width of centre incorrect * (-.5): height of centre incorrect