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