Student's answer throughout a question

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

Comparison with the student's answer

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

st_ans_ex1.1.png

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

st_ans_ex1.2.png

To do so, you 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:

graphics.student_answer.calc.png

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

Tip

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

st_ans_ex1.3.png

Steps to solve the problem

Another purpose of 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:

st_ans_ex2.1.png

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

st_ans_ex2.2.png

To do so, as in the previous example, you 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 the two answers given by the student and calculate the value of the polynomial in those points. The algorithm must end up with this:

calc.student_answer.calc.png

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!

st_ans_ex2.3.png

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

st_ans_ex2.4.png

Student's answer in the same question

Another feature approach is using the student's answer in a later part of the question. For instance, imagine you want to ask the following question:

st_ans_ex3.1.png

If a student gets the original line wrong, you may be interested in providing a partial grade if he uses the wrong answer correctly to get the perpendicular gradient. To do so, you need to create a grading function. The CalcMe algorithm must be something as follows:

calc.student_answer2.calc.png

Tip

To learn more about grading functions, see its dedicated page.

Thus, perpendicular lines passing through the corresponding point will be accepted even though the original line didn't match the initial requirements.

st_ans_ex3.3.png