more robust programming of alternate correct responses (maple-graded)
I have an exam that consists of a lot of maple-graded question types, in which a student needs to type a formula like for instance: 2*Pi*R*t*L*rho. This response is case sensitive. In order to grade the student's response correctly, and automatically compensate for responses being graded incorrect due to case sensitivity, I need to define alternatives like 2*pi*r*t*l*rho (and all the 'in between possibilities that arise).
Now I have to define all these alternatives in the algorithm and in the grading code. Is there a simple way to declare (in the algorithm or somewhere else) that Pi=pi, R=r and L=l, so I only have to define (and grade) one correct answer instead of 8 possibilities. Especially because in that same QD-question I have multiple response fields that could use the same 'declaration'.
in algorithm in grading code
You can use Maple's StringTools library to convert both the response and teachers answer to lower case before comparing them. You then need to parse the lowercase string to turn it back into math.
In Grading Code:
$TA = "2*Pi*R*t*L*rho";
Note, make sure you use text entry mode with this as the symbolic editor is weird with Pi.
@Robert-Stanyon Thanks, this saves me a lot of time