multichoice: 3x33=99 and not 100 %

multichoice: 3x33=99 and not 100 %

د Ralf Hilgenstock لخوا -
د ځوابونو شمیر: 3
د Core developers انځور د Particularly helpful Moodlers انځور د Translators انځور
In a multichoice question the sum of three correct answers is 99 % and not 100 %. The student gets the feedback not completely correct.
Any idea how to solve it?

Ralf
د درجې بندۍ اوسط:  -
In reply to Ralf Hilgenstock

Re: multichoice: 3x33=99 and not 100 %

د Anthony Borrow لخوا -
د Core developers انځور د Plugin developers انځور د Testers انځور

Generally I import my question using GIFT format. What I have opted to do is set the value of one of the questions at 34%

::Multichoice 1::

How to write a multichoice questions for full credit {

~%33%Answer 1

~%34%Answer 2

~%33%Answer 3 }

In reply to Ralf Hilgenstock

Re: multichoice: 3x33=99 and not 100 %

د Gustav W Delius لخوا -
In fact if you use the Moodle user-interface to create the multiple choice question you can set the value of each question to 33.333%. Three right answers then gives 99.999% which will be rounded to 100% unless you use more than two decimal digits in your grade. However there was a bug in the code which decided whether to print the "Partially correct" message or the "Correct" message. This is now fixed in Moodle 1.5.4 and 1.6. An answer with a grade that is less than 1 % away from the maximum grade will now get a feedback of "Correct".