Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-50758

Multiple choice - Displayed correct answer is wrong when there are multiple correct options

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9
    • Fix Version/s: 3.2
    • Component/s: Questions
    • Labels:
    • Testing Instructions:
      Hide

      Steps to reproduce:

      • Create a new multiple choice question with 3 answers
      • Disable answer shuffling (just for clarity)
      • Give all answers a score of 100
      • Take quiz, choose 2nd or 3rd answer

      Result:

      • "Correct answer is: answer 1"

      Expected result (either would be logical):

      • "Correct answers are: answer 1, answer 2, answer 3"
      • "Correct answer is: CHOSEN ANSWER"
      • No "Correct answer" message
      Show
      Steps to reproduce: Create a new multiple choice question with 3 answers Disable answer shuffling (just for clarity) Give all answers a score of 100 Take quiz, choose 2nd or 3rd answer Result: "Correct answer is: answer 1" Expected result (either would be logical): "Correct answers are: answer 1, answer 2, answer 3" "Correct answer is: CHOSEN ANSWER" No "Correct answer" message
    • Affected Branches:
      MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      When there is a multiple choice question where all answers are correct, moodle correctly tells the user that his choice was correct, but the text "Correct answer is: XXX" is not consistent/confusing.

      Steps to reproduce:

      • Create a new multiple choice question with 3 answers
      • Disable answer shuffling (just for clarity)
      • Give all answers a score of 100
      • Take quiz, choose 2nd or 3rd answer

      Result:

      • "Correct answer is: answer 1"

      Expected result (either would be logical):

      • "Correct answers are: answer 1, answer 2, answer 3"
      • "Correct answer is: CHOSEN ANSWER"
      • No "Correct answer" message

      Business logic case:

      • We want the student to self assess at the start. Student has to choose "Low level", "Medium level" or "High level". As at least one question needs to have 100%, all answers are given 100% (even though the grade is set to 0)

        Attachments

          Activity

            People

            Assignee:
            anantm23 Anant Mahajan
            Reporter:
            jbeckers Jeroen Beckers
            Peer reviewer:
            Tim Hunt
            Integrator:
            Dan Poltawski
            Tester:
            Damyon Wiese
            Participants:
            Component watchers:
            Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              5/Dec/16