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
Сярэдняе рэйтынгаў: -
У адказ на 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 }

У адказ на 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".