Why are we forced to use 1-10, or 20 random questions? I checked the source code in mod/quiz/edit.php and found it was coded this way
for ($i = 1;$i <= min(10, $maxrand); $i++) {
$randomcount[$i] = $i;
}
for ($i = 20;$i <= min(100, $maxrand); $i += 10) {
$randomcount[$i] = $i;
}
but, why? It seems so arbitrary.
In reply to Jeremy Crabtree
Re: Why can't we add an arbitrary number of random questions?
by Rob Johnson -
You can add an arbitrary number of random questions, it just needs to be done in two steps. To add 27 random questions, first you add 20, then add 7 more. Give it a try.
Rob
Rob
In reply to Rob Johnson
Re: Why can't we add an arbitrary number of random questions?
by Jeremy Crabtree -
I did that, but it didn't seem to check for duplicate questions. (it happily created a 25 question quiz from a 21 question bank)