Note: You are currently viewing documentation for Moodle 3.8. Up-to-date documentation for the latest stable version of Moodle may be available here: qbehaviour interactiveexplain.

qbehaviour interactiveexplain

From MoodleDocs

Interactive with explanation question behaviour

The code can be found at

This Moodle question behaviour is based heavily on Tim Hunts deferred feedback with explanation question behaviour.

It requires that this plugin is also installed

This behaviour is like the interactive with multiple attempts behaviour, but with an additional text box where students can give a reason why they gave the answer they did. No attempt is made to automatically grade the explanation, nor is it required. However, it may be used in various ways, for example

The teacher may want to manually edit the grades where the student gave a wrong answer, to give partial credit if the student used the right method or approach. The student might want to explain their thinking, so that later, when the results and feedback are revealed, they are reminded of what they were thinking at the time, and so can reflect more deeply. Note: 3rd party question behaviours do not work with the mobile app and there is no API at the moment to allow for that.


This plugin has a requirement that a companion local plugin local_qbconfig is installed to configure strings and behaviour. This can be accessed at yourmoodle/admin/settings.php?section=local_qbconfig