CSC270, 1996, St George Camps Midterm was marked by Kwok Chow ( chow@cs.toronto.edu ) Marks Marking Scheme Answer Q1.1 3 -3 'yes' with incorrect explanation -2 'no' with incorrect explanation Q1.2 4 -4 incorrect x ( multiple pi, root, x leads to converge to the root) Q1.3 4 -4 'no' with incorrect explanation -2 'yes' with incorrect explanation Q1.4 4 -4 'yes' with incorrect explanation -2 'no' with incorrect explanation Q2.1 3 -3 incorrect graph -2 correct graph without the indication of x_{i+1} Q2.2 3 -3 incorrect computation of x_{i+1} -1 or -2 correct formula without the exact computation of x_{i+1} Q2.3 4 -4 'yes' with incorrect explanation -2 'no' with incorrect explanation Q3 10 -1 incorrect C function, i.e missing void, int, and etc. -5 incorrect C function output -2 correct C function ouput but not in order from s to d -2 correct C function ouput but not including s and/or d -2 don't work for s=d -1, -2, -3, or -4 C syntax errors Q4.1 7 -7 totally incorrect order -6 only one correct -4 only two correct and in order -3 only three correct and in order -1 four correct and in order Q4.2 3 -3 incorrect explanation -1 or -2 incomplete explanation