Limiting Attempts on tests

I am using lectora inspire and I am trying to limit the number of attempts a person can have on a test.


I have set up a variable called Attempts with the inital value of 0 and to retain value between sessions.


I set up a modifyable variable on the last page that states:


On Show - Modifyable variable set = 1 if Attempts =0


Second variable set it up similarly


On Show -Modifyable Variable - add to variable 1 if Modifyable Variable Attempts is = 1


Third variable


On Show - Modifyable Varialbe - Set = to 3 if Modifyable Variable Attempts is = 2 and show a pop up stating that they have exhausted all attempts.


For some reason, the pop-up is coming in on the second attempt and not the 3rd and they can still access the exam.


I am relatively new to working with variables but I think my logic is accurate.


Can someone please assist.


Thanks!

Discussion (3)

I was following what you did until you mentioned a second and third variable. I can't tell what the other two variables are doing. The way I handle attempts is at whatever point I want to count a try, I put an OnShowMod that increments the same variable by 1.


For example, my variable is named Exam_Attempts and starts at 0 and retain value between sessions just like you. I want any viewing of the exam to count as a try, not only after they have answered all the questions. So the very first thing in my assessment is an action


OnShowMod_Exam_Attempts with the properties

Target= Exam_Attempts

Type= Add to Variable

Value = 1


The first time the student takes the exam, the variable gets 1 added to it. So 0 + 1 = 1st try.

The second time when 1 is added you have 1 + 1 = 2nd try, then 2 + 1 = 3rd try.


Then have your popup show when your var is equal to or greater than 3.

Anne

There are many places and ways you can put this limitation. Whatever you choose will be based on your Attempt variable being equal to or greater than 3. For example, you can put a condition on your popup, so it shows only when Attempts is 3 or more.


I put a a GoTo action at the beginning of the assessment that looks to see the value of Attempts. If it is greater than my limit, I send students to a page at the bottom of the Title Explorer called "Attempts Exceeded"


To do this, I added the GoTo action and clicked Conditions and set

Variable = Attempts

Relationship = Greater Than or Equal

Value = 3


When the test opens, this action checks the value of Attempts. If it is 3 or more, the student is sent down to the Attempts Exceeded page. Otherwise, the action is ignored and students see the test.


A nice thing about this is that you can have more than one thing happen in Attempts Exceeded, depending on your needs and abilities. I have text telling them they have had their tries and directing them to close. I also have some communication to my LMS letting it know they are done with the test and shouldn't be going back in. You could have two or three pages here if you wanted. Whatever works for your needs.

Thank you . I guess I had to many actions in place. Do you know how to restrict them from accessing the test again?

Discussions have been disabled for this post