We have weekly book quizzes where the students can take the quizzes as many times they like and eventually should get a 100. We give them 30 questions pulling from 2 categories with about 100 questions total.
My issues is I've had some improperly worded questions, or a question with 2 answers, which once alerted to I've gone in and changed the text. I thought once the questions were saved/updated all the future attempts would see the correct text.
However some, if not all, students are continuing to see the old text even after starting a brand new attempt.
Is there something else I need to do to make sure the quiz pulls the updated question?
I'm on Moodle 2.7.
What you describe is not how I would expect it to work. How you expect it to work (the changed wording of the questions is immediately visible in student attempts) is how it should work.
Can I confirm, which question types are you using?
Is it possible, that among your random quesitons, you have two copies of the same question, so when it looks like a student is seeing question A that you fixed, they are actually seeing question B that is identical to the un-fixed question A? (I am clutching at straws here.)
One thing you could try is to click the 'Purge all caches' button, but that should not be necessary.
The question type is multiple choice. I've looked through the questions and there is only one version of it. One of the question didn't upload correctly and I missed it when I went through - it said only "of labor." Now I've added the full text to that question yet students keep seeing just "of labor."
I've had another issue where there was accidentally 2 correct answers. I made them both 100%, regraded, then changed the text for one and make the other the only one worth 100%. Students are still seeing the old text for the answers.
I'll give the 'Purge all caches' button a try.
I'm still having this issue even after purging all caches. Students continue to get old question text after I've fixed it.
I've also made sure the cron is running and run it right after I've edited a question and no luck.
Is there something I'm missing. Database issue?
What would happened if I just deleted the question? Regrade then delete this way no one else would that question? Would that break something?
Deleting the question would be bad.
If you cannot make sense of it any other way, then by looking in the database, you might be able to make sense of it. Start with the quiz_attempts table. Find the row for this attempt. Then find the associated question_attempts (through the link quiz_attempts.uniqueid == question_attempts.usageid). That gives you the questionids, stored in the mdl_question table. Etc.
Obviously, what you see in the DB shoudl match what you see on-screen.
Of course, you may not wand to do this sort of low-level poking around.
So I went into the database and somehow 2 different versions of the question are being pulled for students taking it near the same time. (I still haven't looked into the questions keyed wrong)
You can see from questionsummary one has the full question text and the other just has "of labor."
************************** 483. row ***************************
questionsummary: ___________________ sector jobs are continuing to decrease in the rich, developed world due mostly to the higher cost of labor.: Agricultural; Mining; Primary; Secondary/manufacturing; Tertiary; Transportation
*************************** 484. row ***************************
questionsummary: of labor.: Agricultural; Mining; Primary; Secondary/manufacturing; Tertiary; Transportation
"Deleting the question would be bad"
Can you explain what would happened?
I've done it on a test site and it just says "deleted question" in the attempt.
Is it different because I'm pulling random questions from a category?
At this point I would rather duplicate the question with the correct wording/answer and delete the old one. Yes 400 students might see "deleted question" but at least the other 2000 wouldn't email me saying the question was incorrectly worded or graded wrong.
I would not say "deleted question" is better than a typo.
Actually, ti should not work like that. If a question is used by any quiz attempts, then Moodle should refuse to delete it, and instead just hide it.
I have just tested on qa.moodle.net:
- Start an attempt (of this quiz: http://qa.moodle.net/mod/quiz/view.php?id=28 ) as student.
- Answer a multiple-choice question.
- As teacher, edit the question and and the word EDITED to each bit of the question.
- As student, go back to the attempt. The word EDITED shows up everywhere is should.
I don't know why you are seeing something different.
First I'll start off - thanks so much for all your help and trying to help me fix this.
Part of my issue - the typo questions or wrongly keyed questions are in quizzes that are taken multiple times for learning purposes. So when students continue to get a question that they answer correctly but the key is wrong they start learning the bad answer. I would much rather them see deleted question then learn wrong information.
I used Moodle last spring at a different school and loved how the test & quizzes worked which is why I choose to use it for this course. But now it's not working the way its suppose to.
Another question - When the admin and teachers take the quizzes we see and are graded on the correct questions. Could it be something with permissions?
For drastic measures, what would be the best way to restart? We're only in week 3 of 14 and I'm not sure I or my students can deal with Moodle acting in this way for the whole semester.
Positive students are seeing the old question. With 2400 students a lot of them email you about questions they think are keyed wrong (and are).
They are sending screen shots of the question listed above where they only see the question listed as "of labor." And they took the quiz DAYS after I fixed it. And when I look at their attempt it shows the proper text. Seriously messed up!
Same with questions where I fixed the key. This is even weirder, so its now grading it right, it has the check mark finally on the correct answer BUT its not giving them the point! When I regrade it does.
Yes I can regrade questions that are keyed wrong, but I'm having to do this 10 times a day per quiz to head off email complaints, plus with 2400 students and some quizzes unlimited attempts it takes away.
But with questions with wrong text all I can do is give them back the point because that is what they saw.
This is how crazy my install is:
This is what the student sees:
This is what I see:
They see Russia in the answers while I see Argentina. They took this screen shot while attempting the quiz. Mine is from looking at the attempt after it's submitted. We each see different answers. How is that possible?? Is this outside of Moodle? My server? I'm so frustrated and lost.
I don't know how "crazy" your install may be, but the question on your screenshot does look "crazy" to me. You are asking "Which of the following countries etc." which presupposes that there will be more than one country to be selected by the student but... your MCQ question does not provide the student with the possibility to select more than one option. If you really want your list of options to match the text of your question, then you should have selected "Multiple answers allowed" when creating your question.
Did you look closely - what the student sees for the answers does not match what I see for the answers on the same question? Instead of seeing Russia as an answer - I've updated the question to show Argentina since it was a mistake to have Russia in there.
That is my issue.
There is only one answer to this question, but thank you for the grammar lesson. I will give the suggestion to the professor. I'm way more concerned about students continuing to get non-fixed questions in their quizzes. They are learning the wrong information because of these questions that for some reason will not update.
Do you have any suggestions on how to fix that? Thanks!
Why is there no 'Edit' icon in the 'What the student sees' view? Can you review that attempt as an admin, then you should definitely see an edit icon. If you click that edit icon, and scrutinise the URL, you will be able to see the question id. Compare that to the id of the question you have been editing.
There is an edit button. I didn't show it cause I was trying to show the issue of what the student sees and I see which is the main problem here.
Here it is fully:
As you can see in my other post with my database code - The ID of the question is the exact same but with different text appearing. There are 2 listings with the ID of 979 in my database that are being used for students - one with the correct text, one without. This is the issue for all of my questions I've edited. It some how keeps the old version in my database, which means students continue to see it. Yet I only see the updated version.
I am confused as to why there would be two questions with the same id - that table should be using question id as a unique identifier so this should not be possible. Has someone messed with your question table in the database? I know that mine is set with the id field to auto increment.
Hi Emma, sorry you are correct. That was showing that students around the same time were getting the 2 different versions of the question text.
In my question table there is only one version of each question and it is the updated one. But for some reason my students do not see the that text. They see the old one.
I'm testing it now on a quiz. I create 3 questions, took the quiz as a student. Then as the admin I changed one factor in each question, either question text, answer text, or the key.
Checked the question table to see that the new text is now the question.
Go back in as a student and take the quiz multiple times over 10 minutes. I see still the old question text, answer text, and the question that I changed the key, I am still be graded on the old answer.
I'm at a loss. I'm working with my system admin looking over the servers and Moodle and we haven't found a solution yet.
My student view:
Viewing the attempt as the admin:
So you can see the question that I changed the key - student version it marks wrong. Admin I see it correct but with no points given.
The 2 other question have text updated in the question and answer that I see on the admin side.
I cannot help but think this is related to database issue(s) and one reason might be due to an overloaded MySQL server, given the numbers quoted for student/quiz activity-and assuming there is intense activity build-up, possibly.
But could be wrong.
I'm sorry, I am still completely at a loss as to what might be causing this.
However, I have one more wild guess. Can you go to admin -> Plugins -> Caching -> Configuration, and see how the 'Question definitions' cache is set up.
Also, what does your server set-up look like? Do you have more than one web server?
Tim = hero
After talking with him via a Google hangout we discovered our set up is to blame. Each of our 6 cloud servers has it's own cache and they are not being shared. So when I updated the question, it would only change it on the one I was on. We have now manually cleared all the caches and the correct questions are now being seen by students. Tomorrow we will work on combining and sharing them all.
Sorry for the forever long thread, and hopefully no one else has to go through what I did!
Thanks to everyone who gave suggestions and to Tim who was nice enough to take the time to chat with me!