Tracking "used" questions from Question Bank

Tracking "used" questions from Question Bank

- Abhijit M の投稿
返信数: 4
画像 Core developers

Is there a way to track which questions from the Question Bank have been used in which Quiz?

Is there a plugin or a setting to do this?

Abhijit M への返信

Re: Tracking "used" questions from Question Bank

- Marcus Green の投稿
画像 Core developers 画像 Particularly helpful Moodlers 画像 Plugin developers 画像 Testers
I suspect the answer is no. It as something I wanted years ago when I was making extensive use of quiz.
Marcus Green への返信

Re: Tracking "used" questions from Question Bank

- Tim Hunt の投稿
画像 Core developers 画像 Documentation writers 画像 Particularly helpful Moodlers 画像 Peer reviewers 画像 Plugin developers
Lots of people seem to be asking for this recently. I don't know if there is yet a really clear Tracker issue for this feature request. (If not, someone should make one.)

It is mostly not difficult to implement. The biggest difficulty in computing "Where a question is used" is when a quiz picks questions at random from the question bank.

The other thing to decide is where within Moodle this information should be displayed, and how it should be presented. Suggestions welcome.
Tim Hunt への返信

Re: Tracking "used" questions from Question Bank

- Abhijit M の投稿
画像 Core developers
https://tracker.moodle.org/browse/MDL-49067
This issue exists.

A menu entry can be added in the menu Actions->Edit displayed for each question. The entry can be called "Question Usage in Quizzes".

Not sure, but a wild guess suggestion:
Add a question-usage table, with a foreign key per question , foreign key per quiz instance, and (may be) key per quiz type.
Tim Hunt への返信

Re: Tracking "used" questions from Question Bank

- Rick Jerz の投稿
画像 Particularly helpful Moodlers 画像 Testers

It seems that this would be a userful feature.  However, Tim, you do point out the problem with questions that "might" be picked.

So there seems to be two types of questions that can be asked:

1) Where has this question been used?

2) Where might this question be used?

Maybe both of these questions can be part of the question's "edit" menu (see graphic.)

For #1, my guess is that the report would show the course and the quiz name (within the course.)

For #2, this (to me) seems harder.  The report could be identical to #1.  But finding the "where used" would use the question's category instead of the question's id to take care of questions that might be randomly selected.

I think that I would be satisfied with Course and Quiz, but some people might want to take this to the "student" level, as in "Which students have had this question."

Whoever writes the code might try to satisfy #2, and then add to the report a column for "Used" if the question has been used by any student.  This is another way of handling both #1 and #2.  I think in the Edit menu the addition of a "Where used?" link would be sufficient.

添付 Where to add feature.png