CSC 324: Assignment 1 marking details

Autotesting

Uploaded to the A1 directory should be a file named results that holds the results of our autotesting. The results for a typical test look like this:

Test: (fix list 1 'one)
Weights: 2/3
(failed "After 0 arguments" (input) (output ) (expected (one)))
(failed "Before 1 argument" (input two) exception)
(passed "Before many arguments" (input two three four))
Total: 2/3

The Test: line provides a description of the tests performed. Many individual tests (with different inputs) are performed, each scoring the number of marks in the Weights: line (here, each passed test is worth 2/3 of a mark). Following is a report of the results of each test.

passed means your code passed the test with the input following the input specifier. failed means your code failed the test, either because the output didn't match our expected output (input is out input, output is what your code did, and expected is what we think it should have done), or because an exception occurred (like applying a procedure with the wrong number of arguments, referencing an undefined variable, taking car of an atom, etc.).

Total is the total number of marks earned by this testing, expressed possibly in fractions. (Here, the student obtained 2/3 of a mark since one test passed.)

At the bottom of the file is a Grand Total line, reporting the total autotesting score out of 27.

Marking Scheme

Autotesting

1a.		1
 b.		1
 c.		2
 d.		1	/5

2a.		4
 b.		1	/5

3a.		3
 b.		3
 b precalc	2
 c.		-	/8

4x.		1
 y.		1
 length.	1
 scale.		1
 add.		1
 display.	1
b. list add.	3	/9


Valid HTML 4.01 Transitional