Skip to main content
davidw47085529
Participant
May 11, 2022
Question

Simulation quiz where score reduces based on number of attempts

  • May 11, 2022
  • 1 reply
  • 162 views

I have a requirement to build a software simulation based quiz, where the user is penalised for clicking in the wrong place.

 

The only method i've been able to come up with is to have multiple identical steps in the quiz which only allow 1 attempt before moving on:

 

Slide 1 Question 1 "Click on the X" - 5 points, jump to slide 4

Slide 2 Question 2 "Click on the X" - 3 points, jump to slide 4

Slide 3 Question 3 "Click on the X" - 1 point, next slide

Slide 4 Next Question...

 

This works functionally but leaves me with the following issues:

Question Count is wrong, a user will assume they've just completed 1 question successfully, in reality they have missed 2 other questions

Maximum score is wrong, a user who gets it right first time will have still missed out on 4 points

 

Can anyone advise on an approach for this? Is there a way to manipulate the system variables for total questions and maximum score?

This topic has been closed for replies.

1 reply

Lilybiri
Legend
May 11, 2022

Quizzing system variables are read only. You can manipulate them with JavaScript or by using the CpExtra widget which allows you to transfer the value of a user variable to the cpQuizInfoPointsscored variable when the quiz is ended. That widget is not free, but you could try it out, they offer a trial. It has tons of features, not only this manipulation of wuizzing variables.

CpExtra

To set up the value of the user variable you need advanced or shared actions. This is a link to a very old blog post, where I created such a situation. Sorry, the output is in SWF:

http://blog.lilybiri.com/link-score-to-attempts-in-custom-questions

Using your approach will not work fine, even if you use Branch aware, because cpQuizInfoTotalQuizPoints will not be correct. Check the value of that variable in the Advanced Interaction panel (F9).

davidw47085529
Participant
May 11, 2022

Thanks a lot for coming back on this, it's a big help. I'd ideally need the correct score reported to the LMS which it sounds like isn't possible without CpExtra.

 

Additionally, I will likely want to use this scoring mechanism a lot, so the simpler the implementation the better for my team long term.

Would you say CpExtra is the only option in that case?

Thanks again

Lilybiri
Legend
May 11, 2022

Sorry if I was not clear enough. I use CpExtra but you can achieve the same using JavaScript. However since there are a lot of JS experts around here, I hope at least someone pops in to explain. My expertise is with Captivate functionality.