Blog Post
AdamZamczyk
5 years agoCommunity Member
In relation to random questions
usually, it is useful to have the questions numbered (as it is a good practice to inform the learners where they are in the course).
By default, this can't be easily done with randomised questions.
I came up with a fairly easy solution for that, so no matter which question appears, the number is correct. I thought I will share it here.
1. we need to create 2 variables e.g. - QuestionNo and QuestionNo_Temp, default values '1'.
2. on the question base layer add trigger to Adjust the variable QuestionNo to match the QuestionNo_Temp.
3. on the submit button (if we dont have feedback layer and it takes learner to the next slide) or on the Continue button on the feedback layer (if we have feedback layers and we jump to the next from feedback layer) add a trigger to Add 1 to the variable QuestionNo_Temp.
4. And on the slide we can display the value of the QuestionNo variable.
One thing to remember is to reset both variables to 1 when we restart the quiz.
usually, it is useful to have the questions numbered (as it is a good practice to inform the learners where they are in the course).
By default, this can't be easily done with randomised questions.
I came up with a fairly easy solution for that, so no matter which question appears, the number is correct. I thought I will share it here.
1. we need to create 2 variables e.g. - QuestionNo and QuestionNo_Temp, default values '1'.
2. on the question base layer add trigger to Adjust the variable QuestionNo to match the QuestionNo_Temp.
3. on the submit button (if we dont have feedback layer and it takes learner to the next slide) or on the Continue button on the feedback layer (if we have feedback layers and we jump to the next from feedback layer) add a trigger to Add 1 to the variable QuestionNo_Temp.
4. And on the slide we can display the value of the QuestionNo variable.
One thing to remember is to reset both variables to 1 when we restart the quiz.