Hi,
I am designing an application where one of the requirements is to show a multiple choice questions and calculate scores based on the selected answer by the users. I am not strong enough in math and dont have complete picture of how to achieve this. It will be nice if someone can help me resolve this.
Questions fall into three categories. Lets say A,B and C. Each category has 2 questions with different weightage and each question has four possible options. Each option has an associated percentage. I have drawn the question format, question weight and answer percentages in the below table. From this, i want to calculate, total score of the student and break down of the scores under each category. Youtube videos are explaining only on the basic weighted average calculation. I felt this one is slightly different and I could not find a clear steps to resolve. It will be nice if someone could explain the steps on how to solve this with any formula. I will have to program this systematically to achieve my design.
I am designing an application where one of the requirements is to show a multiple choice questions and calculate scores based on the selected answer by the users. I am not strong enough in math and dont have complete picture of how to achieve this. It will be nice if someone can help me resolve this.
Questions fall into three categories. Lets say A,B and C. Each category has 2 questions with different weightage and each question has four possible options. Each option has an associated percentage. I have drawn the question format, question weight and answer percentages in the below table. From this, i want to calculate, total score of the student and break down of the scores under each category. Youtube videos are explaining only on the basic weighted average calculation. I felt this one is slightly different and I could not find a clear steps to resolve. It will be nice if someone could explain the steps on how to solve this with any formula. I will have to program this systematically to achieve my design.
Question Category | Question / Answer | Question Weight & Answer Percentage |
A | Category A Question 1 | Question Weight = 1 |
Option 1 | 100% | |
Option 2 | 50% | |
Option 3 | 25% | |
Option 4 | 0% | |
A | Category A Question 2 | Question Weight = 3 |
Option 1 | 100% | |
Option 2 | 50% | |
Option 3 | 25% | |
Option 4 | 0% | |
B | Category B Question 1 | Question Weight = 2 |
Option 1 | 100% | |
Option 2 | 50% | |
Option 3 | 25% | |
Option 4 | 0% | |
B | Category B Question 2 | Question Weight = 3 |
Option 1 | 100% | |
Option 2 | 50% | |
Option 3 | 25% | |
Option 4 | 0% | |
C | Category C Question 1 | Question Weight = 4 |
Option 1 | 100% | |
Option 2 | 50% | |
Option 3 | 25% | |
Option 4 | 0% | |
C | Category C Question 2 | Question Weight = 2 |
Option 1 | 100% | |
Option 2 | 50% | |
Option 3 | 25% | |
Option 4 | 0% |