Restricting number of attempts at Tests in Lectora/Coursemill

You need to count the number of attempts. What constitutes an attempt? Is it an attempt if someone starts the test but closes the window before finishing?


Here are the general steps to use assuming that you count as an attempt getting all the way thru the test.


On the last page of the test have an On Show action that adds 1 to a variable, say _num_tries. Make the variable a Retained variable - i.e. check that box when you create the variable. If you forget, just go to the Tools menu > variable manager and change this property.


Make the first page of the test an introduction page, not a question page. On that page, have an On Show action that displays a message saying that they have already tried 3 times. The condition on that action tests the variable _num_tries for >= 3.


Make the Next button exit the course if the _num_tries >=3 on that first page. Else go to the next page.


 


 

Discussion (1)

Hi all,


Can someone point me in the direction of the file section where I can find this code? I also need to limit the amount of tries that a learner has in attempting a final evaluation.


Thanks so much,


Linda


@MShawn63 31606 wrote:

 Hi Sani, I posted a code segment in the file seciton that shows how to limit the attempts at a question to 3, the same logic can be applied to the test.


sanei said:Hi everyone, we have recently purchased Lectora and CourseMill for our in-house training development needs. One of the key requirements on this project is to restrict users to only three attempts to a particular course/Test. A typical test has about 35 questions and it is mandatory to attempt all and get a 100% score. Anything less than a 100% is deemed as a Fail. If a user fails the first time they have to repeat the test and attempt ALL questions again. Users can attempt a test THREE times only. Is this something that can be done in Lectora? or does this have to be done in CourseMill? Not sure if Lectora has a facility to track number of attempts at a test. Any suggestions on how the above could be achieved? Thank you for your time and help.

Discussions have been disabled for this post