Skip to main content
Known Participant
September 24, 2019
질문

Can you force the sum of two answer to equal a specific value?

  • September 24, 2019
  • 4 답변들
  • 2605 조회

I have a project where I want students to compare two statements and then rate them (scale of 0-10) relative to each other. Is there a way to create questions so that the sum must equal 10?

 

 

 

    이 주제는 답변이 닫혔습니다.

    4 답변

    Lilybiri
    Legend
    September 26, 2019

    I have uploaded two blogs to the eLearning community, they are waiting moderation. 

     

    You can find it also in my personal blog:

    https://blog.lilybiri.com/graded-surveys-radiobuttons-interaction

    Lilybiri
    Legend
    September 26, 2019

    I have uploaded two blogs to the eLearning community, they are waiting moderation. I will try to combine them in one post on my personal blog. As soon as possible, will add the links here. 

    chastarb3555작성자
    Known Participant
    September 26, 2019
    Thank you!!!
    Stagprime2687219
    Legend
    September 25, 2019

    So - if the sum of both A and B must equal 10 - the question is, as you originally stated - how do we force that?
    My idea would be to create a single Text Entry Box for each pair and a variable for every question.
    When a value for the first TEB is entered - the variable for the second is calculated such that the sum of the two is 10. We can simply display the value for the second.

    If you require that the learner actually enter a value for every question then you would need to make it so that updating the second TEB would auto calculate and modify the first in order to keep it equal to 10. It is do-able but makes it a bit more complex, I think.

    This can be done with actions.

    Lieve may have another idea for this - looks like she is gonna get you hooked up with a solution.

    Lilybiri
    Legend
    September 25, 2019

    Yes, have an idea, and as you know, I don't like to force a learner. Would prefer to give a warning when the sum is not 10, and let them correct the entry. Would be possible to use the learning interaction 'radiobuttons or even a custom interaction to show them a nice 'rating scale'.

     

    As a diehard trainer, I never like 'forcing' anything. You are correct, Greg, that was the original question, but the learning experience is for me much more important.

    Have a working solution, without JS. But have to leave now for a dinner meeting. Writing out the blog will be for tomorrow.

    Stagprime2687219
    Legend
    September 24, 2019

    Without going to a JavaScript solution - (as I often do) - you might consider having them rate one item which will then automatically set the value of the second to the difference from ten. This was the first thing that popped into my head.

     

    As I consider more while typing - I thought there might be a need for additional context. I would have made this scenario from scratch - that is typically my default position. However, if you are wanting to use the Likert Scale Quiz slide - well, that probably changes things. I don't have an answer for that - I have actually never used that type of quiz slide.

    chastarb3555작성자
    Known Participant
    September 24, 2019
    Thank you! I do not have any experience with JavaScript (which I am now feeling would be EXTREMELY useful!) or programming for that matter. I am new to this world!
    Lilybiri
    Legend
    September 25, 2019
    Can be done with advanced or shared actions as well. But you need to give more details. How do you want this to happen? Do you need to transfer the results to a LMS?