Moodle
  1. Moodle
  2. MDL-4464

Quiz times out to give Zero grade even though answer shown correct

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.2
    • Fix Version/s: None
    • Component/s: Quiz
    • Labels:
      None
    • Environment:
      All
    • Rank:
      8568

      Description

      Some students taking a timed quiz find that if the quiz times out, they get a grade of zero even though all their answers are correct, and shown to be correct in the grading of the question, but not the quiz as a whole. Regrading, and changing the score do not help.

      I have uploaded a screen shot to this thread where others are having similar but non-identical problems.

      http://moodle.org/mod/forum/discuss.php?d=35874#166634

      Do you think that upgrading to 1.5.3 would cure the problem?

      Tim

        Activity

        Hide
        Martin Dougiamas added a comment -

        From Timothy Takemoto (timothy at nihonbunka.com) Monday, 12 December 2005, 11:09 AM:

        When comparng with Jim's problem, of a similar nature

        http://moodle.org/mod/forum/discuss.php?d=36085#166802

        it seems that a common factor may be that the students are submitting AFTER the quiz has timed out.

        In the past, I thought that quizzes shut themselves when the time limit ended, or did I imaging that?

        Tim

        From Anthony Borrow (aborrow at jesuitcp.org) Monday, 12 December 2005, 12:45 PM:

        I am using 1.5.3+ and with the latest quiz module downloaded from the module download page and continue to experience this occasional (but annoying) error. It seems as though it may be a hard one to track and is perhaps dependent on a paritcular user's browser settings.

        From Timothy Takemoto (timothy at nihonbunka.com) Monday, 12 December 2005, 03:34 PM:

        Aw shucks. I just spent a long time upgrading one of my sites to 1.5.3+ partly in the hope that this would be cured.

        When it comes to quiz grades being set to zero students get very upset.

        I guess that we should try and find out if there is something in common with the browsers and their settings of those that are experiencing the problem.

        1) What browsers

        2) What OS

        3) Did you see the timer (if they did then Javascript is on)

        4) Did they submit the test manually

        5) Was the submission time after the deadline.

        It is perhaps possible that if we tell students NOT to submit after the deadline the problem may be solved (not an ideal solution) because so far the students that have experience this problem seem to have been those that have submitted after the deadline.

        From Timothy Takemoto (timothy at nihonbunka.com) Monday, 12 December 2005, 03:54 PM:

        Yes..Testing this in my Windows 2000 and IE6, when the tests comes to the end then it is sent automatically.

        I guess therefore that either

        1) the student sent the test just before the deadline, reaching Moodle after the deadline

        2) The auto-send function is not working due to some browser setting.

        3) There is a do not accept submissions past the deadline function in moodle.

        If so then I think that the easies way to solve this problem would be either

        A) to remove (3) for the time being.

        B) to tell students to submit before the test times out.

        Tim

        From Gustav Delius (gwd2 at york.ac.uk) Tuesday, 11 April 2006, 07:13 AM:

        The javascript timer has been improved so that it now uses the system clock (thanks to whoever did that).

        Nevertheless students can still stop the automatic submission of their results and then submit them after the time limit. They will and should then get a mark of zero. However all their responses will be stored and when you increase the timelimit and regrade they will get the points.

        Show
        Martin Dougiamas added a comment - From Timothy Takemoto (timothy at nihonbunka.com) Monday, 12 December 2005, 11:09 AM: When comparng with Jim's problem, of a similar nature http://moodle.org/mod/forum/discuss.php?d=36085#166802 it seems that a common factor may be that the students are submitting AFTER the quiz has timed out. In the past, I thought that quizzes shut themselves when the time limit ended, or did I imaging that? Tim From Anthony Borrow (aborrow at jesuitcp.org) Monday, 12 December 2005, 12:45 PM: I am using 1.5.3+ and with the latest quiz module downloaded from the module download page and continue to experience this occasional (but annoying) error. It seems as though it may be a hard one to track and is perhaps dependent on a paritcular user's browser settings. From Timothy Takemoto (timothy at nihonbunka.com) Monday, 12 December 2005, 03:34 PM: Aw shucks. I just spent a long time upgrading one of my sites to 1.5.3+ partly in the hope that this would be cured. When it comes to quiz grades being set to zero students get very upset. I guess that we should try and find out if there is something in common with the browsers and their settings of those that are experiencing the problem. 1) What browsers 2) What OS 3) Did you see the timer (if they did then Javascript is on) 4) Did they submit the test manually 5) Was the submission time after the deadline. It is perhaps possible that if we tell students NOT to submit after the deadline the problem may be solved (not an ideal solution) because so far the students that have experience this problem seem to have been those that have submitted after the deadline. From Timothy Takemoto (timothy at nihonbunka.com) Monday, 12 December 2005, 03:54 PM: Yes..Testing this in my Windows 2000 and IE6, when the tests comes to the end then it is sent automatically. I guess therefore that either 1) the student sent the test just before the deadline, reaching Moodle after the deadline 2) The auto-send function is not working due to some browser setting. 3) There is a do not accept submissions past the deadline function in moodle. If so then I think that the easies way to solve this problem would be either A) to remove (3) for the time being. B) to tell students to submit before the test times out. Tim From Gustav Delius (gwd2 at york.ac.uk) Tuesday, 11 April 2006, 07:13 AM: The javascript timer has been improved so that it now uses the system clock (thanks to whoever did that). Nevertheless students can still stop the automatic submission of their results and then submit them after the time limit. They will and should then get a mark of zero. However all their responses will be stored and when you increase the timelimit and regrade they will get the points.
        Hide
        Michael Blake added a comment -

        assign to a valid user

        Show
        Michael Blake added a comment - assign to a valid user
        Hide
        Timothy Takemoto added a comment -

        This one is still causing problems. I know that I could increase the time limit but that is very time consuming.

        There are really two issues and I think that they are both related to the warning at the end "Do you really want to submit" I think.

        1) While the warning is displayed then the autosubmit is stopped so the students answers do not get submitted. I think that autosubmit should happen even while the warning is being displayed.

        2) While the warning is displayed the time keeps going and so when students press yes, it is after the quiz has timed out, ideally the quiz should realise when the student pressed the submit the first time (before the warning) and consider that to be the the time they submitted.

        If users press the submit button just before the end of the test, then the warning screen displays, and they press submit after the end of the test, then they seem to get only a zero grade because, the autosubmission does not work, and their own submission is after the end of the quiz.

        BTW If they press cancel on the warning screen they also only get a zero grade.

        Here is a narrated movie of the problem. It has been with me for years.
        http://ds21.cc.yamaguchi-u.ac.jp/~eigo/temp/quizbugtimer/untitled.htm

        Show
        Timothy Takemoto added a comment - This one is still causing problems. I know that I could increase the time limit but that is very time consuming. There are really two issues and I think that they are both related to the warning at the end "Do you really want to submit" I think. 1) While the warning is displayed then the autosubmit is stopped so the students answers do not get submitted. I think that autosubmit should happen even while the warning is being displayed. 2) While the warning is displayed the time keeps going and so when students press yes, it is after the quiz has timed out, ideally the quiz should realise when the student pressed the submit the first time (before the warning) and consider that to be the the time they submitted. If users press the submit button just before the end of the test, then the warning screen displays, and they press submit after the end of the test, then they seem to get only a zero grade because, the autosubmission does not work, and their own submission is after the end of the quiz. BTW If they press cancel on the warning screen they also only get a zero grade. Here is a narrated movie of the problem. It has been with me for years. http://ds21.cc.yamaguchi-u.ac.jp/~eigo/temp/quizbugtimer/untitled.htm
        Hide
        Timothy Takemoto added a comment -

        I get a mail from an upset student about this almost every day. There may be other things going on producing submissions with zero marks, but I think this is the problem.

        Please can the bug be opened even as a feature request?

        Show
        Timothy Takemoto added a comment - I get a mail from an upset student about this almost every day. There may be other things going on producing submissions with zero marks, but I think this is the problem. Please can the bug be opened even as a feature request?
        Hide
        Timothy Takemoto added a comment -

        Students are definately getting two grades for one test

        I think that it is because
        1) When the press the first Submit all and finish test the auto submit does work in the background and sends their grades off to be marked - cool.
        2) When they press the warning AFTER the time limit this button press results in a score of zero either because
        2.1) It is after the time limit
        2.2) Their responses have already been sent.

        Show
        Timothy Takemoto added a comment - Students are definately getting two grades for one test I think that it is because 1) When the press the first Submit all and finish test the auto submit does work in the background and sends their grades off to be marked - cool. 2) When they press the warning AFTER the time limit this button press results in a score of zero either because 2.1) It is after the time limit 2.2) Their responses have already been sent.
        Hide
        Timothy Takemoto added a comment -

        There are now about 400 attempts on my server with zero points due to this problem above. About one in ten of the students notices and writes to complain. I have decided to remove the warning message for short tests.

        using this on around 528 in mod/quiz/attempt.php

        if ($quiz->timelimit == 1)

        { //takemoto if 1 min submit immediately $onclick = "document.responseform.submit()"; }

        else

        { $onclick = "return confirm('$strconfirmattempt')"; }

        What is really needed is for attempt.php to sense if autosubmit has already taken place and then not allow confirmation of submission to be seen as a resubmission.

        One of the reason why the problem occurs so often is perhaps because the javascript timer stops counting down as soon as one presses the "submit all and finish button" giving the user the impression that the quiz time limit will not be reached.

        Show
        Timothy Takemoto added a comment - There are now about 400 attempts on my server with zero points due to this problem above. About one in ten of the students notices and writes to complain. I have decided to remove the warning message for short tests. using this on around 528 in mod/quiz/attempt.php if ($quiz->timelimit == 1) { //takemoto if 1 min submit immediately $onclick = "document.responseform.submit()"; } else { $onclick = "return confirm('$strconfirmattempt')"; } What is really needed is for attempt.php to sense if autosubmit has already taken place and then not allow confirmation of submission to be seen as a resubmission. One of the reason why the problem occurs so often is perhaps because the javascript timer stops counting down as soon as one presses the "submit all and finish button" giving the user the impression that the quiz time limit will not be reached.
        Hide
        Timothy Takemoto added a comment -

        Fixed....Ooh. I shall try and find out where, but if anyone would be so kind as to tell me I would be very grateful.

        Tim

        Show
        Timothy Takemoto added a comment - Fixed....Ooh. I shall try and find out where, but if anyone would be so kind as to tell me I would be very grateful. Tim
        Hide
        Rahim Virani added a comment -

        I just had this issue with three students, I dont know which browsers they were using but I can tell you that our install is uptodate,recent apache php and mysql, we are running Moodle 1.9.2

        I will investigate further but I think what happened is the quiz timer ran out but didnt submit the quiz for them. It could also have been that they submitted the quiz after it was available.

        Show
        Rahim Virani added a comment - I just had this issue with three students, I dont know which browsers they were using but I can tell you that our install is uptodate,recent apache php and mysql, we are running Moodle 1.9.2 I will investigate further but I think what happened is the quiz timer ran out but didnt submit the quiz for them. It could also have been that they submitted the quiz after it was available.
        Hide
        Konrad Lorinczi added a comment -

        I still have this bug in Moodle v1.9.13.
        When user clicks to one of the bottom buttons on /mod/quiz/attempt.php page,
        the user is forced to login again, losing all the answers ticked.

        Browser is Firefox v3.6.27, Apache2 webserver, Debian OS.
        Tried to set gc_maxlifetime to 4 hour (14400), but still the users are logged out after about half hour.

        Any idea?

        Show
        Konrad Lorinczi added a comment - I still have this bug in Moodle v1.9.13. When user clicks to one of the bottom buttons on /mod/quiz/attempt.php page, the user is forced to login again, losing all the answers ticked. Browser is Firefox v3.6.27, Apache2 webserver, Debian OS. Tried to set gc_maxlifetime to 4 hour (14400), but still the users are logged out after about half hour. Any idea?

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: