Forum Discussion
Resetting a Variable on Retry Quiz Button
Thanks Judy, I had mentioned before that each question was not worth 1 point. Is there a way to have it calculate both the percent score and tally for the ratio? TIA
Do the math:
Assume there are 20 questions, and the passing score is 80%.
For 5-point questions
- 20 question x 5 points each = 100 total points
- 100 x 0.80 = 80 points needed for a score of 80%
- 80 points ÷ 5 points per question = 16 correctly answered questions for a score of 80%
For 1-point questions
- 20 questions x 1 point each = 20 total points
- 20 x 0.80 = 16 points needed for a score of 80%
- 16 points ÷ 1 point per question = 16 correctly answered questions for a score of 80%
Thus, a quiz with 1 point/question will be scored the same as a quiz with 5 points/question. But using only 1 point/question lets you take advantage of the built-in [Quiz].ScorePoints variable to display the number of correctly answered questions—as demonstrated in the file I attached previously.
I'm afraid I don’t have any more ways to explain that, when all of the questions have the same point value, the number of points per question doesn’t affect the number of correctly answered questions needed to achieve a given percentage. And I don’t see any good reason for requiring the points/question to be higher than 1.
If your client insists on using 5-point questions (despite that having no impact on scoring), then you will need to use a Project variable to track the number of correctly answered questions, as you described in your original post. If you can't get that to work, upload a copy of the .story file so it's available if someone wants to assist with further troubleshooting.
- MarissaSterl11 months agoCommunity Member
Judy, finally got it to work! Thank you SO much for all of your help and patience!