Love the CL layer and ability to create activities with infinite practice using different templates however my students and I discovered a quirk with MC questions and new questions being generated; when they hit “Generate New Question” the question and MC options change however the location of the correct answer does not - even when I have selected “randomize MC”.
I realize this is due to whatever seed is used to initially randomize the answer option is not related to my “seed” for new questions, however if some code/function could be added to the CL to allow for this, it would be helpful.
I thought it might be an easy solution just to randomize the choiceContent, which it was, but then checking for correctness was tougher. I ended up using a hidden calculator to do some of the work. Here’s an example that includes a lot of comments so you can work your way through the code.
hey I have developed a workaround in the CL layer for randomizing the “location” of the correct answers. Basically I code the outputs and then do a hard “when/otherwise” tree through each multiple choice option.
note this is similar to what Craig did above - I’m just using the CL layer