Forum Discussion
Emily_Tacoma
9 months agoCommunity Member
Pre-test and Post-test question draw variable
Hello,
In Storyline, I have created 4 question banks each with 5 questions. I have the learners taking one question from each bank as the pre-test and post-test of a course.
I am creating my own...
JudyNollet
9 months agoSuper Hero
Since you only have 1 question per Question Bank (QB), you could do this:
- Create a text variable for each bank. For example, call them preQB1_resp, preQB2_bias, preQB3_legal, and preQB4_pmp. The default value for these should be blank.
- On each question slide, add a trigger that changes the value of the corresponding variable to "Passed" or to "Failed." The "when" depends on how you set up the questions.
- If the questions provide immediate feedback, a trigger on the Correct layer would set the value to "Passed." A trigger on the Incorrect layer would set the value to "Failed."
- If the questions don't provide immediate feedback, a trigger could change the variable to "Passed" when the user clicks the Submit button. It should include the condition(s) that the user answered correctly. For example, with a multiple-choice question, the condition could be that the correct button = Selected. The trigger should also include an Else action that changes the variable to "Failed" (which would happen if the condition isn't met, that is, when the answer is incorrect).
- Be sure this trigger comes before the Submit trigger. (When there's no immediate feedback, the Submit trigger includes jumping to the next slide. A trigger can't run after the program has left the slide where the trigger is.
- On our Pre-Knowledge Check Results slide, insert references to the preQB__ variables. These will show "Passed" or "Failed" based on what was set by each QB.