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

Short answer questions don't handle zeros with wild cards well when "0" is given by a student.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 2.3.7, 2.4.4
    • 2.3.6, 2.4.3, 2.5
    • Quiz
    • MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • MOODLE_23_STABLE, MOODLE_24_STABLE
    • Hide

      1) Import the attached question file (MoodleXML) (or otherwise create the example Cloze question below).
      2) Preview the question.
      3) Enter an answer of "0" for each question. Verify that all parts are marked correct.
      4) Enter an answer of "0 pairs" for each question. Verify that ONLY Parts 2 and 3 are marked correct.
      5) Enter an answer of "The answer is 0" for each question. Verify that ONLY Parts 2 and 4 are marked correct.
      6) You may also wish to check stand-alone Short-answer questions that are no embedded in a Cloze question.

      Show
      1) Import the attached question file (MoodleXML) (or otherwise create the example Cloze question below). 2) Preview the question. 3) Enter an answer of "0" for each question. Verify that all parts are marked correct. 4) Enter an answer of "0 pairs" for each question. Verify that ONLY Parts 2 and 3 are marked correct. 5) Enter an answer of "The answer is 0" for each question. Verify that ONLY Parts 2 and 4 are marked correct. 6) You may also wish to check stand-alone Short-answer questions that are no embedded in a Cloze question.

      This is an issue in both normal Short Answer and SHORTANSWER questions in an Embedded Answers (Cloze) question. I've attached a Cloze question to make it easy to see all the possibilities.

      1) Import the attached question file (MoodleXML).
      2) Preview the question.
      3) Enter an answer of "0" for each question. Only the first question is marked as correct. All should be marked as correct.
      4) Enter an answer of "0 pairs" for each question. All are marked as expected.
      5) Enter an answer of "The answer is 0" for each question. All are marked as expected.

      I recently upgraded from 2.4.1+ to 2.4.3. Many students before the upgrade took a quiz with a similar question and it was graded correctly. A student doing a makeup after the upgrade was graded incorrectly.

            timhunt Tim Hunt
            worfds91 Joshua Bragg (Inactive)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Ankit Agarwal Ankit Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.