Smoothest way to edit quiz after attempts have been made

Re: Smoothest way to edit quiz after attempts have been made

av Rick Jerz -
Antall svar: 8
Bilde av Particularly helpful Moodlers Bilde av Testers

Tim might be able to jump in and give more advice.

First, what I would do is to go to the question bank, edit the question there and replace the word.  This kind of edit I think should work for most question types.  Any student who has not started the quiz will see the question with the new word.

Somehow, I recall giving exams and in the middle of the exam being able to change the answer.  But I cannot recall if this depends upon they type of question being use.  When I do this, I can also go into the quizzes that have been attempted and do a regrade.  It's been a really powerful feature.  I can't tell you which versions of moodle I was using when I did this.

Some experimenting for better understanding might be helpful.

Som svar til Rick Jerz

Re: Smoothest way to edit quiz after attempts have been made

av Raymond Barrett -

I also have this issue.  If I change a question I loose all the results from users who have already taken the quiz.  I am not sure how to handle this.

Som svar til Raymond Barrett

Re: Smoothest way to edit quiz after attempts have been made

av Tim Hunt -
Bilde av Core developers Bilde av Documentation writers Bilde av Particularly helpful Moodlers Bilde av Peer reviewers Bilde av Plugin developers

What exactly is your situation. What you say is not true. There are ways you can safely edit a question after the quiz has been attempted. There are also ways you can break things by doing that. Hence, we need to know exactly what sort of change you want to make.

Som svar til Tim Hunt

Dette foruminnlegget har blitt fjernet

Innholdet i dette foruminnlegget har blitt fjernet og er ikke lengre tilgjengelig.
Som svar til Slettet bruker

Re: Smoothest way to edit quiz after attempts have been made

av Tim Hunt -
Bilde av Core developers Bilde av Documentation writers Bilde av Particularly helpful Moodlers Bilde av Peer reviewers Bilde av Plugin developers

First, I acknowledge that the problem described in your first paragraph is a serious usability issue. (That is an understatement!) Unfortunately, I don't currently have any great ideas for how it could be solved. Of course, the current behaviour is also entirely logical, if you happed to understand the data-model of the Moodel question bank and quiz. (Small comfort for most users.)


Which brings us to the enigma in the rest of your message: why didn't this happen in the other quiz?

I think the only way to find out is to look at the data - if you want to spend some time rooting around in your Moodle database.

The key bits of structure are

mdl_quiz <-> mdl_quiz_slots <-> mdl_question

mdl_question <-> mdl_question_categories <-> mdl_context <-> mdl_course or mdl_course_modules

Sorry, that is a very sketchy outline of where you might need to look. Unfortunately https://docs.moodle.org/dev/Quiz_database_structure is out-of-date.


Som svar til Tim Hunt

Dette foruminnlegget har blitt fjernet

Innholdet i dette foruminnlegget har blitt fjernet og er ikke lengre tilgjengelig.
Som svar til Slettet bruker

Re: Smoothest way to edit quiz after attempts have been made

av Emma Richardson -
Bilde av Documentation writers Bilde av Particularly helpful Moodlers Bilde av Plugin developers

My guess would be that teacher probably did something different either in the duplication method or in the question changing.  It could depend on where the questions were stored originally.  If stored in a category specific to the quiz, then I would think the questions should be duplicated to another category.  If stored in a course level category, then the questions might not be copied.

Tim, can you enlighten on how the duplication process works?  Does it not normally make duplicates of the questions?

If the questions were duplicated in both cases, then I would suspect that the teacher inadvertently edited the wrong quiz..

Som svar til Emma Richardson

Dette foruminnlegget har blitt fjernet

Innholdet i dette foruminnlegget har blitt fjernet og er ikke lengre tilgjengelig.
Som svar til Emma Richardson

Re: Smoothest way to edit quiz after attempts have been made

av Tim Hunt -
Bilde av Core developers Bilde av Documentation writers Bilde av Particularly helpful Moodlers Bilde av Peer reviewers Bilde av Plugin developers

Duplicate activity works using Backup and Restore. It automatically backs up the activity as a single-activity backup, and then restores that.

As you may or may not know, there is a long-standing issue with backup and restore involving shared quetsions, and from the point of view of a single quiz, questions in the course question bank are shared. Well, it is not really in issue in this case. But, when the questions are shared, the duplicate points to the same questions, rather than making new copies.

As April says, one explanation is the for the quiz that duplicated OK, the questions were actually in the quiz-specific part of the question bank. (And you could check that hypthesis though the Moodle UI. You don't have to dive into the database.)