Use Grading criteria to account for the accuracy of the target answer, equal to 100 m. Give full mark for answers with an absolute error less than 1 m, i.e. for any answer between 99 m and 101 m. Give half mark for answers with
an absolute error between 1 m and 5 m, i.e. for any answer between 95 m and 99 m, and between 101 m and 105 m.
General
Question name! Enter a value close to or equal to 100 m
Main question
Question text! Enter a value close to or equal to 100 m:
A value within ± 1 m, i.e. any value between 99 m and 101 m is worth 1 point.
A value within ± 5 m, i.e. any value between 95 m and 105 m is worth 0.5 point.
Part 1
Part's mark* 1
Answer type Number
Answer* 100
Grading variables case1 = _err < 1.0000001;
case2 = 0.5*(_err < 5.0000001);
Grading criteria* max(case1,case2)
Unit m
Part's text {_0}{_u}
Extra options
[Global] - Deduction for wrong unit (0-1)* 1
[Global] - Basic conversion rules Common SI unit
Combined feedback
For any correct response Your answer is correct within ± 1 m (1 point)
For any partially correct response Your answer is correct within ± 5 m (0.5 point)
In this example, 0000001 is appended to 1 and 5 in order to account for the computer inaccuracies and make sure that the limit values (95, 99,
101 and 105) are accepted answers. This would not be necessary in other cases.
An equivalent accuracy of the answer is used automatically if the answer is entered in a unit other than m. For example, full mark is given for answers between 99000 mm and 101000 mm,
half mark is given for answers between 9500 cm and 9900 cm, and between 10100 cm and 10500 cm, etc.
[Global] - Deduction for wrong unit (0-1)* equal to 1 means that the unit must be specified, otherwise the answer is considered incorrect.
The Formulas question should look like this: