I am getting varied outcomes in quiz answers.

Jan 05, 2017

Hi everybody, a big hello from me, I’m a long time lurker, an I  could do with a little assistance.

It seems like a simple problem, but I think I am not thinking straight on this after going through so many steps to resolve, and resolving across many varying slides.

 

I am working on a quiz that I inherited (I actually inherited several, and an issue appears across most of them at some point).

The original quiz was developed using checkboxes and triggers on each slide, and if the checkbox is ticked the slide = true.

I would say the existing content is fine say 98% of the time, for example we have 5 courses, each with 15 quiz slides and the issue has appeared across 3 courses and only one 1 slide of each course.

I went through and renamed elements and checked for consistency of method and tested many times confirming inconsistent outcomes.  I have chatted with others and we are in agreement this is not down to human error.

 

My thoughts were conflicting triggers, and my next step was to reduce the questions down to variables only (no triggers), but I am finding that restrictive, and on some questions, it works fine, others not so fine. My outcome is not always a True/True. This could be down to me using my variables incorrectly, sometimes you just can’t see the wood for the trees.

I have an example below, I have tried the variables in several different ways.

On the triggers panel the slide triggers are mine, the outcome depending on sequence can have a true/true or a false/true.

The checkbox is inherited and is still featured but is just a visual to compare against the variable outcome. The triggers associated with the checkbox are returning a true/true outcome.

 

To see the issue, I would click in order.

Red>Green>Blue = true/true

Red>Green>Blue>Five = false/true

 

Regards 

10 Replies
Crystal Horn

Hi again... so I made a small change to your trigger setup.  You originally have the variable Q7 changing to True when the states of those answer choices changed; triggers that depend solely on a state change behave inconsistently.  I didn't know this until I read it in the discussion forums, myself.  You don't know until you know.  :)

Triggers behave better when there is a definitive action by the user, so in your case, I changed the trigger to adjust the variable Q7 when the user clicks "Submit" IF the states of the correct answer choices are selected AND IF the state of the incorrect answer choice is not selected.  You don't need that variable to change until the user has finally decided on their answer and is ready to submit, since that variable's ultimate job is to show whether the question was answered correctly on the next (results) slide.  Pro tip:  make sure the trigger to change the variable comes before the trigger to jump to the next slide when the user clicks submit; otherwise it will never fire.

I also deleted the trigger to change the Q7 variable to False since it is already false, and it will only change to true if the user selects the right answers and hits submit.

I'm attaching my modification-- it seems to work, but give it a spin just in case!  I tested it out by answering correctly, answering incorrectly and attempting again, and selecting and deselecting the choices. 

Lou S

Hi Crystal, 

 

Hello and thank you very much for your help. I was hoping that long term I could move away from triggers and just use variables with conditions. Ideally just the two for example:

True = All A,B,D are selected - on condition C is normal. 

False = Any of A,B,D are not selected - or C is selected. 

But when I actually try that it does not work. It works when using triggers via a checkbox, but not when I set the same command using variables with conditions.

Crystal Horn

You'll need triggers to adjust the values of the variable.  They're sort of like the engine in your project... you can turn the wheel to go right, but until you step on the gas and engage the engine, you won't turn right.  But I think I understand what you're saying in terms of preference.

One thing I wasn't clear on:  "when using triggers via a checkbox."  What did you mean "via a checkbox?"  How would you "set the same command using variables" without a trigger?

Thanks for working through it!

Lou S

Sorry my explanation is not very clear.

For me the checkbox is a conduit. 

As the triggers are problematic, my thoughts are get rid of the checkbox and just use 2 triggers (true/false) (boolean) with conditions attached. 

I am a visual girl, so i quickly drew it up how I see it. The top half is when a checkbox is used, the bottom half is Boolean ( i didn't visualise the false option) 

triggers

 

 

 

Crystal Horn

Ah- I never selected the answers in that order.  I changed the triggers slightly, and it seems to react the way I'd expect:

triggers

But put your eyes on it again to be sure.

The checkbox is a visual cue to the learner that the correct answers are selected, and in the latest setup that I worked on, it does nothing to the Q7 variable which controls the checkmarks on the results slide.  The Q7 variable is adjusted when "submit" is clicked IF the conditions are met.

So, if you don't need the "correct" box checked, that is, you don't need a visual cue for the learner, you can eliminate it and all it's triggers completely.  The variable is adjusted upon clicking submit once the right answers are selected.  The user can toggle the choices all they want, but ultimately, when they click submit, the current selections must be correct for the Q7 variable to be made true.

Crystal Horn

One other thing I noticed, Lou.  You'll have to adjust your aR variable triggers for attempts as well.  Every time the user lands on the results slide, it reduces their remaining attempts by one.  If they are on their last attempt and have actually chosen the correct answer, it will still redirect them immediately to the "exceeded attempts" layer.

This discussion is closed. You can start a new discussion or contact Articulate Support.