Algorithm Question Type

A quiz question in which the student draws an algorithm as a flowchart and can run it before submitting. With tests, the answer is graded automatically.

Moodle Plugin CI Moodle 4.5 to 5.3 License GPL v3

Live demo: try the plugin on algorithm.tsp.edu.rs. Log in as a guest, or use the demo accounts teacher and student (password Demo-2026). Everything is reset every night.


What's New in v2.27.0


Core features


The algorithm plugins


Requirements


Privacy

The student's answer is stored by the Moodle question engine like any other answer; the diagram runs in the browser and, for automatic grading, on your Moodle server. Only with the AI hints option, turned on by the administrator, the algorithm and the error or the failed test are sent to the AI provider of the site through the AI subsystem of Moodle. Test inputs and options are stored with the question. The plugin implements the Moodle Privacy API.


Developed by Boban Blagojević. Languages: English, Serbian, German, French, Spanish, Italian, Portuguese, Polish, Croatian, Bosnian, Slovenian, Macedonian, Slovak and Czech.
Source, documentation and issue tracker: github.com/blagojevicboban/moodle-qtype_algorithm
Licensed under the GNU GPL v3 or later.