Only One Random Question from each sub category checkbox

Only One Random Question from each sub category checkbox

by Timothy Takemoto -
Number of replies: 0

Delius everyon

Since an earlier recommendation by Ger I think, ages ago, I have been using quiz subcategories for variations on a theme, such that only one question in each subcategory is used, and chosen at random. It is really nice to find that sub categories are supported in 1.5.

At the moment when sub categories are displayed and one presses on the add random questions link one is taken to another screen in which one has to select which of the categories or subcategories one whishes to use.

If people like me are using sub categories for variations on a single theme however, it would be nice to have a "include only one from each subcategory" checkbox, and then the dropdown number would set the total number of random questions added.

Hence if there were a structure like this

Parent Category (Capitals)
Q1 What is the capital of France {=Paris, ~Berlin, ~Dieppe}
Q2 What is the capital of Germany {~Paris, =Berlin, ~Dieppe}
Q3 What is the capital of Britain {=London, ~Berlin, ~Birmingham}
Q4 What is the capital of Poland {=Warsaw, ~Berlin, ~Dieppe}
Q5 What is the capital of Italy {=Rome, ~Naples, ~Florence}
Q6 What is the capital of Australia {Canberra=, ~Sydney, ~Perth}
  Sub category A
  QA1 What is the capital of New Zealand? {~London, ~Rome, =Wellington}
  QA2 What is the capital of New Zealand? {~Aukland, ~Sydney, =Wellington}
  Sub category B
  QB1 What is the capital of the USA? {=Washington ~New York ~Los Angeles}
  QB2 What is the capital of the USA? {=Washington ~Paris ~Perth}
  Sub category C
  QC1 What is the capital city of Canada? {=Ottawa ~Montreal ~Toronto}
  QC2 What is the capital of Canada? {=Ottawa ~Montreal ~Toronto}
  Sub category D
  QD1 What is the capital of the Vatigan city? {~London, ~Perth, =Vatigan City}
  QD2 What is the capital of Singapore? {~London, ~Perth, =Singapore}

And the user selected the "Only 1 from sub categories" box and 10 random questions then all the parent category questions plus one of either the subcategory questions would be used.

Problems might arise when there are grandchild categories in subcategories that also directly contain questions, no...I don't think so. I think that however many sub-sub-categories, there should be only one random question from each sub-category. 

I have submitted a bug, but perhaps this is only useful to me?

Timothy

  

 

Average of ratings: -