Finding the scores of ungraded quizzes

Finding the scores of ungraded quizzes

by Richard Crawford -
Number of replies: 6

Using Moodle 1.9.11. Because of customizations to the source code, it's not possible to upgrade.

 

I've been tasked with generating a report of students who scored 70% or above on all their quizzes. Normally this wouldn't be an issue, but in this case the quizzes are ungraded. Is there an easy way to find out the score a student received on an ungraded quiz?

Average of ratings: -
In reply to Richard Crawford

Re: Finding the scores of ungraded quizzes

by Marty Soupcoff -

Maybe I'm being daft but how would they have a score if there quiz attempt hasn't been graded yet?

Happy Moodle Logooodling!

In reply to Richard Crawford

Re: Finding the scores of ungraded quizzes

by Richard Crawford -

I should be more clear here.

The problem is that the grade for each question in each quiz is set to zero (that way the quiz won't be recorded in the gradebook). This means that when the quiz is completed, no matter how many right and wrong answers the student got, the score for the quiz is always going to be zero. The student's answers to the questions are retained in the database, of course, which I know because I can review them. 

So my question is whether there is an easy way to tally up the scores for the right answers given that they are all graded as zero in the gradebook. I'm not afraid to work with PHP or SQL to accomplish this, but I'd also like to know if there's an easy way to do it with the tools that Moodle already provides.

In reply to Richard Crawford

Re: Finding the scores of ungraded quizzes

by Itamar Tzadok -

If you lock the quiz grade item in the gradebook, it will not get updated. If you hide it the students won't even see it in their grades report. And if you put the quiz in a category which is set to 0% in the course total the quiz grade won't count to the course total even if updated. And if you hide that category the students won't even see it in their grades report. And so you can keep marks for the questions in the quiz and retain scores in the database without affecting the course grade. hth smile

Average of ratings:Useful (2)
In reply to Itamar Tzadok

Re: Finding the scores of ungraded quizzes

by Marty Soupcoff -

As Itamar has mentioned, there are lots of ways to accomplish besides your current method of just having the quiz grade being a zero.

Out of the methods mentioned, I think hiding the grade item in the gradebook is the easiest. As a bonus, you can enter a date to have it hidden until. This way you can get your stats and the grades won't be revealed until you choose. To do so,

  1. In the Categories and Items tab, select the Edit icon next to the desired grade item.
  2. In the Hidden until field (you may have to select the Show advanced button if you don't see it), enter the date you want the item hidden until.
  3. Save your changes.

There is a difference between hiding and locking though. I recommend hiding because it is easy to set a date and then just let it handle the rest. If you lock the grade, the students will see the grade item in the gradebook but the grades will stay the same as when you locked the item. So if you lock the item before anyone takes it, then zeroes for each student will be locked in. When you want to show everyone their grades, then unlock the item and the grades will appear. The reason I don't recommend locking is I have had a couple faculty that lock a grade item and then forgot that they did so. Then I get to track down why the grades don't appear. Looking at the Categories and Items page, the "locked" lock icon isn't as obvious as a hidden grade item.

Happy Moodle Logooodling!

Average of ratings:Useful (1)
In reply to Richard Crawford

Re: Finding the scores of ungraded quizzes

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

If you change the grade for each question, and the overall max grade, and then re-grade the quiz, the scores will be re-computed.

(From 2.1 onwards, you would not even have to manually do a regrade.)

In reply to Richard Crawford

Re: Finding the scores of ungraded quizzes

by Richard Crawford -

Thanks for the tips! I'll be updating my supervisor on this technique, and using it to generate the report I need.