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.2.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; nothing is sent to external services. Test inputs and options are stored with the question. The plugin implements the Moodle Privacy API.


Developed by Boban Blagojević. Languages: English and Serbian (Latin and Cyrillic).
Source, documentation and issue tracker: github.com/blagojevicboban/moodle-qtype_algorithm
Licensed under the GNU GPL v3 or later.