Moodle 3.x Developer's Guide
上QQ阅读APP看书,第一时间看更新

Quiz plugins

A Moodle quiz activity comes with a set of standard question types (see https://docs.moodle.org/31/en/Question_types for details). These question types are themselves plugins, and if our ID identifies a need for a different type of quiz question behavior, then there is the opportunity for this to be developed.

The code for the question plugins is found in the question/type folder:

Again, it is worth taking a look at the Moodle plugins directory for third-party quiz question types at https://moodle.org/plugins/browse.php?list=category&id=29.