Creating a quiz with combined results | Community
Skip to main content
Answered

Creating a quiz with combined results


I am creating a quiz which has a possible 3 “main” results. But I also want to be able to offer split results if it is ½ and ½ results. For instance, of the 50 questions if 25 are A and 25 are B, then the result would be A-B, not solely A, B, or C. Is there a way to do this?

 

For more details, I am creating an ayurveda quiz for students. The options are Pitta, Vatta, Kapha. But, it is possible to be Pitta-Vatta if you have traits of both. 

Best answer by john.desborough

@Mikkti987 -  you need to identify the outcomes that you want to achieve first and then work back to the logic rules. 

if you are adding ‘points’ to subtotal variables for outcomes, then that is the first step. then, with your outcomes defined you can set your logic rules to evaluate the subtotals to drive the user to the right ending

let’s make assumptions that:

  • any category with more than 40 points out of 50 would be uniquely to that attribute 
    • if v_subtotal_A GTE 40 then go to ending/outcome A
    • if v_subtotal_B GTE 40 then go to ending/outcome B
    • if v_subtotal_C GTE 40 then go to ending/outcome C
  • any combination of 25 and 25 would route you to a ‘joint’ outcome
    • if v_subtotal_A = 25 and v_subtotal_B =25 then go to ending/outcome ‘joint A-B’
    • if v_subtotal_A = 25 and v_subtotal_C =25 then go to ending/outcome ‘joint A-C’
    • if v_subtotal_B = 25 and v_subtotal_C =25 then go to ending/outcome ‘joint B-C’
  • as an example, you might also have a score over 30 in one category and if another category is over 15, you want to route them to another series of outcome pages (endings?)
    • if v_subtotal_A GTE 30  and v_subtotal_B GTE 15 then go to ending/outcome ‘alternate A-B’
    • if v_subtotal_A GTE 30  and v_subtotal_C GTE 15 then go to ending/outcome ‘alternate A-C’
    • if v_subtotal_B GTE 30  and v_subtotal_A GTE 15 then go to ending/outcome ‘alternate B-A’
    • if v_subtotal_B GTE 30  and v_subtotal_C GTE 15 then go to ending/outcome ‘alternate B-C’
    • if v_subtotal_C GTE 30  and v_subtotal_A GTE 15 then go to ending/outcome ‘alternate C-A’
    • if v_subtotal_C GTE 30  and v_subtotal_B GTE 15 then go to ending/outcome ‘alternate C-B’

you need to define the outcomes to which you will route your users. Then you can figure out the logic rules similar to the above, as necessary, to get the user to the appropriate ending.. 

 

hope that helps move the needle a bit.. 

 

des

View original

4 replies

Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 15035 replies
  • May 8, 2023

Hi @Mikkti987 Happy Monday! I hope you had a great weekend. 

@john.desborough is definitely your guy for any calculator questions!


john.desborough
Forum|alt.badge.img+6
  • Certified Partner & Champion
  • 5328 replies
  • Answer
  • May 8, 2023

@Mikkti987 -  you need to identify the outcomes that you want to achieve first and then work back to the logic rules. 

if you are adding ‘points’ to subtotal variables for outcomes, then that is the first step. then, with your outcomes defined you can set your logic rules to evaluate the subtotals to drive the user to the right ending

let’s make assumptions that:

  • any category with more than 40 points out of 50 would be uniquely to that attribute 
    • if v_subtotal_A GTE 40 then go to ending/outcome A
    • if v_subtotal_B GTE 40 then go to ending/outcome B
    • if v_subtotal_C GTE 40 then go to ending/outcome C
  • any combination of 25 and 25 would route you to a ‘joint’ outcome
    • if v_subtotal_A = 25 and v_subtotal_B =25 then go to ending/outcome ‘joint A-B’
    • if v_subtotal_A = 25 and v_subtotal_C =25 then go to ending/outcome ‘joint A-C’
    • if v_subtotal_B = 25 and v_subtotal_C =25 then go to ending/outcome ‘joint B-C’
  • as an example, you might also have a score over 30 in one category and if another category is over 15, you want to route them to another series of outcome pages (endings?)
    • if v_subtotal_A GTE 30  and v_subtotal_B GTE 15 then go to ending/outcome ‘alternate A-B’
    • if v_subtotal_A GTE 30  and v_subtotal_C GTE 15 then go to ending/outcome ‘alternate A-C’
    • if v_subtotal_B GTE 30  and v_subtotal_A GTE 15 then go to ending/outcome ‘alternate B-A’
    • if v_subtotal_B GTE 30  and v_subtotal_C GTE 15 then go to ending/outcome ‘alternate B-C’
    • if v_subtotal_C GTE 30  and v_subtotal_A GTE 15 then go to ending/outcome ‘alternate C-A’
    • if v_subtotal_C GTE 30  and v_subtotal_B GTE 15 then go to ending/outcome ‘alternate C-B’

you need to define the outcomes to which you will route your users. Then you can figure out the logic rules similar to the above, as necessary, to get the user to the appropriate ending.. 

 

hope that helps move the needle a bit.. 

 

des


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 15035 replies
  • May 12, 2023

Hi @Mikkti987 Were you able to use the solution above? Let us know if you need some help setting this up!


  • Navigating the Land
  • 1 reply
  • July 13, 2023

@john.desborough @Liz I’m working on something similar and am struggling to learn how to set up variables and scoring. I can’t seem to find any video walkthroughs or resources that aren’t written only. Any suggestions?

 

My Goal - 7 question “personality” quiz with 3 multiple choice answers for each question. Three different results that can be combo’d as outlined above.


Reply