How to send Score (points) to LMS?

mmilo9281
mmilo9281 Community Member Posts: 155 ☆ Roadie ☆
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

Comments

  • timk
    timk Community Member Posts: 1,176 ☆ Superstar ☆
    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%.
  • mmilo9281
    mmilo9281 Community Member Posts: 155 ☆ Roadie ☆
    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
  • timk
    timk Community Member Posts: 1,176 ☆ Superstar ☆
    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
    Type: Add to variable
    Value: 25
    If Question 1 is correct

    The variable that's sent to the LMS is "AICC_Score".
  • mmilo9281
    mmilo9281 Community Member Posts: 155 ☆ Roadie ☆
    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.
    Answer 1: 40 points
    Answer 2: 60 points

    Info also in my lectora title

    I know that's a funny example :-)
  • jasonadal
    jasonadal Community Member Posts: 439 ♪ Opening Act ♪
    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
    Type: Add to variable
    Value: 40
    If Question 1 is Answer_1

    ELSE

    Action: Modify variable
    Target: Your_Score_variable
    Type: Add to variable
    Value: 60

    This works if both answers are correct, but one is "more" correct than the other. Tim may be working on a sample of this, but that's essentially the "next level" for giving weight to answers.

     
  • carlfink
    carlfink Community Member Posts: 840 ☆ Superstar ☆
    If I understand the question correctly, I believe you could do what you want using xAPI.

    I don't have access to an xAPI-enabled LMS and have never tested it, but that sort of name:value pair seems to be what xAPI is for.
  • timk
    timk Community Member Posts: 1,176 ☆ Superstar ☆
    In the end you can build any kind of point system in your course and display these points to your learner. You just can't use the "point value" directly because it's not a variable. And if you want to use these points for the LMS score, you'll have to calculate a percentage, "achieved points / maximum points".
Sign In or Register to comment.

So You Wanna Be An eLearning ROCKSTAR?

We're all fans of eLearning here! Want to become an eLearning ROCKSTAR? Just click on one of the buttons below to start your rocking journey!