Site icon LMS Daily

Moodle Teachers – Use CodeRunner plugin to set programming questions in Moodle Quiz

Moodle Teachers – Use CodeRunner plugin to set programming questions in Moodle Quiz

Moodle Teachers - Use CodeRunner plugin to set programming questions in Moodle Quiz

Moodle Quiz is one of the most flexible and most customizable quiz engine. It allows you to customize the Online Quiz for your learners based on your requirements with plethora of customization possibilities. In this post, we will see how you can set programming questions in Moodle quiz.

The CodeRunner Question type plugin allows you to add programming questions in your Moodle Quiz. The plugins allows you to create questions in which the student answer is code in some programming language, which is graded by running it.

CodeRunner has been in use at the University of Canterbury for over seven years, running millions of student quiz question submissions in Python, C , JavaScript, PHP, Octave and Matlab. CodeRunner currently supports Python2 (considered obsolescent), Python3, C, C++, Java, PHP, JavaScript (NodeJS), Octave and Matlab. The architecture allows easy extension to other languages.

You can download the CodeRunner Moodle plugin from the official plugins repository here. To install & run it properly, you need to have a separate Jobe installation (read here for more detailed instructions).

The plugin can help you create exams in different programming languages and evaluate the student’s answer easily. CodeRunner support a wide variety of question types and can easily be extended to support others. A CodeRunner question type is defined by a question prototype, which specifies run time parameters like the execution language and sandbox and also the template that define how a test program is built from the question’s test-cases plus the student’s submission.

What are the other useful Moodle plugins you are using to create programming quiz questions? Please share with us in the comments section below.

For regular updates about Moodle, eLearning and edtech industry, please visit us regularly at https://lmsdaily.com. You can also like us on Facebook or follow us on Twitter, or Subscribe our YouTube Channel.

FREE 2026 MOODLE GUIDE
Get More From Moodle
In Less Time
Download Start Teaching with Moodle in 15 Minutes, a practical 2026 guide to help you build, improve and manage a better Moodle learning experience.
Inside the guide:
Build your first Moodle course with confidence
Discover powerful Moodle features you may be missing
Improve the learner experience with simple quick wins
Avoid common Moodle administration mistakes
Understand how AI is becoming part of Moodle
Plan Moodle upgrades, security and maintenance properly
Where Should I Send Your Guide?
Enter your details below and we’ll send it straight to your inbox.
By downloading the guide, you'll also receive occasional practical Moodle LMS insights from LMSDaily.
You can unsubscribe at any time.

Thank You
Your Moodle Guide Is On Its Way!

We’ve sent a secure download link to your inbox.
It should arrive within a couple of minutes.

Exit mobile version