Fresh eyes needed for a weird bug in custom quiz
Oct 11, 2017
Hi folks,
I've been wracking my brain on a weird bug in a customised quiz I'm building and could do with a fresh pair of eyes.
First, some context ...
My client has asked me to make an automated assessment for a course. It includes a lot of interactivity that the regular Storyline quiz templates don't supply, so I've had to create a lot of it from scratch. The client also wanted a means for the user to review the questions afterwards if they failed so they could see where they've gone wrong. Because of the customised questions I've built, I wasn't able to the use the Storyline template for reviewing questions and had to make my own. It works absolutely no problem, except on one question (Question 7) where it keeps adding points to the final score whenever the user clicks next to go to the next question.
I have tried everything I can think of to fix this. I've recreated the screen, checked through the triggers one by one, made it into a multiple choice rather than a numeric entry. The screens are set to resume when revisited, so I switched it to automatic to see if that helped at all and it didn't.
Part of me thinks it might be related to Question 6, where the score is variable as the user gets 2 marks per correct answer and -1 mark for an incorrect answer. The score it adds during the review is variable; sometimes it's 4 or even 3, which is why I wonder if it's Question 6 causing the issue. I've looked at the screen and it's triggers and cannot see the issue. Maybe the ordering is wrong? I'm not sure, but that's the next thing I'm going to look at.
I've been looking at this for two days now and not getting anywhere. As you can imagine, I'm starting to get a little frustrated. If anyone can help, I'd really appreciate it.
9 Replies
So, on question 7, when reviewing the questions, that's when additional points are being added to the final score, correct?
If this is the case you may consider adding a "Q7visited" variable to your question 7 slide, T/F variable with a default value of "false".
The first time a user visits the Q7 slide, the "Q7visited" variable will be false. Set your trigger(s) that add points to the final score to include a conditional check to only add points to the final score if "Q7visited" = "false".
After the points are added, adjust the value of "Q7visited" to "True".
Each time after this point, when the Q7 slide is revisited for review, no points will be added because of the condition you added.
Hi Brian,
Thanks for your suggestion. I tried it and it didn't work. :(
I took out Q6 and tested the file again and can confirm that Q7 is definitely the issue. The odd thing is that depending on the answer the user inputs, the number of points added changes. For example, if the user has entered the correct answer (63) then it added 3 points, which is the number of points that the question is worth. If the user enters the wrong answer, such as 12 then it add 5. If they enter 47, it adds 4. For 87, it adds 3. Very bizarre! I tested this out with Q6 deleted.
Another bit of interesting info - I took out Q7 and tested the file. When clicking the next button on Q6, 4 points were added to the final score during the review.
You're going to need to figure out how to make sure that points are only added to your final score on the first visit to the question slide. The way I always do this is to create "visited" variables for each slide, then add conditions to my scoring triggers to only add the score if the slide has not been visited.
I think I'm going to have to rebuild the screens. Not what I wanted to do, but I honestly cannot figure this out.
I figured out the issue - it was Question 8 the whole time! The drop lists I created for the interaction was causing the additional scoring to be added during the review. I ended up recreating this interaction as a drag and drop and now it works as it's supposed to.
Awesome, glad you got it figured out Gemma, sometimes finding problems like this can be like finding a needle in a haystack.
Yup. That's pretty much been the experience of the last couple of days. :)
Glad you were able to identify the issue and thank you for keeping us up to date :)
This discussion is closed. You can start a new discussion or contact Articulate Support.