Explore the community Forums Lectora Lectora Questions & Answers Test set over multiple sections Reply To: Test set over multiple sections

#381270 Score: 0
Profile photo of Tim K
Tim K
Member
contributor
beginner
intermediate
advanced
friend finder
junior moderator
advocate
wise owl
curious george
Group Member
354 pts
@timk

You can use a custom variable to achieve it. The answers a user gives to the question are retained throughout the session and can be retained between sessions. On your results page or final page of the course you can count the number of correctly answered questions in your own variable, e.g. “results”. Just add a series of action to

Action: Modify variable
Target: results
Type: Add to variable
Value: 1

Condition: Only if “Question_0001” is correct

Repeat for each question.

In the end the variable should contain the number of correctly answered questions.

To make it a score for the LMS you’ll have to calculate a percentage:

Action: Modify variable
Target: results
Type: Divide variable by
Value: 10 (the number of questions in your course)

Action: Modify variable
Target: results
Type: Multiply variable by
Value: 100

This would mean for 8 correctly answered questions: 8 / 10 = 0.8 * 100 = 80

Then set AICC_Score to that value:

Action: Modify variable
Target: AICC_Score
Type: Set
Value: VAR(results)