#4785 - Incorrect answer is correct
| Identifier | #4785 |
|---|---|
| Issue type | Feature request or suggestion |
| Title | Incorrect answer is correct |
| Status | Completed |
| Handling member | Chris Graham |
| Version | 10.0.39 |
| Addon | quizzes |
| Description | Thank you for entering the competition. Your entry has been saved.
Explanation: “Performers who are based in Europe?” was answered with: Aephanemer, Blazing War Machine, Cripper, Forged However, this is incorrect. Velkhanos are from Spain. Forged is the wrong answer as they are from Mexico. |
| Steps to reproduce | Performers who are based in Europe? [MULTIMULTIPLE] [REQUIRED] Aephanemer [*] :Aephanemer are from France. Blazing War Machine [*] :Blazing War Machine are from France. Cripper [*] :Cripper are from Germany. Velkhanos [*] :Velkhanos are from Spain. Forged :Forged are from Mexico. Devil Within :Devil Within are from Japan. Core of Dying Earth :Core of Dying Earth are from Russia. |
| Funded? | No |
| Commits |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
The explanation syntax is to be shown when a particular answer is given, irrespective of whether that answer is correct or not.
This makes no sense for a MULTIMULTIPLE question, because:
a) Multiple answers are given, so it doesn't know what explanation to output
b) No single explanation can provide a full outlining of the users mistake
So, for a MULTIMULTIPLE we will instead show the explanations of all incorrect answers given. And this shall be the documented behavior.
Because there are multiple answers selected, we can't just give a single hard-coded explanation of why a particular combination of answers are right/wrong. So change the meaning of the syntax for such questions, and document that.
In this case the explanation text is showing a correct answer which wasn't selected, rather than the wrong answer (Forged) which was, removing the explanation text won't change that? Or will it? I mean from a marking perspective.
I've made it work as would be expected for MULTIMULTIPLE.
Generally speaking though, it provides an explanation associated with the answer GIVEN, whether correct or not. Not an answer NOT GIVEN.
Imagine a quiz that asks about why the sky is blue. There is an answer "Refraction" with an explanation "Did you know that on different planets the sky may be a different colour due to different refractive indexes of different atmospheres." - and another answer "Reflection" with an explanation "If it was reflection then the planet would be a lot darker.".
Don't get bogged down in what you were seeing here, it wasn't good code and there's no point trying to understand what that logic was doing as it was stupid. For MULTIMULTIPLE the new code will provide explanations of every incorrect answer, both ticked ones that should not have been, and unticked ones that should have been.