-
MathType
-
WirisQuizzes
-
LearningLemur
-
CalcMe
-
MathPlayer
-
Store FAQ
-
VPAT for the electronic documentation
-
MathFlow
-
BF FAQ
-
Miscellaneous
-
Wiris Integrations
Keep arguments unevaluated
Reading time: 1minLet's suppose that you need to create a grading fraction (for any of the aforementioned reasons), but you still want to check the form of the provided answers. By default, WirisQuizzes will take the values the student answered and evaluate them to their simplified form.
Imagine that, given an irreducible fraction, we want the student to answer with an equivalent fraction. We will also need a grading function to create this kind of question, as there are an infinite number of possible correct answers. Besides, since we want the student's answer to be interpreted as written, we may select Unevaluated , so the evaluation system considers the fraction without simplifying. 
The corresponding grading function will be called gf . It will give the entire grade if the student answers with a fraction mathematically equal to the statement's one, f, and the corresponding fractions are not simplified.
Tip
Notice that you have to check if the student's answer is simplified or not using the command _check_simplified(x). You can find a complete guide about this particular notation for non-evaluated objects here. If you have any questions about it, you can contact our support team at support@wiris.com.
Thus, we will be able to answer with any equivalent fraction, and it will be accepted as correct.