Skip to main content
kevin_stagg
Known Participant
November 25, 2016
Answered

Using Variables to create quiz w/immediate custom feedback

  • November 25, 2016
  • 1 reply
  • 770 views

Hello all -

I'm attempting to create a quiz (no need for SCORM), whereby there are 10 questions presented to the user and must answer 7 correctly to pass. After each question answered incorrectly, they are given the correct answer and allowed to move on. However on the 4th error - they must restart the quiz. I have 20 questions and would love those 10 questions to be pulled from that pool - but just need 10 and to be honest, right now just need the static 10 up and running.

I'd like to custom feedback as I'm incorporating the quiz questions as part of a story. Whereby the student is driving to their favorite vacation spot and for each one wrong they have a flat tire, engine issue, and so forth and if they get the 4th one answered incorrectly - the car is beyond repair and they can't travel any further. I want to include an image of said mishap in the feedback and that is why I'm using a custom quiz instead of an "out of the box" one. I s'pose I could direct them to a page with the image. Would branching be the way to go here and not variables? But even if that were the case, how would I determine what was pass/fail?

Your suggestions would be greatly appreciated. I just need a gentle nudge in the right direction. Many thanks.

This topic has been closed for replies.
Correct answer Lilybiri

Bit confused here: you talk about a question pool, and later on about custom questions. Custom questions cannot be in a question pool, only default question slides can be part of a pool.

If it can be done without a question pool, you can use advanced actions, triggered by the Failure event of the question slides to increment a counter (incorrect questions) and to navigate to the score slide if that counter is 4. You need to go to the score slide to reset all questions (need for multiple attempts on quiz level). Normally you need to use the Retake button, but just navigating to the score slide, then back to the first question slide will work as well.

The number of correct answers will be stored in the system variable cpQuizInfoTotalCorrectAnswers, no need for a user variable.

I don't know why you should use branching?

1 reply

Lilybiri
LilybiriCorrect answer
Legend
November 25, 2016

Bit confused here: you talk about a question pool, and later on about custom questions. Custom questions cannot be in a question pool, only default question slides can be part of a pool.

If it can be done without a question pool, you can use advanced actions, triggered by the Failure event of the question slides to increment a counter (incorrect questions) and to navigate to the score slide if that counter is 4. You need to go to the score slide to reset all questions (need for multiple attempts on quiz level). Normally you need to use the Retake button, but just navigating to the score slide, then back to the first question slide will work as well.

The number of correct answers will be stored in the system variable cpQuizInfoTotalCorrectAnswers, no need for a user variable.

I don't know why you should use branching?

kevin_stagg
Known Participant
November 25, 2016

It can be done without a question pool, yes. That is totally fine.

Thanks for your help Lilybiri!