Why is the grade 0 when every question is correct?

Why is the grade 0 when every question is correct?

by Ann Paterson -
Number of replies: 12

A student submitted a quiz in the appropriate time frame, within the time limit, and answered every question correctly.  Each individual question is marked as correct and shown with the correct number of points.  However, the overall score is 0.

Why would this happen?  I need to know whether I should manually change the grade to 100% or might she have done something incorrect (such as submitting the quiz twice) to cause this problem (meaning I shouldn't give her the 100% grade)?

I tried "regrade" and it now shows 100%.  What happened?

Thanks for any advice.  We are using 1.9.

Average of ratings: -
In reply to Ann Paterson

Re: Why is the grade 0 when every question is correct?

by Chris Liang-Vergara -
I am having the exact same problem - my quiz contains short answer and matching questions - 1.9.2
In reply to Chris Liang-Vergara

Re: Why is the grade 0 when every question is correct?

by Ann Paterson -

My quiz is multiple choice and short answer as well.

In reply to Chris Liang-Vergara

Re: Why is the grade 0 when every question is correct?

by E. L. Cooper -

I have seen this happen when a teacher either had the test set as a practice test of have a 0 in the test value. 

It is also important that you have the 'display result' correctly checked or the student will see a blank where the grade should be.

In reply to Ann Paterson

Re: Why is the grade 0 when every question is correct?

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
This is a bug.

A small but significant minority of people are encountering it, but no one yet has managed to come up with a reliable set of steps to reproduce the problem.

That is the trouble, until I can actually make the problem happen on-demand in my development environment, I can't work out what is happening and fix it.

So if you are seeing this problem, we really need to work out what triggers it, because for most people, most of the time, it does not happen.
In reply to Tim Hunt

Re: Why is the grade 0 when every question is correct?

by Daphne Gonzalvez -

We too are having a significant problem with the quizzes. The 0 for the total is only one. When a student submits the quiz, neither student nor teacher can see the answers for cloze, true /false,  cloze, matching  and essay. The only one visible is multiple choice.

It is happening all the time and is very discouraging for students and impossible for teachers to check on student grades.

Could someone please submit to bug tracker?

Thanks in anticipation.

In reply to Daphne Gonzalvez

Re: Why is the grade 0 when every question is correct?

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
You can submit things to the tracker yourself, you just have to create a login there.

However, it is good if you can first work out whether the problem is one with moodle itself, or something wrong with your particular installation.

Probably the first thing to check is to follow these instructions about checking your database for corruption: Administration_FAQ#How_do_I_repair_a_corrupted_Moodle_database.3F.
In reply to Tim Hunt

Re: Why is the grade 0 when every question is correct?

by Tieku Bortei-Doku -

I have found this almost always happens when a candidate is using a browser other than Internet Explorer? What with these other browsers could be causing this? We use cloze questions in 1.9.3? The individual grades for each question display correctly but the overall grade is 0?

In reply to Tim Hunt

Re: Why is the grade 0 when every question is correct?

by Luis de Vasconcelos -
Picture of Particularly helpful Moodlers

Tim.

Hi. We are also getting a few reports from our students saying that they are getting a score of 0 when they submit a quiz attempt despite having answered the questions correctly. We are using your "favourite" feature - the secure window! wink

I haven't been able to reproduce the problem though - it's random... But we are trying to get more info.

In one case the quiz has a time limit of 45 minutes. When I review the students attempt it shows that the attempt took 48 minutes and the score was 0. I regraded the quiz and the students answers were recorded - I could see their answers. But their result was still 0, despite some of the answers being correct. The quiz is set to auto-submit when the 45 minutes is up so I don't know how the attempt could have taken 48 minutes. Normally, the counter displays correctly and 'flashes' the different tones of red as the clock reaches 0. When it reaches 0 the attempt is submitted and the secure window closes by itself. The only time it hasn't worked was in this one instance - we had more than 450 students submitting one quiz yesterday and only this one complaint.

I will post more info if I manage to reproduce the problem or to find the cause.

Our setup:
Moodle 1.9.4+ (Build: 20090204)
Windosw Server 2003 SP1
IIS 6 & FastCGI
MSSQL 2005
FreeTDS (build supplied by Eloy)
PHP 5.2.8 NTS

In reply to Luis de Vasconcelos

Re: Why is the grade 0 when every question is correct?

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
There is code in there that ensures that if the student submits late, then they get 0 marks. However, there is a delay, so if they just submit just a few seconds late, they are note penalised. The delay if 5% of the length of the quiz. 5% of 45 minutes is two minutes and 15 seconds. So that is consistent with what you are seeing.

How can the delay happen if the timer is there? Well if the server is heavily loaded, then there could be some delay, both when the attempt page was first sent (so the clock starts counting down late) and when the page was submitted. However, to try to mitigate that, we try to record the time as quickly as possible when we get the quiz submission, so even if the rest of the processing takes a long time, that does not matter. Similarly, when we print the clock, we take the time then, so even if it took a long time to output most of the quiz page, we start the clock from as close to the right time as possible.

So it does surprise me that server load was able to add more than 2 minutes delay.

Still, we may need to think again about the details of how we enforce timing.
(The relevant code is in question_apply_penalty_and_timelimit in lib/questionlib.php. The code that records the time and prints the clock is in mod/quiz/attempt.php.)
Average of ratings: Useful (1)
In reply to Ann Paterson

This forum post has been removed

The content of this forum post has been removed and can no longer be accessed.