Skip to main content
Inspiring
February 5, 2015
Answered

How do I keep track of a learner's quiz answers? cpQuizInfoAnswerChoice?

  • February 5, 2015
  • 1 reply
  • 943 views

I want to keep track of the learner's answers throughout a quiz, so that at the end of the quiz I can give the user feedback on which topics need futher study (the topics relating to the questions they got wrong). I believe the system variable that holds this information is 'cpQuizInfoAnswerChoice' but how do I call it for each individual question? Help!

This topic has been closed for replies.
Correct answer Lilybiri

Hi again,

So I was able to implement the process of displaying the user's quiz answers as you described in your blog. However, I realized what I actually need to keep track of is the points that were scored on each question. For example, if my quiz contains 4 questions, and the questions are 1 point each, and the user gets the first two questions right, and the last two questions wrong, I want to keep track of that and display the following information at the end of the quiz:

Q1: 1

Q2: 1

Q3: 0

Q4: 0

I want the user to know which questions they answered wrong; however, without revealing the correct answer. Is this possible? I tried using the variable "cpQuizInfoPointsscored" However, the variable keeps track of the total points scored in the quiz rather than the points scored per question. Can you help?


You'll just need another system variable: cpQuizInfoLastSlidePointScored and like cpQuizInfoAnswerChoice, this is a variable that changes its value after each question slide, so you'll need again user variables to store and identify the score for each slide.

1 reply

Lilybiri
Legend
February 5, 2015

That variable is reused in each question slide. If you want to store it,

you need to assign its value to a user variant. I have a blog post about

this var somewhere on http://blog.lilybiri.com. Sorry not to give you the

exact link, I'm on the road.

avary_sAuthor
Inspiring
February 5, 2015

Great! I'll search for it in the morning!

Sent from my iPhone

Lilybiri
Legend
February 6, 2015