# Scoring a Quiz

### Scoring a Quiz

I making a personality quiz that goes like the following.

User takes a test to determine which type of person they are more like. So there will be say 5 types, each given a percentage of 100 that they are closest to at quiz end. The test has 50 questions, plus a age question and a sex question. Each test has 5 possible answers. The user clicks through radio button to fill out the quiz. No sweat so far.

My issue is in the test scoring, this is were i get confused. When making a test, each answer is weighted to fit a specific personality type. The weights are shown on screen as +6 thru 0 thru -6. (In code as 1-13, zero the default get 7 points). I have tried a few different scoring algos but non seem to be accurate. One other thing, I have to assume that a value other than zero WILL NOT be chosen when building a quiz.

1st try - Multiple count of all questions times 7 (7 is middle or 0 on scale), then divide by total points gotten from weighted answers. This ends up being something like 350/372 = 94%. This is all good till you get a score like 350/352 = 99%. In percentage you can assume that the second score is higher, but in reality the first score had the greater point spread.

2nd try - Add the highest value (up to 13) from each questions answers together for each personality type, then divide by total points gotten from weighted answers. This ends up something similar to the above try, but with higher percentages going to those personality types with answers that have no weights attached to them.

OK so now that i have written this Im really thinking that the quizzes will not work if weights are not set to other than zero (aka 7 points). Am I totally off here? Can anyone lead me in a proper direction. Thanks much for helping my keep what hair is left on my head.

Cesar

cesarcesar

Posts: 2
Joined: Sun Jul 06, 2008 4:25 pm

All answers weight could be 1-3 points(accoding to difficulty).
If an answer is wrong 0 points are given.
The test is passed if a user gets 70% - 75% points.
Math Tutor

Posts: 312
Joined: Sun Oct 09, 2005 11:37 am

thank you for your suggestion attempt.

this type of test is not a pass/fail, but more a type or personality based on scored percentage. the end user will be given a percentage up to 100% of what type of person the are across multiple personality types. and please re-read my post as I was very accurate in description.
cesarcesar

Posts: 2
Joined: Sun Jul 06, 2008 4:25 pm