Tallying points on a results slide for slides that contain multiple questions.

Hello,

I'm creating an activity whereas the learner will answer a variety of questions and then be taken to a slide that shows their total points and statistics on where they rank on a national scale. I have 5 yes/no questions on each slide and I want to have a results slide that tally's the score the learner receives.  I have a total of 5 slides (23 questions). They earn a point for certain questions when they answer "yes" and a point for certain questions when they answer "no".  Any advice would be much appreciated! 

2 Replies
Tracy Parish

Hi Julie:

You'll want to do this with using button sets, variables, and triggers. 

I have attached an SL360 story for you. (let me know if that doesn't work for you eg. you have SL2 - the method will still work). My version would not produce a traditional result slide that would track to an LMS.

The trick here is to make sure the variable you create to tally the score of the slide does not continually score regardless if the user changes their mind with an answer.

I kept slide one to demonstrate this problem.
A correct answer they get 2 points, incorrect -1.  So if they answer Yes on the first question the ScoreSet1 (a number variable I created) has 2 added to it.  If they change their mind and pick No, ScoreSet1 has 1 subtracted.  ScoreSet1 would now equal 1.  If they change thier mind again and go back to Yes, ScoreSet1 has 2 added to it an would now equal 3.  This is wrong as they should only score 2 points for correctly answering this question.

Slide 2 shows the correct way to handle this and the ScoreSet2 (a number variable I created) only is changed based on conditions.  There is a lot to enter, but it works.

I set this one up a bit different so that the tally happens at the end when the user clicks a created submit button.

For each possible correct answer a trigger is created that states something similar to:

  • Adjust variable ScoreSet2, by added 2 to the value, when the user clicks the "submit button" on the condition that the "Correct Answer #1" has been Selected.

For each possible incorrect answer a trigger is created that states something similar to:

  • Adjust variable ScoreSet2, by subtracting 1 to the value, when the user clicks the "submit button" on the condition that the "Wrong Answer #1" has been Selected.

I'm sure there is more than one way to handle this problem.  But this will work for you.