The following example script returns feedback to the student using a comment in a Maple Syntax question. The system calculates the displayed correct answer using a maple statement in the algorithm statement.
Note: By default, all Maple question subtypes do not return feedback if a student response is incorrect.
qu.1.topic=Maple Comment Example Script@
qu.1.1.question=What is the derivative of sin(x)?@
qu.1.1.maple=evalb($RESPONSE=diff(sin(x),x));@
qu.1.1.type=maple@
qu.1.1.mode=Maple@
qu.1.1.comment=The correct answer is $a.@
qu.1.1.editing=useHTML@
qu.1.1.algorithm=$a=maple("diff(sin(x),x)");@
See Also:
Maple-graded questions in the Question Bank Editor