multichoice: 3x33=99 and not 100 %

multichoice: 3x33=99 and not 100 %

by Ralf Hilgenstock -
Number of replies: 3
Picture of Core developers Picture of Particularly helpful Moodlers Picture of 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
Average of ratings: -
In reply to Ralf Hilgenstock

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

by Anthony Borrow -
Picture of Core developers Picture of Plugin developers Picture of 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 Anthony Borrow

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

by . madea -

Good work-around, Anthony... I plan on keeping that in mind in the future...

madea
madea@mmsi.com

In reply to Ralf Hilgenstock

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

by 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".