Forum Discussion
JS Solution for Spaced Repetition
Is there a JS solution for repeating quiz question(s) (from a slide or quiz bank) at a later point in a course IF AND ONLY IF the learner did not answer it correctly?
Or can you direct me to other non-JS alternatives to accomplish this with the least amount of effort?
- NedimCommunity Member
Hi Math,
Yes, it’s a useful feature in the Trigger Wizard, and I’d definitely recommend Anastasia to go that route. However, this solution will only work as expected if a result slide is linked to the quiz bank, and the trigger is executed from another slide when returning to the question bank. In my example, I didn’t use a result slide; the questions are simply stored within the question bank.- MathNotermans-9Community Member
True :-) But a resultslide can look exactly as a user wants. Could even be simply the next slide. Big plus, no need for extra variables for each question. Main reason i often say...show a sample to users asking for help. We now have no clue whatsoever how Anastasia wants to use this ;-)
- MathNotermans-9Community Member
Before i spent time re-arranging my Javascript for a solution for this, i wanted to doublecheck Nedim's approach. And surprisingly its even easier. In The Trigger Wizard when resetting the results for a quiz ( question bank or normal ), you now have this option.
'Reset only incorrect questions'.
Wonderfully it not only reset my incorrect choices, but also only showed these questions from my question bank. :-) - NedimCommunity Member
A non-JavaScript solution could involve skipping the correctly answered questions (rather than "removing" them) and displaying only the incorrect ones when revisiting the quiz bank. This approach would require setting up a few triggers and using a unique variable for each question.
- DJumeau_DnD_CACommunity Member
I concur with Math... it seems like a customized solution not related to a question bank. I would prefer to use a JSON based solution, create a slide template and populate the question and distractors. Heck that would be a consideration for a webobject with a sample quiz. It is quite a challenge.
- MathNotermans-9Community Member
Easiest solution is probably something like this.
-Make a question bank with all questions.
-If user answers correctly, remove the question from the bank.
-Later reuse the question bank with the remaining answers.
At the moment testing whether there is a way to remove questions from a bank.Well that apparently isnot possible in Storyline.
https://community.articulate.com/discussions/discuss/remove-question-from-bank-after-answered-in-storyline-360/940317
I guess best option then is using Javascript. I do have scripts generating a quiz from Google Sheets or an array. That will work im sure. Will see if i can mock it up.
PS: yes, i do have a project in which the teacher can select which random questions are shown and can choose to leave some out for a specific course/lesson. The code in there will work in this case. Some changes needed, will mock it up for reuse one of the next days.