Two different sets of question for quiz

Hello!

I'd like to make a quiz module in my e-learning. When you click "Quiz", Storyline should choose randomly 1 from 2 scenes and in each scene there will be 7 questions. Any chance doing something like this? 

Or of course it could be achieved different way - point is, that I have 2 sets with 7 questions, and would like to show randomly one of the sets to single user.

I came up with a simple idea, that I can make two hotspots on a button, that will lead to one of the scenes. Quite randomly ;) But you know, something more professional? :)))

thanks!

5 Replies
Leslie McKerchie

Hi Mateusz!

You could use a question bank and allow Storyline to literally assign question draws. Not sure if that would work better for you or if you really need the two scenes as you mentioned.

Hopefully someone in the community will be able to chime in with some additional assistance for your design.

Mateusz Szuter

Thank you Leslie for you support.

However it doesn't answer my question at all :) 

With question bank I can make something like this:

"Hello" slide > Question bank I > Result slide

And I want something like this

"Hello" Slide > Question Bank I OR Question Bank II (it's importent that I have 2 sets for 7 questions, and not 1 set with 14) > Result slide.

So maybe question now is how to make "next" button open one from two possible question bank draws?

Leslie McKerchie

Hi Mateusz!

You're correct, I could have explained that better.

To finish my original thought, branching is not the difficulty, but perhaps tracking would be and if you were looking for random, then the question bank could do that with a single result slide.

Your subsequent question, yes, you can branch however you need to by utilizing variables of some sort., but it would not be accomplished randomly as it would still be based on the user choosing something.

Do you need to track the results of the quiz? You would only be able to track one result slide. You could certainly have master result slide, but this is typically based off of all previous results slides.

Perhaps someone in the community has worked on a similar design before and would be able to chime in and assist you here. 

Mateusz Szuter

Thanks Leslie, tried to find solution on my own and that's how I have done it:

1. Blank slide with 0.25 time with triggers "Reset Results 1" and "Reset Results 2" on timeline start, and jump to the next slide on timeline ends - this approach guarantee proper working at mobile devices/html5 and allow users to take quiz many times.

2. Quiz introduction slide, with custom NEXT button, on which I have two even hotspots. One pointing to QB1 and second to QB2. - It's not fully random, but quite some, depends where the user clicks :)

3. Question Bank 1 & 2, and then two separate blank Result slides with triggers: Submit Result Slide X or Y, Set "FinalResult" (my own variable) equal to the value of Results.ScorePoints or Results.ScorePoints1, and jump to Quiz summary when timeline ends. - I've had some problems at HTML5, but with this approach everything works just fine.

4. Quiz Summary - Assign FinalResult to FinalResultPercent, divide FinalResultPercent / number of all points, and then multiply it by 100, so you can get percent value of quiz score. Depending on value of "FinalResultPercent" show layer "passed" or "failed".

5. On "Passed" or "Failed" layer Execute javascript:

var player = GetPlayer();
var lmsAPI = parent;
/*set score and round it to integer*/
var intvalue = Math.round(player.GetVar("FinalResultPercent"));
player.SetVar("FinalResultPercent",intvalue);
lmsAPI.SetScore(player.GetVar("FinalResultPercent"), 100, 0);
/*set status for LMS*/
if (player.GetVar("FinalResultPercent")>= player.GetVar("PassingPercentage")){SetStatus("passed");}
else
{SetStatus("failed");}

And boom, you have two different sets of question banks working ;)