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

Make multiple choice questions inside a Cloze question respect the quiz's shuffle answers option

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.2, 2.3, 2.7.2
    • Fix Version/s: 2.8
    • Component/s: Questions
    • Labels:
    • Testing Instructions:
      Hide

      To reproduce / test :

      1. Create a quiz, setting Question Behaviour > Shuffle between questions to No
      2. Add a Cloze multianswer question with question text like this

        This goal is {1:MULTICHOICE:~%10%not at all challenging~%20%slightly challenging~%30%moderately challenging~%40%very challenging~%100%extremely challenging} for me.
        I am {1:MULTICHOICE:~%10%not at all certain~%20%slightly certain~%30%moderately certain~%40%very certain~%100%extremely certain}
        I can achieve the goal by the end of the session.
        

      3. Start a quiz attempt and view that question. The options in the dropdown boxes are shuffled if this is broken, show up in the specified order if this is fixed
      4. Edit the quiz settings and set Question Behaviour > Shuffle between questions to Yes. Start a new quiz attempt, and view that same question again. The items in the dropdown boxes should be shuffled
      Show
      To reproduce / test : Create a quiz, setting Question Behaviour > Shuffle between questions to No Add a Cloze multianswer question with question text like this This goal is {1:MULTICHOICE:~%10%not at all challenging~%20%slightly challenging~%30%moderately challenging~%40%very challenging~%100%extremely challenging} for me. I am {1:MULTICHOICE:~%10%not at all certain~%20%slightly certain~%30%moderately certain~%40%very certain~%100%extremely certain} I can achieve the goal by the end of the session. Start a quiz attempt and view that question. The options in the dropdown boxes are shuffled if this is broken, show up in the specified order if this is fixed Edit the quiz settings and set Question Behaviour > Shuffle between questions to Yes. Start a new quiz attempt, and view that same question again. The items in the dropdown boxes should be shuffled
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_23_STABLE, MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-10971_cloze_shuffle_fix

      Description

      I am creating a new quiz. I have "Shuffle within questions" set to "Yes" in the Quiz setting. Therefore, I would expect that possible answers in MULTICHOICE Cloze questions will be shuffled as well. But they are not.

      This is my Cloze question:

      1. I {:MULTICHOICE:done=have~will} got a real problem with my computer. It {:MULTICHOICE:~=is not~got~were} not working at all!
      2. Tell me your name and your company name and describe what {:MULTICHOICE:was=had~do} happened
      3. I {:MULTICHOICE:are~is=am} not working for a company, I am self-employed
      4. I work at home and I {:MULTICHOICE:have=am~was} trying to meet an important deadline at the moment.
      5. This morning I {:MULTICHOICE:had~could=was} working away happily, when suddenly everything stopped and a message came up on the screen.
      6. {:MULTICHOICE:~=Don't~Have got~Doesn't} worry!
      7. What {:MULTICHOICE:was=did~do} the message say?
      8. I can´t remember exactly, because I {:MULTICHOICE:~=did not~were not~were} understand it.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                11 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Nov/14