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

Allow multiple answers in cloze MULTICHOICE question type

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      • Create a new Embedded answers (Cloze) question, with the following text:

        Please select the fruits {1:MULTIRESPONSE:=Apple#Good~%-50%Burger~%-50%Hot dog#Not a fruit~%-50%Pizza~=Orange#Correct~=Banana} and vegetables {1:MULTIRESPONSE:=Raddish#Good~Chocolate~Biscuit#Not a vegetable~Cheese~=Carrot#Correct}
        

      • Attempt the question and make sure the following scenarios all work as expected:
        • All correct answers selected in both questions (and no incorrect answers) - 2.0 out of 2.0
        • All answers selected in both questions (0.0 out of 2.0)
        • 1 correct answer selected in each question (0.83 out of 2.0)
        • 1 correct and one incorrect answer selected in each question (0.0 out of 2.0)
      • Test the layout and shuffle options:
        • MULTIRESPONSE => MULTIRESPONSE_H: show horizontal list
        • MULTIRESPONSE => MULTIRESPONSE_S: show vertical list + shuffled
        • MULTIRESPONSE => MULTIRESPONSE_HS: show horizontal list + shuffled
      • Test short versions of the identifiers:
        • MULTIRESPONSE => MR: vertical list, not shuffled
        • MULTIRESPONSE => MRH: horizontal list, not shuffled
        • MULTIRESPONSE => MRS: vertical list, shuffled
        • MULTIRESPONSE => MRHS: horizontal list, shuffled
      Show
      Create a new Embedded answers (Cloze) question, with the following text: Please select the fruits {1:MULTIRESPONSE:=Apple#Good~%-50%Burger~%-50%Hot dog#Not a fruit~%-50%Pizza~=Orange#Correct~=Banana} and vegetables {1:MULTIRESPONSE:=Raddish#Good~Chocolate~Biscuit#Not a vegetable~Cheese~=Carrot#Correct} Attempt the question and make sure the following scenarios all work as expected: All correct answers selected in both questions (and no incorrect answers) - 2.0 out of 2.0 All answers selected in both questions (0.0 out of 2.0) 1 correct answer selected in each question (0.83 out of 2.0) 1 correct and one incorrect answer selected in each question (0.0 out of 2.0) Test the layout and shuffle options: MULTIRESPONSE => MULTIRESPONSE_H: show horizontal list MULTIRESPONSE => MULTIRESPONSE_S: show vertical list + shuffled MULTIRESPONSE => MULTIRESPONSE_HS: show horizontal list + shuffled Test short versions of the identifiers: MULTIRESPONSE => MR: vertical list, not shuffled MULTIRESPONSE => MRH: horizontal list, not shuffled MULTIRESPONSE => MRS: vertical list, shuffled MULTIRESPONSE => MRHS: horizontal list, shuffled
    • Affected Branches:
      MOODLE_15_STABLE, MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Pull Master Branch:
      MDL-3782_multichoice_multiple

      Description

      Trying to enter a multi-answer multiple choice question in the Embedded/Cloze format, such as

      {1:MULTICHOICE:%-50%A~%50%B~%50%C~%-50%D}

      , gives the One of the answers should be 100% warning. It's possible to enter such questions manually, or to import such questions in the GIFT format, but for questions with multiple parts that must use Cloze, it doesn't work.

      For now, I can work around it by doing something like

      {1:MC:=A and B~B and C~D~A, B and C}

      , but having the multi-answer check boxes would be ideal.

        Attachments

        1. 3782-2.png
          75 kB
          Andrew Nicols
        2. 3782-4.png
          64 kB
          Andrew Nicols
        3. cloze_screenshot.png
          94 kB
          Davo Smith

          Issue Links

            Activity

              People

              • Votes:
                3 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

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