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

Add num parts correct and clear wrong options to multianswer (cloze)

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1, 2.3.3, 2.4
    • Fix Version/s: 2.4.1
    • Component/s: Questions
    • Labels:
    • Testing Instructions:
      Hide
      1. Create at least one multianswer (Cloze) question. You can use some examples for Moodle docs: http://docs.moodle.org/24/en/Cloze. Example 2 is a good candidate because it has many subquestions and include samples of all subquestions types (it is specially important to verify that horizontal and vertical multichoice subquestions (MCH and MCV) are working because there were some problems with them during development of the code). Additionnaly, you can use Example 1 too of you want also to test with a smaller question.
      2. Don't forget to add several hints to your question(s), for instance "This is the first hint", "This is second hint", ...
        The number of tries allowed in interactive with multiple tries is equal to the number of hints + 1. So if you ceate 2 hints you will have 3 tries allowed.
      3. For each hint try some combination of checked/unchecked for the 2 checkboxes "Show the number of correct responses" and "Clear incorrect responses" ideally all combinations should be tested.
      4. Save and preview the question(s) setting "How questions behave" to "Interactive with multiple tries"
      5. Verify that for each try when you click on the "Test" button the number of correctly answered subquestions is displayed after "You have correctly selected" if and only if "Show the number of correct responses" was checked for the corresponding hint
      6. Verify that after clicking on the "Try again" button, if and only if the "Clear incorrect responses" checkbox was checked for the corresponding hint, all the subquestions answers that were wrong (but no other ones) are correctly cleared (shortanswer and numerical boxes should be empty, radio buttons should not be selected, select should be set to empty option).
      7. Try exporting your subquestions using the Moodle XML format and re-iporting them back and verify that hint's have been correctly exported and imported.
      Show
      Create at least one multianswer (Cloze) question. You can use some examples for Moodle docs: http://docs.moodle.org/24/en/Cloze . Example 2 is a good candidate because it has many subquestions and include samples of all subquestions types (it is specially important to verify that horizontal and vertical multichoice subquestions (MCH and MCV) are working because there were some problems with them during development of the code). Additionnaly, you can use Example 1 too of you want also to test with a smaller question. Don't forget to add several hints to your question(s), for instance "This is the first hint", "This is second hint", ... The number of tries allowed in interactive with multiple tries is equal to the number of hints + 1. So if you ceate 2 hints you will have 3 tries allowed. For each hint try some combination of checked/unchecked for the 2 checkboxes "Show the number of correct responses" and "Clear incorrect responses" ideally all combinations should be tested. Save and preview the question(s) setting "How questions behave" to "Interactive with multiple tries" Verify that for each try when you click on the "Test" button the number of correctly answered subquestions is displayed after "You have correctly selected" if and only if "Show the number of correct responses" was checked for the corresponding hint Verify that after clicking on the "Try again" button, if and only if the "Clear incorrect responses" checkbox was checked for the corresponding hint, all the subquestions answers that were wrong (but no other ones) are correctly cleared (shortanswer and numerical boxes should be empty, radio buttons should not be selected, select should be set to empty option). Try exporting your subquestions using the Moodle XML format and re-iporting them back and verify that hint's have been correctly exported and imported.
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull Master Branch:

      Description

      In interactive with multiple tries mode question types with multiples parts can offer 2 options: "Show the number of correct responses" and "Clear incorrect responses". The multianswer (Cloze) question type should offer these 2 options like the match question type does.
      Tim's original description:
      Apologies that this was missing from the 2.1 release. That was an oversight on my part.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                5 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/Jan/13