How to send Score (points) to LMS?

Good morning,

i have build a short quiz. Can anyone help me how to send the score back to LMS?

Its one page with four questions and <span class="tlid-translation translation" lang="en"><span class="" title="">every correct answer gives 5 points. </span></span>

Can you give it a look please?

greetings Marcel

• Hi,

you can't send the "point value" as a score. The point value can be used to give selected questions a higher weight in comparison to the other questions. If you give all questions a point value of 5, it's the same as if all questions had a value of 1, i.e. all questions have the same weight. The score is always a percent value = achieved points of total points, e.g.

With a value of 1:

Q1: 1 (correct)
Q2: 1 (correct)
Q3: 0 (incorrect)
Q4: 1 (correct)
Total: 3 of 4 = 75%

With a value of 5:

Q1: 5 (correct)
Q2: 5 (correct)
Q3: 0 (incorrect)
Q4: 5 (correct)
Total: 15 of 20 = 75%

The point value only makes sense if you want to make certain questions more important for the score, e.g. Q2

Q1: 1 (correct)
Q2: 5 (correct)
Q3: 0 (incorrect)
Q4: 1 (correct)
Total: 7 of 8 = 87,5%

With this setup Q2 alone would make 62,5% of the score. If you answered it incorrectly the highest score you could achieve was 3 of 8 = 37,5 %

If you want to send points to the LMS you'll have to count them yourself in a custom variable and save it to the suspend_data. If you sent the points as a score, they'll be treated as a percent value: 4 x 5 = 20 which should be 100%, but the LMS will take it as 20%.
• Hi Tim,

thx, i thought the point value is the score, ok...

this means, that it is shown only as a percentage and not with score in LMS

but i also dont get the percent value...

greetings marcel
• You can put the page into a test chapter and let Lectora calculate the score from the questions or calculate it yourself with one action per question:

Action: Modify variable
Target: Your_Score_variable
Value: 25
If Question 1 is correct

The variable that's sent to the LMS is "AICC_Score".
• Thank you Tim. And how would you solve the following scenario?
The user should answer a question, both answers are correct and there are only these two answers. But in one of the two correct answers is the weighting (value) greater.

Info also in my lectora title

I know that's a funny example :-)
• Hi Marcel - I'm not able to work with package files, but think I have an idea for you using variables.

If I understand what you're saying correctly, if the user selects answer 1, they get 40 points, but if they select answer 2, they get 60, and the user can only choose 1 answer.

This can be done with an IF statement when the question is processed:

Action: Modify variable
Target: Your_Score_variable
Value: 40

ELSE

Action: Modify variable
Target: Your_Score_variable