random questions from different categories

random questions from different categories

by Roald Santens -
Number of replies: 2

In a course I'm currently building, I'm setting up various categories with questions. At the moment I have 4 categories each populated with 5 questions. Those 4 categories are all subcategories of a main category.

In my quiz, I would like to add just two questions from these 4 categories, so I select "2 random questions from the main category, including the subcategories". The only problem is that some student may find themselves with 2 questions from the same subcategory

Is there any way to tell moodle to choose the questions from different subcategories?

Using moodle 3.3

Tnx in advance.

Average of ratings: Useful (2)
In reply to Roald Santens

Re: random questions from different categories

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

No, this is not possible.

In reply to Roald Santens

Re: random questions from different categories

by Rick Jerz -
Picture of Particularly helpful Moodlers Picture of Testers

In the quiz, you might be able to randomly pick two questions from each subcategory, then shuffle the entire quiz.  But I am not sure if this is what you are trying to do.