Forum Discussion
Prevent a question from be randomly selected twice from a question
Hello!
I want to randomly draw upon questions from a question bank. My bank consists of 5 questions. My module has 3 ‘blank’ question slides, whereby 1 question from the bank should be randomly selected to appear on each blank slide.
The problem is this: when I publish the course, question “ABC” is randomly drawn upon from the question bank more than once.
How do I signal to Storyline that, once a question has been randomly selected and presented to a user, it cannot be drawn upon again.
?
32 Replies
- ChristineHendriFormer Staff
Hi Alex,
In short, you cannot. If you have a small pool of questions to pull from, and you pull a small number randomly, you're definitely going to see questions repeat. However, if you have a larger pool to pull from, you're less likely to see the same question multiple times.
For example, if you have a question bank with 10 questions and you pull only 2, you may not see the same 2 questions more than once. However, if you have question bank of 5, like you're using, and pull 3, you're definitely going to see questions repeat.
If you can, you might want to try adding some additional questions, pull less questions, or "lock" questions together. Locking would pretty much defeat the purpose of randomizing, though, especially with such a small amount of questions.
I hope this helps!
- AlexTurcotteCommunity Member
Hi Christine,
Thanks for getting back to me on this limitation of Storyline. I'll adjust my course design accordingly.
- PhilMayorSuper Hero
Christine Hendrickson said:
Hi Alex,
In short, you cannot. If you have a small pool of questions to pull from, and you pull a small number randomly, you're definitely going to see questions repeat. However, if you have a larger pool to pull from, you're less likely to see the same question multiple times.
For example, if you have a question bank with 10 questions and you pull only 2, you may not see the same 2 questions more than once. However, if you have question bank of 5, like you're using, and pull 3, you're definitely going to see questions repeat.
If you can, you might want to try adding some additional questions, pull less questions, or "lock" questions together. Locking would pretty much defeat the purpose of randomizing, though, especially with such a small amount of questions.
I hope this helps!
Christine this sounds like a bug or if not it should be, Storyline should not pull the same question twice. - ChristineHendriFormer Staff
Hi Phil,
This isn't a bug, I'm afraid. I'm sure you've seen the other discussions on this :)
I do agree, however, that it would be better if the same question was not displayed again. Right now, however, I'm not aware of a way to place a restriction on a question bank question so that it doesn't show up more than once when they're pulled randomly.
This is actually something I've submitted feedback on in the past, because I do believe that it's something that could be improved.
If either of you are interested in sharing your feedback with our development team, I'd appreciate it!
Thanks!
- TerryBell1Community Member
Well, this certainly sounds like a bug to me. I can't say I've ever had an occasion where I WANTED the same question to be asked more than once.
I don't think my boss is going to buy the "not a bug" claim. I will use your link to "share my feedback", and keep my fingers crossed that this doesn't come up in testing.
Thanks for your feedback Terry! Hope you have a great day
- PatSimon1Community Member
Hi Alex and Terry,
I ran into the same issue and came across this message board hoping for an answer. I figured out a way on my own, though it's a bit complicated. I'll explain what I did, hoping this might help answer your question. Please feel free to reach out to me with any other questions.
I'm making a Jeopardy-like game. Each category has its own question bank. I originally set it up so that each box links to its own slide that randomly pulls from its corresponding question bank. But the problem I'm having is similar to Alex's. Separate slides pulling from the same bank can result in repeating the same question.
From what I can tell, the only way to not have repeating questions is to have one slide for each category/question bank that randomly picks 4 questions from that bank. Here is the game board below. Pardon the subpar graphics. They are placeholders at the moment.
I changed the branching from each box having its own question slide to every box in a category go to the same question slide. The problem now is when I click on a question, I have to answer all 4 questions in the category before I go back to the board. I want to go back to the board after answering one question. I tried setting the branching within the questions to all jump back to the game board slide. This works for the first question in that category, but when I click on the next question in that category it takes me back to the first question and I have to click next to go to the next question. I want Storyline to click next automatically. (This is where it gets complicated)
To do that, I need each question tied to its own variable. With variables, you can create If/Then statements that can trigger different actions when you return to the same slide. For this instance, when you go to a question slide it first checks to see if the variable is true or false. The initial state of the variable is true. If it's true, nothing happens. If it's false, it auto-jumps to the next question. When you answer the question and click continue, the continue button toggles the variable to false so that when you return to the slide it will auto-jump to the next slide. You need to repeat the following process for EVERY question.
To set up a variable, go to the response layers of the question and click the new trigger button and select adjust variable. Click the "..." button to create a new variable.
Type in any name, select the True/False type, and set the initial value at true.
Now put in the settings seen above so that Storyline knows to change the variable to false when continue is clicked.
Next, make sure you place the variable trigger before the slide jump. Copy and paste this in all other response layers.
Lastly, we need to have the question slide check for this variable's value. Go to the base layer and add a new trigger to jump to next slide when timeline starts, then click "Show Conditions" and press the green plus button.
Then type in these conditions and click OK:
Tada! You should now have a working randomly selected, non-repeatable Jeopardy-like quiz game. Again, you need to set up a new variable for every question. I know it's a pain in the buns but at least now you know how to have a little more control over customizing the functionality of your courses. Let me know if you run into any snags.
Hi Pat and welcome to E-Learning Heroes! Thanks for sharing
Wow Pat, nice job!
- HeleneCaura-YanCommunity Member
Hi Pat
Thank you for this post. This exactly what I needed. I was forgetting the "jump to next slide" trigger and of course it was just blank. One thing you did not mention and I had to figure out: you need to select "all" in the question bank, not just one question out of all your questions. Otherwise it doesn't work.
I have also added a disabled state for my box that triggers the questions once they have all been answered (if variable 1 + 2 +3 + x = false) or if they score 20 points (their aim).
Cheers!