PDA

View Full Version : multiplication with points instead of 1 correct answer

YDH
02-01-2007, 05:45 AM

can you help me on this one? it must be a be a radio button multiplication type. each answer has corresponding points 0-5, 5 points is the best answer. you can arrange each answer in random points.
there can be 2 similar points in 1 question. So it's not just a simple correct or incorrect type of quiz. It should work on both Firefox and IE.

this is how it should look
example..
a quiz of 1-10

Question number 1

1. What is the best thing to do when you see an old woman crossing the street?

a. I will help her, guide her (hidden point of this one is 5 points)
b. I will shoot her (hidden point of this one is 0)
c. I will ask a policeman to help her (hidden point is 3 points)
d. I will talk to her and ask her to stop walking and wait for help (hidden point of this one is 3 points)
e. I won't do anything. (hidden point of this one is 0 point)

now you choose letter c, when you choose any answer they have a corresponding comment once you click a "check answer" button below each question.

now you choose letter a, when you choose any answer they have a corresponding comment once you click a "check answer" button below each question.

... all answers in all questions has corresponding comment once you click the check answer button.

Then at the end of the quiz of 1-10, there's a final button "See Score"

Let's say that you scored 1 out of 20 correct, (since there's 100 points in total score)

"you have 3 points out of 100, 5% Very Poor. You are unacceptable to society."

0-25% = "Very Poor. You are unacceptable to society"
26-50% = "Poor. You need to improve your attitude"
51-75% = "Acceptable. You are improving!"
76-100%= "Outstanding. You don't have to take this quiz again."

--------------------

IS there a javascript like this?

Philip M
02-01-2007, 07:30 AM
See the posting guidelines.

We are not here to write your web pages for you - we are here to help with specific coding problems.

Try looking at www.hotscripts.com

felgall
02-01-2007, 08:56 AM
Since I have already written the code to do what you want I will save you some time in hunting for it by telling you where I put my version.