Forum Discussion
Randomize answers in Multiple Choice question - Storyline 360
Hi community,
I´m creating a quiz for a work safety induction and I know how to randomize questions in a question bank. But I also want also to randomize the displayed answers in a multiple choice/multiple answer question.
For example you have 5 possible answers and the learner is always shown 3 random answers with at least one right answer.
I think about to fix this with variables but I don´t know how. Maybe there is another way.
Thank you for any ideas.
- NedimCommunity Member
You can shuffle the answers by selecting "Answers" under the Shuffle option in the Question Tools. Then, create a few triggers that change the state of one correct answer and two additional answers to "Selected" when the timeline starts on this slide. Check the demo below:
EDITED:
You can also create a random value variable, like %randomCorrect%, that randomly generates either 1 or 2. If the value is 1, choice 1 will be pre-selected; if the value is 2, choice 2 will be pre-selected. This allows for different correct answers to be selected each time the question is loaded.You can apply the same logic and use different random variables/values to ensure that other answers are also randomly pre-selected when the question loads.