Client request - 2 Exams in One course?

Hi all,

I'm wondering if this is doable in SL2 - My client wants to have one exam, and he wants everyone to take the first part of the exam (let's say 50 questions). Then he wants to have a question that says, "are you in california?" And then the people who answer no are finished the exam and it's graded. If they answer yes then they continue on and have 10 more questions and are graded on the first 50 plus the other 10. Is this possible to do in SL?

Thanks in advance for how to do this!

6 Replies
Steve Flowers

Hi Jordyn - 

There are a few ways to do this. We've worked multiple quiz parts in the past. Here's one way to do that:

1) Setup 2 question banks, include all questions in the bank (don't select a random set)

2) Add 2 results slides. One results slide will track the questions from the first bank only. The other results slide will track the questions from both banks together. 

3) On the last slide within the first question bank add your redirect to one results slide or the other based on the choice made. 

On the results slide that you move to, set a trigger to transfer the results.scorepercent into a number variable. I'd use score. After this, use a JavaScript trigger to send the score to the LMS. Normally, you only have 2 choices to send completion or score to the LMS. With JS triggers, you have a lot more options!

var player=GetPlayer();
var lmsAPI = parent;
var vScore=player.GetVar("score"); //your score variable
lmsAPI.SetScore(vScore, 100, 0);


Jordyn Matusevich

Thank you so much Steve!

Question - If I put all questions in the question bank, how does that stop group 1 from taking the california-related questions that are only for group 2 (last 10 questions after the split)?

I've never worked with JS triggers before either so this will be a challenge.

Thanks for pointing me in the right direction!

Alan Montague, CPLP

So the work around appears to be, "write code"

To me a cleaner option would be to have an option on each question slide to say if the slide should be counted if skipped. It could default to Yes to match current behavior but if the designer selects the No option then answering the 50 questions in his first quiz correctly and not having to answer the 10 in his second quiz (because the learner did not that learning) still gives them a 100% score.