Show incorrect answers based on a particular test score
February 21, 2014 12:00 AM
I have a test (10 questions) with a passing score of 90% and would like to show the custom results page only when the student has this exact score (1 missed question). Is this possible within Lectora OR would one need to edit the published html.
sjones
Discussion (7)
I would think you would be able to use the Lectora-created test score variable (look in Variable Manager - Reserved Tab to see the system created variables) with an action. Only show the page when the Variable equals 90. That might work.
@amwdmw 59959 wrote:
I would think you would be able to use the Lectora-created test score variable (look in Variable Manager - Reserved Tab to see the system created variables) with an action. Only show the page when the Variable equals 90. That might work.
Thanks for the suggestion. I would assume that the action goes on the last question. But how would you do this if the 10 questions are randomly selected from a test bank. Would you then place this action on each question page?????
The customized results page is shown when the test is processed. You have to process the test because otherwise the test results variables are not updated to their correct values. That means you can't react to the test score before having processed the test and (again) if you process the test the results page appears.
So I don't think there is a way to show the results page only if the test score equals a certain value. What can be done is to process the test again immediately when the results page is shown so the user is immediately redirected to the pages set On: passed / On:failed. It may be more elegant not to open the results page in a popup.
Tim
@sjones 59960 wrote:
Quote:Originally Posted by amwdmw View PostI would think you would be able to use the Lectora-created test score variable (look in Variable Manager - Reserved Tab to see the system created variables) with an action. Only show the page when the Variable equals 90. That might work.
Thanks for the suggestion. I would assume that the action goes on the last question. But how would you do this if the 10 questions are randomly selected from a test bank. Would you then place this action on each question page?????
Any other suggestions????
Tim and Stuart,
Thank you for your replies. Stuart, after reading your reply, I'm thinking that your suggestion may work with a modification.
Thanks again,
sjones
You can create a custom Pass and Fail page and have the Process Test action go to the Pass page (if passed) and Fail page (if failed).
How about creating two more custom pass pages - one for 90% and one for 100%.
Then on the Pass page have an OnShow action that automatically branches to your 90% page for a score of 90% and your 100% page for a score of 100%.
The customized results page is shown when the test is processed. You have to process the test because otherwise the test results variables are not updated to their correct values. That means you can't react to the test score before having processed the test and (again) if you process the test the results page appears.
So I don't think there is a way to show the results page only if the test score equals a certain value. What can be done is to process the test again immediately when the results page is shown so the user is immediately redirected to the pages set On: passed / On:failed. It may be more elegant not to open the results page in a popup.
Tim
@Stuart_Hughes 60073 wrote:
You can create a custom Pass and Fail page and have the Process Test action go to the Pass page (if passed) and Fail page (if failed).
How about creating two more custom pass pages - one for 90% and one for 100%.
Then on the Pass page have an OnShow action that automatically branches to your 90% page for a score of 90% and your 100% page for a score of 100%.
Stuart,
I could not figure out how to show the results only when the score is 90% using your method.
Tim,
You are correct in that to show only the results when the score is 90% is not doable in Lectora (if I'm reading your response correctly.
However, I was able to show only the results when the score is 90% by editing the published html file. However, this would need to be done every time the course is published.
Thank you both again,
sjones
Discussions have been disabled for this post