Answers conditioned on previous answers

Answers conditioned on previous answers

by Jonathan Shapiro -
Number of replies: 4
Hi all,
I will make my question as simple and abstract as possible. Consider a four-part STACK question involving numerical calculation in which the answer to all four parts is 0. But it turns out that there is an alternative and valid interpretation of the question which makes the answer to all four parts 1. So the correct answers are either 0,0,0,0 or 1,1,1,1. I cannot rewrite the question, because the exam as already been taken.

So the correct answer for each part is either 0 or 1 but they all have to be the same. Is there anyway to do this with four PRT and as many nodes as it takes?

Thanks,
Jonathan
Average of ratings: -
In reply to Jonathan Shapiro

Re: Answers conditioned on previous answers

by Christopher Sangwin -
Picture of Plugin developers
Jonathan,

I think you can delete PRTs once the exam has taken place and re-grade.  Just don't delete the inputs or change the randomisation.  If you don't want to delete the PRTs, then make them "formative" and hide the feedback with html style.

In any case, I think one PRT will do here?   

Chris
In reply to Christopher Sangwin

Re: Answers conditioned on previous answers

by Jonathan Shapiro -
Thanks for taking the time to give your answer, Chris. You are suggesting that I manually regrade? There are 314 students who took this, so I would like to change the PRT to make both answers valid and then regrade. You say that one PRT will do, but is one PRT with many nodes? Is it possible to have two possible answers with one PRT node? The logic of ans2 =ans1 if ans1 in {0,1}, 0 or 1 otherwise? I do not know enough maxima/STACK commands. I think I know how to do it with many nodes; two for part 1, six for part 2, and so on.
Thanks again.
Jonathan
In reply to Jonathan Shapiro

Re: Answers conditioned on previous answers

by Christopher Sangwin -
Picture of Plugin developers
Jonathan,

Moodle has an automatic regrade option in the quiz.  There are two levels "Dry run" and "Regrade all" so you can check you're happy before you regrade.  Just check the quiz is setup to use the latest version of the question to pick up any changes.

Why don't you copy the question first to a duplicate in your question bank to decide what to do and test it? Then make sure you're confident before you then modify the question in your live quiz. 

As a first guess, I'd probably have two nodes in the PRT.
ATAlgEquiv({ans1,ans2,ans3,ans4},{0}); /* Checks all answers ans1,...,ans4 are 0. */
ATAlgEquiv({ans1,ans2,ans3,ans4},{1}); /* Checks all answers ans1,...,ans4 are 1. */

If you need to give individual feedback about each answer then you can have 8 nodes, e.g. 
ATAlgEquiv(ans1,0); 
will check ans1 is equivalent to 0.

You may not want algebraic equivalence, but if you need a stricter test then other options are documented here: https://docs.stack-assessment.org/en/Authoring/Answer_Tests/Equivalence/

I hope this makes sense,
Chris

In reply to Christopher Sangwin

Re: Answers conditioned on previous answers

by Jonathan Shapiro -
Chris, thanks for your answer. I know about the regrade option, which I have used often. Great feature. That is an interesting answer, which I did not know you could do. I guess this would be the PRT associated with ans4. What would you do with the other PRTs?