Student answer in question feedback

An interesting Wiris Quizzes' feature is the possibility of using the student's answer inside the question feedback. In other words, you can now give a personalized response to each student, depending on what their answer was, with several purposes.

The main purpose when using this feature is to compare the student's answer with the correct one. Let's ask the following question:

You can add dynamic feedback to the question, that changes based on the student's answer. For example, in this question you could be interested in graphing the student's answer, and compare it to the correct answer:

To do so, you just have to write parameter answer = 0 in your CalcMe algorithm and, from then on, the student answer will be stored in a variable called answer. For the feedback example you just looked at, you must end up with this:

LIVE DEMO

Finally, you have to add an answer blank for the wrong answers and use the customized feedback for it.

If you don't know how to do add a second answer, see the following documentation page.

Another purpose when using this feature is to provide the student with the steps they should have followed to answer the question correctly. Let's ask the following question:

You can add dynamic feedback to the question, that changes based on the student's answer. For example, in this question, you could be interested in showing the procedure the student has to follow to answer correctly the question. Moreover, you can also show why the provided answer is not appropriate.

To do so, as in the previous example, you just have to write parameter answer = 0 in your CalcMe algorithm and, from then on, the student answer will be stored in a variable called answer. For the customized feedback example you just looked at, you will need to access to the two answers given by the student and to calculate the value of the polynomial in those points. The algorithm must end up with this:

LIVE DEMO

Then, you have to add an answer blank for the wrong answers and use the customized feedback for it. Keep an eye on the used notation!

Finally, you have to add the general feedback showing the procedure to solve the problem.