Numbering Quiz Questions in Storyline

Jun 27, 2012

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

87 Replies
Ed Crane

Thanks for the reply Graham...I had that issue too, but then set it up so that clicking Retry or Review would set the variable back to 0 and that worked.

Turns out not to have been the resume feature.

It look likes I figured this out. As long as the user stayed within the question bank and result slide, the numbering worked fine. But if they clicked on the Nav menu on a slide that was outside the question bank, the variable would not change. So upon returning to the question bank, 1 would continue to be added to the variable. So I created a trigger on the one slide outside the question bank to change the variable to 0, and that seems to have done the trick.

Cheers!

Bill Osborn

Yaki Gordon said:

Here is how i set it finally.

1. In Slide Master> Question layout

-Add "Question %varQuestionNo% of X

-Add trigger "Add 1 to varQuestionNo when timeline starts"

-Add trigger "Subtract 1 from varQuestionNo when user click Previous button If varQuestionNo greater than 1" (otherwise the number will keep going down to 0 and -)

2. In Results slide

- Add trigger"set varQuestionNo equal to 0 when user click" for both the Retry and Review buttons


Do the triggers go on the slide master or on each individual question in the pool? Thus far I have implemented the following on the slide master:

%quesnum% of %TotalQues% where quesnum = the increasing variable and TotalQues is a hard set variable of 55 in my case.

I then have two triggers on the master slide:

adjust variable >> quesnum >> +Add >> Value >> 1 >> When user clicks next button

adjust variable >> quesnum >> -Subtract >> Value >> 1 >> When user clicks previous button with the condition of quesnum > Great than 0

I set the value to 1 when the opening slide (non-question slide) is shown.

I have not set any triggers for any of the questions in the pools (I have 13 pools).

This results in 1 of 55 always being displayed for every question - no increase or decrease. Is this because I have the triggers on the master slide or am I missing something?

Thanks,

Marta Burda

Yaki Gordon said:

Here is how i set it finally.

1. In Slide Master> Question layout

-Add "Question %varQuestionNo% of X

-Add trigger "Add 1 to varQuestionNo when timeline starts"

-Add trigger "Subtract 1 from varQuestionNo when user click Previous button If varQuestionNo greater than 1" (otherwise the number will keep going down to 0 and -)

2. In Results slide

- Add trigger"set varQuestionNo equal to 0 when user click" for both the Retry and Review buttons

Hi guys, great solutions here!

I have one question though. Where do I exactly add a trigger to substract to previous button during the review? Just got a tad confused here. Where do I have access to previous/next buttons?:

Cheers,

Marta

Marta Burda

Hi guys,

I was able to come up with a pretty neat workaround. Hope it helps.

You can preview it here: STORY

It's all in the test QuestionCount.story I provided, but please let me know if you need any additional info. 

PS. Looking forward to see quiz question count feature in the next Storyline update

Cheers,

Marta

Pam Richmond

Marta Burda said:

I have one question though. Where do I exactly add a trigger to substract to previous button during the review? Just got a tad confused here. Where do I have access to previous/next buttons?


Marta,

You access the review/retry buttons on the results slide, which is separate from the quiz slide. On the review slide, you should be able to click on each of the review and retry buttons. Then add a trigger to that button.

Pam

Chris Bath

Thank you to everyone for their ideas and feedback in this thread. It has been a great help as I try to number questions in one of my projects.

Unfortunately, I am still encountering what seems to be a random numbering issue when re-taking the quiz whereby the question numbering jumps at random (e.g. 1 of 10, 2 of 10, 5 of 10, etc.).

A bit of background:

- Assessment is 10 questions (pulled from a bank of 30)

- Numbering variable (QuestNumber) has been added to each question slide as "%QuestNumber%"

- QuestNumber increases by 1 when each slide timeline starts

- Total number of questions is set at 10 (i.e. each slide reads:  Question %QuestNumber% of 10)

- Numbering works fine the first time the user takes the course

- When re-taking the assessment after failing the first attempt, the numbering is sometimes correct/sometimes not. There seems to be no reason behind why the numbering skips. It will sometimes start at 2 of 10, and other times will jump at random  (e.g. from 5 of 10 to 7 of 10).

- There is a trigger to reset the QuestNumber variable to 0 when users click Retake Quiz after failing

- In my limited testing, if I don't reset the QuestNumber variable then it never skips a number (of course, it also reads as 11 of 10 up to 20 of 10). This is not an option, but I found it interesting in my tests.

I would appreciate any feedback on my issue, as I have not been able to resolve it. Perhaps I am missing something? If it would help, I will create a blank version of the course to upload for review.

Regards,

Chris

Ashley Terwilliger-Pollard

Hi Chris,

As Joe mentioned, I'd check the revisiting properties for your individual slides, and set the revisit to "reset to initial state" instead of automatically decide or resume saved state. If you'd still having difficulty a sample file would help us determine if there was anything else that occurred. 

Chris Bath

Thank you for the tip, Joe. I applied this change, and while it seems to have stopped the question numbering from jumping throughout the assessment it still often starts at Question 2 of 10 (instead of 1 of 10) when re-taking the quiz.

Unfortunately, given our time constraints we really cannot devote more time to determining the root cause of this issue so we chose to remove the question numbers from the assessment.

Thank you for your help in attempting to resolve this issue.

Steven Holley

Hello everyone,

This is my first post.  I would just like to say thank you to all for the great info in this thread.  It has helped me immensely.

@Chris - I would just like to say, I had the same issue with the number skipping.  A colleague suggested that I check for updates of Storyline.  I did, ran the update and that seems to have fixed the issue.   I couldn't believe it was something that simple.

@Joe - I tried setting the revisit to "reset to initial state", but all that did was cause the answers to not display when I reviewed the quiz.  It did show me what the correct answers were but not the answers I had selected.  For note, all of my questions are multiple choice or true/false.

Again, thanks for this thread and I hope that this post helps.

Steve

danielle rosenfeld

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.

Monique Donahue

Hi everyone, this thread has been incredibly useful to me. I've read it thoroughly and have the question numbering working perfectly, with one exception. For various reasons, I use the Menu in my tests to list each question. The incremental variable works great when a user is advancing linearly, but as soon as they click a question out of order (skipping ahead or going back to a previous question), the numbering gets out of whack.

E.g., From question 5, I go back to revisit question 2, which is now labeled as question 6 because of the incremented variable. Then the whole rest of the test is off. Does anyone have any solutions for this? Thanks!

Katie Evans

Nancy Woinoski said:

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.



Nancy-Does this work with a linear posttest? I have 12 questions that I want the leaner to take straight through, how would I count this?

Nancy Woinoski

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.

Tyler Spahr

Hello there! I stumbled upon this thread looking for some help in numbering slides.

Here are the specs I'm using to get it to work:

Slide Triggers

Add 1.00 to varQuestionNumbering

When the timeline starts

Set x equal to the value of varQuestionNumbering

When the timeline starts

Player Triggers

Subtract 1.00 from varQuestionNumbering

When the user clicks the pervious button

If varQuestionNumbering is Greater than 1.00

Everything works fine but I bug I found is that when I click the quiz title (Knowledge Check) in the left menu bar it keeps adding an additional 1 to the question. Anyone know how to turn this off? I've looked everywhere and can't find an answer! Thank You!

furkan ahmad

thanks Ashley,

I successfully apply numbering variable atlest but I am facing a problem in review, in review number variable not work.

variable question number not add and subtract, variable freez on 1 to x

any way to fix this problem.

thanks again Ashley

regard

furkan ahmad