Forum Discussion
Numbering Quiz Questions in Storyline
Hey, Everyone,
We have a final assessment at the end of our course and I am wondering if it is possible to number the quiz questions so the person knows where they are at and how many questions they have left to go?
Thank you,
Kate
- KateLeifheitCommunity Member
I experienced the same problem, but then I chose to use the following triggers to the question master slide which fixed it.
Master Slide:
1) Add 1 when user clicks next
2) Subtract 1 when user clicks previous
3) Jump to the previous slide when user clicks previous
On the normal slide view for my one question that is outside the quizbank:
1) Add 1 when user clicks submit
And then on the "Review" button, there is a trigger to equal 1 when clicked.
Let me know if it works for you as well!
Thanks, Kate
- NancyWoinoskiSuper Hero
I have only tried this with one question pool but I think it should work when using 3 - the trick is that you have to keep one question outside the question and this will always be the first question - the rest of the questions will randomize.
First you have to create two numeric variables.
Call the first one Page and set the initial value to zero
Call the second one PageCount and set the inital value to the number of quiz questions in your test.
One each of your quiz pages - add the following text box in the spot where you want the page number info to display.
Question %Page% of %PageCount%
Now on the very first quiz question (this is the one that sits outside of the question banks) add a slide trigger that sets the value of the variable Page to 1 as follows:
On the rest of the quiz slides, add a trigger that increments the Page variable by 1 as follows:
I think that is about it - you just have to make sure that first single quiz question is included in your results slide.
- KatieHeronCommunity Member
This is a gem! Thank you so much!
- GerryWasilukCommunity Member
Okay, thanks!
Try this.
1) Create a new variable. Let's call it varQuestionNumbering. Make it numeric. Initial value of 0.
2) On each question slide (or your master slide for questions), add a trigger that fires when the slide begins. This trigger will adjust the value of varQuestionNumbering by adding 1 to it.
3) On each slide, add a text box. Let's say your quiz has 12 slides total. In the text box add this: Question %varSlideNumbering% of 12.
4) Right before the quiz (good if you quiz has an intro page), add a slide trigger that fires when the slide begins and sets the value of varQuestionNumbering to 0.
5) Then, if you are going to let people re-try the quiz at the end from the results page, add a trigger when the slide begins that resets varSlideNumbering to 0.
If I remember right, Steve Flowers had a variation of this that could put in the number of questions in the quiz (here, 12) rather than hard-coding it in the text box. Steve?
- furkanahmadCommunity Member
hy gerry
can u post a tutorial video for Quiz numbring.
i can not apply variable, i need a video
thanks
furkan
- YakiGordonCommunity Member
I have solved it by simply put a trigger on the result slide to adjust varSlideNumbering to 0 when timeline start
- BrettRockwoodCommunity Member
I was thinking about this for a bit and thought it should be pretty straightforward and would give it a try. Here's what I did:
- Created a number variable called QuestionCount at set the default value to 0.
- Added a slide trigger on each question slide that adjust the variable QuestionCount to +Add, Value 1 when the timeline starts
- To display the numbering I entered "Question %QuestionCount% of X" where X is the number of questions pulled from the pool on each question slide.
- On the results slide I put a trigger on the Review Quiz button to set the variable QuestionCount to 0. This causes the review to restart the numbering again from 1 because when the timeline begins on the review pass of the first question it will automatically be reset to 1 because of step 2 above.
Seems to work properly for me.
- WilliamBarkhausCommunity Member
Thank you all for the great information. I did do one thing slightly different than Nancy's suggestion which allowed me to not have to use any questions outside of using the Test Bank. (Just to clarify, my setup is similar to Roger's in that I show the user the instructions before the quiz.)
I simply used a slide trigger to set my initial Page variable to "0" in the top Slide Master layout (for the instructions section). Then in the lower Slide Master layout (for the Quiz Bank section), I used a slide trigger to set the Page variable to increase by "1". That way, every question in the quiz bank automatically increased the value by "1" and I didn't have to always use the same initial question.
- daniellerosenfeCommunity Member
Hey everyone,
The knowledge sharing here is great and people have great minds &I deas!
I would like to share with you my solution for the "Question bank numbering" issue:
Please see the attached file.
Good luck!
Short summary:
1. I've added a slide trigger that sets a value of the variable Page to 1.
So- when clicking "Next" the variable will increase.
2. Done the opposite- when clicking the "Previous" button- the variable will decrease.
So- now you have a full control on the numbering.
But- DO NOT FORGET! when reviewing the quiz after answering the numbering variable will still be active.
So- when ending the quiz set a trigger (on the "Review quiz" button) that will reset to zero the variable.
That will make it.
Thanks,
Danielle.
- NancyWoinoskiSuper Hero
Hi Katie, if you are doing a linear test and users will be taking the questions in the same order each time (i.e., no randomization) then I would really simplify the numbering and just add a text box to each slide that says 1 of 12, 2 of 12, 3 of 12 etc. Simple is always best if you can get away with it.
- SachinTaankCommunity Member
I had to use the subtract 2 in the slide master because the initial trigger states that you add 1 when the timeline starts, therefore, when you click previous, therefore to get the actual answer, I had to select subtract 2.
- GerryWasilukCommunity Member
Are you randomizing the questions? Or using so many questions out of a pool?