I am writing a module which has a bank of 47 questions. I would like to have the system draw 20 random questions from the deck for the assessment. If the user fails, I would like the system to draw another 20 questions and so on until the user scores 100%.
So far all of my attempts have resulted in either the same 20 questions repeating or the assessment showing as incomplete in the LMS after a successful score has been registered.
You're not doing anything wrong - Question Banks can be random, just not for every additional "run".
What you need to implement is the "Random Grab bag" technique. There's no easy way to do this - for starters you will need to use a JS trigger to draw different questions every time. You can grab the core code here (see attached story in that post).
4 Replies
Hi Rachael.
You're not doing anything wrong - Question Banks can be random, just not for every additional "run".
What you need to implement is the "Random Grab bag" technique. There's no easy way to do this - for starters you will need to use a JS trigger to draw different questions every time. You can grab the core code here (see attached story in that post).
Hope this provides a decent starting point.
Alex
Looks like Alex has you covered here Rachael and feel free to let us know if you have any other questions.
Hi Alex
Sorry about the delay. Thanks so much for this advice. The module looks great and my boss thinks i'm a superstar. Thanks again.
Rachael
That's great news Rachael! Thanks for sharing :)
This discussion is closed. You can start a new discussion or contact Articulate Support.