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

negative score for quiz questions clipped

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 1.5.2
    • Fix Version/s: None
    • Component/s: Administration
    • Labels:
      None
    • Environment:
      All
    • Affected Branches:
      MOODLE_15_STABLE

      Description

      The stock 1.5.2 does not allow negative scores for individual questions or entire quizzes. In other words, it is impossible to use SAT or GRE style point assignments, in which a wrong answer is worth -0.25 points.

      A fix is proposed as follows (for 1.5.2):

      change line 864 of mod/quiz/locallib.php from

      0.0), 1.0) * $question->maxgrade;

      to

      1.0), 1.0) * $question>maxgrade;

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              poltawski Dan Poltawski
              Reporter:
              imported Imported
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: