Maddening variables conundrum...can anyone offer advice?
December 5, 2009 12:00 AM
I have created a title that has an exercise that asks three yes/no questions about an example.
For this example, I created a variable called "m1_1"
For the first correct answer, I created an action that adds an "a" to the "m1_1" variable if the answer is correct
For the second correct answer, I created an action that adds a "b" to the "m1_1" variable if the answer is correct
For the third answer, I created an action that adds a "c" to the "m1_1" variable if the answer is correct
Then I created a condition on the third answer that says "If all of these are true, then show "correct" feedback, "m1_1" contains "a", "m1_1" contains "b" and "m1_1" contains "c"
This works if I answer the questions in the order they are presented. But if I start at the bottom and answer that question first, then the others, it always gives me correct feedback even though the answers are incorrect!
To see what it looks like go to http://www.boulderlearning.com/lectora/variable_question/html/index.html
The correct answers are NO, NO and YES
To look at my .awt file, download the zip file at http://www.boulderlearning.com/lectora/variable_question/variable_question.zip
My brain hurts. Can anyone take a look at this? Maybe it's obvious to you...
Thank you forever,
L
Discussions have been disabled for this post