Skip to content

Gapfill 1.5 Release Notes

marcusgreen edited this page Sep 15, 2014 · 5 revisions

Version 1.5 of the Gapfill question type has two significant new feature, the double knot or !! and the fixedgapsize. The use of !! indicates that a gap can be left empty and considered a correct response.

This is of particular use with the | or operator where one or more answers or a blank will be considered correct e.g. [cat|dog|!!].

This is illustrated in a new sample question in the sample_questions.xml files shipped with this question type called "Correct_empty_gaps with !!" As part of this change the calculation of maximum score per question instance has been modified, so a question with "The [cat] sat on the [!!]" will be worth two marks in total one for entering cat and one for leaving the second gap blank. This is necessary to ensure that if a value is put in the [!!] space a mark will be lost.

The Fixed Gap Size option is implemented as a checkbox within More Options in the question editing form. When this is checked all gaps will be set to the size of the largest gap.

The upgrade.php file to use XMLDB to fix issues with databases other than MySQL. The characters that delimit gaps can now be configured from within the web interface. Once logged in as admin go to http://yourmoodle.org/admin/settings.php?section=qtypesettinggapfill