Is it possible to make a data variable the answer to a quiz question?
Basically, I am having users create answers to questions, using the variables function, which therefore allows me to save those answers uniquely for each user.
I then want to use those unique answers in a quiz to see if each user remembers what their answers were.
Add a text entry field to the quiz page for the learner to type their answer. SL will automatically create a trigger to set the text entry to a variable.
Add a couple of triggers to change the state of the True/False buttons as appropriate depending on if the learner's answer matched the previous answer (which you have stored in a variable), as follows:
Now when the learner clicks the Submit button, it will check the state of the True/False buttons to see if the learner answered correctly.
Seems like in SL1 we could move the question objects (the True/False buttons) off screen so the learner could not see them, but it seems in SL2 that you cannot do that. So you may need to obscure them behind an object so they won't be seen.
Thanks for this really useful information. I will give it a try. Is it possible to do this with digits in the true and false type quiz? Students are entering numbers.
I think you are asking if this would work the same if the learner is entering numbers instead of text? It should work fine. As long as you are using a text entry field the setup should work, even if they are typing numbers.
4 Replies
Hi Joanna -
One way to do this would be as follows:
Now when the learner clicks the Submit button, it will check the state of the True/False buttons to see if the learner answered correctly.
Seems like in SL1 we could move the question objects (the True/False buttons) off screen so the learner could not see them, but it seems in SL2 that you cannot do that. So you may need to obscure them behind an object so they won't be seen.
Hope this helps.
Chris
Hi Chris:
Thanks for this really useful information. I will give it a try. Is it possible to do this with digits in the true and false type quiz? Students are entering numbers.
Thanks again for any input!
Joanna
Hi Joanna -
I think you are asking if this would work the same if the learner is entering numbers instead of text? It should work fine. As long as you are using a text entry field the setup should work, even if they are typing numbers.
Regards,
Chris
Hi Joanna,
You could also use numeric entry just to ensure that it's capturing the numbers correctly and adjusting based on that.
This discussion is closed. You can start a new discussion or contact Articulate Support.