Organizing Quiz Question Categories in Moodle [video]


In less than three minutes this video highlights how to leverage the Moodle question categories to better organize your Moodle course (or site).  I use this feature extensively (for 1000s of questions) and it’s a great way to keep things tidy and accessible.

Post Pages - Post Inline - WIRIS

More at

Previous articleMoodle for Social Justice (a synopsis of the Moodlenews feasibility survey)
Next articleCLAMP LAE releases for Moodle 2.2.6 and 2.3.3


  1. Thanks for the nice video on how to make quiz question categories. However, I am having big problems on how to organize the categories in contexts so that teachers can share and view questions. It seems the question bank is designed for a SINGLE teacher working alone. Our school works in teams, and I think team collaboration is more the future than walled-off solitary teachers. So I tried to put all questions in the System category so that teachers can see, browse and share questions. Bad idea. Backups failed sometimes, and for some reason every question in the whole question bank gets backed up, even if your course has a single quiz with a single question in the System category. We have thousands of questions with all kinds of media, so our Question bank is approaching 1GB.

    I tried reading Moodle Docs, and I tried posting on forums (I think this is a bug, but Tim Hunt tried to explain something, but I couldn’t understand). So if any readers here have a clue or an experience which would help, please comment! Cheers, Don

  2. Don, Your approach to use the system categories was good (that is what we employ) but we don’t need professors to be able to collaborate at this time.

    It’s a short coming of the way that Moodle is structured unfortunately. It sounds like the best configuration would be to house the categories in a shared course and allow teachers to export them to their own courses (but to collaborate in that original course). It’s not perfect but it will prevent the backup issues (backing up system categories doesn’t work at all for us) and will allow the right permissions in the individual courses.

    Hope that helps, we had some trouble navigating this issue as well so you’re not alone!

  3. Hi Pascale and Don
    I have a similar problem and can find no reference to it yet in tho will continue to search

    As Pascale suggests, to facilitate sharing of questions among a group of subject teachers we have questions in a category within the subject category
    Various teachers have their own categories – all within the subject category.

    However when we try to backup a course with questions from this subject category
    it bombs:

    This could mean that you have a question in your quiz or dataset that is not restoring properly.

    Possible solutions

    1. Restore the questions manually into your course and recreate the quiz.

    2. Try copying system level questions into the course. Use the edit button and then click the Make copy button at the bottom of the page. Then try moving it. If that triggers an error, then you know which question is causing the problem.

    Other notes

    The file that is throwing this error is /backup/moodle2/restore_qtype_plugin.class.php around line 159. ”
    While this explains the problem the suggested solution is unthinkable when you have many questions

    Hope this makes some sense.

    Anyone any ideas or should I keep trying on

  4. John, actually we have found that the backup process for courses always fails if you include large question banks that are categorized at the system level.

    To get around this we always backup the course without assessments, restore the course and then recreate the assessments later one by one. This is a documented issue at in the tracker, some of the work is underway to provide progress meters in the backup process as well.

    It’s been a huge pain (though the benefits of unified/shared test banks at the system level has a lot of benefits.


Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.