Calculated multichoice options

Calculated multichoice options

by Scott Watkins -
Number of replies: 1

I am using version 2.8.6. In a calculated multichoice question, how can you account for choices that may or may not be correct, depending on the values of the wildcards?

Example:

Q: What is {x} + {y}?

Answer choices:

a) {={x}+{y}}
b) {={x}-{y}}
c) {={x}*{y}}
d) {={x}/{y}}

Answer (a) is meant to be correct, but with some wildcard values (such as when x=2 and y=2), answer (c) is also correct. Does Moodle somehow recognize the value of the correct choice (a), and then detect that (c) is equal to that value?

Average of ratings: -
In reply to Scott Watkins

Re: Calculated multichoice options

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

That is a problem.

There is really only one answer: Make very sure you don't pick wildcards like that. And, really the only way to do that is to review the randomly generated numbers.