Using variables to display questions hints on second attempt at question

Mar 17, 2015

I have a quiz that forces learners to repeat questions they didn't get right the first time before they can pass the full module. They get one attempt at each question before moving onto the next.

I wanted to display hints for learners who are accessing questions for a second or subsequent time, but my attempt to use variables to do this has failed. I was using use count variables - setting the hint layer to display if the use count is >1 - but I seem to have misunderstood how this works, because the layer doesn't display.

Can anyone help me with if what I am trying to do is possible and if so, which variable to use? Thanks so much

23 Replies
Katherine Redfern

Hi Leslie
Thanks so much for your response. I've read through the solution at the link and it's not quite what I'm aiming at. I'm starting to feel it's not possible to do.
My hope was to have a quiz whereby a learner works through a series of questions then ends up on a results slide. This states he must retry the questions he got wrong and returns him to the start of the quiz. The questions he got wrong then appear along with a hint on each one.
I've managed to set up the quiz so that learners only see the questions they got wrong, but I can't figure out how to have a hint layer that only appears if a learner is returning to a slide because they got the question wrong the first time.
Any help much appreciated

Emily Ruby

Hello Katherine,

You can have the users go back and see the hint layers on a retry by adding a variable to the retry button. You can use a true/false, and set it to true when clicking the retry button. Then set the hint layer to show on timeline start if the variable is = true.

Attached is a quick example of one way to achieve this to get you started. hopefully others will jump in with ideas as well.

I did notice, the hint layer covers the submit button, so you may need to move those, or have the hint layer close when the timeline ends. I update questions 1-5 in the file only.

Katherine Redfern

Thank you so much, Emily - and thank you for pointing out that the hint layer was covering the submit button too.

I had set this quiz up so that learners only returned to the questions they'd got wrong in their first attempt. It's not very interesting content so I felt this reduced the boredom factor. However, now that the hints are showing on their second attempt, the 'jump to wrong answers only' function is no longer working.

It's maddening!

Is there any way around this? It doesn't seem a particularly complex setup for a quiz.

Katherine Redfern

Oh - the only prob is that now, even if you get all the questions right after repeating them (woth the hints showing up on only the wrong questions - yay) the failure layer shows on the final screen. Do I need to insert a reset results trigger somewhere?

I sound like a demanding client when in fact I'm a super-confused elearning designer - apologies.

Emily Ruby

Ok Katherine,

I think I found a way to have this work as you need. I attached a new file. You will need to add triggers to each slide to have the correct answers change state to Selected on timeline start if the QxCorrect variable is true.

Also add a submit interaction on timeline start when the same variable is true. This will automatically submit the correct answers on a retake if the were correct the first time. I ran through this a few times failing and it seems to be working properly.

 

Nathalie GERARD

Hi Emily,

I've read your post which really just answer my question. I've used your solution and I stillhave a difficulty with one point...

I've seen you change the status of the button to "selected" in order to submit the correct answer, and it works fine with multiple choice questions but one of my questions is a "fill the blank". I don't know how to set the value of this question so that the result is take in account into the results.

Would you have an idea about how to do that ??

Tahnks in advance !

Natahlie

 

Nathalie GERARD

Hi Leslie,

The issue is not the Hint. 

If you answer correctly the 2 fill the blank questions, and wrong to the 3 others; the result will be 40%. So you have to retry the test. The second time, also answer wrongly the 3 questions which stays open. The result is 0%, because the responses are reset before the retry - even the fill the blank questions. With the multiple Choice question, I used what was explained previously in this post, I change the state of the button to "selected" when retrying. For the fill the blank, I should find a system to fill the answer "automaticaly" during "retry" as well when the answer was previously correct and I don't know how... that's my questions.

Hope this is better explained... 

 

Nathalie GERARD

Hi Leslie,

I looked further today and working like that I do a reset of the result slide, which is not good as I have test earlier in my file.  

So I totaly change the quiz, If the answer is not correct, i've put a "try again". It  works fine.

And i'd like to registrate the amout of failure the learner does. So every time he clicks on "try again" I increment a variable - here 'NbrTry'. What I don't know is how to get the result of this variable - a number - as a result in the result slide so that I get the information in my LMS...

I couldn't find any post on this. Would you have a solution ?

Here is my file. Thanks!!

Nathalie GERARD

Hi Leslie,

Everything I found on de community was reporting a text value and not a numeric value. So I couldn't the solution that way.

Finally, as my value only could be a number between 1 to 5,  I've made a slide trigger with  "Set Textentry equal to 1 if NbrTry (my numeric variable) is equal to 1; and made the same for 2,3,4,5.  So my number value is entered as a text variable. And then I used an "edit short answer"  to bring this information to the LMS.... as I saw on the links you gave. Now it's ok.

Thanks for the support you gave.

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