CodeRunner icon

CodeRunner

Maintained by Tim Hunt, Richard Lobb
A question type that allows question authors to set programming questions in which the student answer is code in some programming language, which is graded by running it. More generally it can handle any question to which the answer is text that can be graded by a computer program written by the question author.
Price option: Free

Supports Moodle 2.9-5.2 See all versions
Latest release: 1 month ago
Installations: 4170
Downloads (last 90 days): 1317

Frankenstyle name: qtype_coderunner
Question types

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

OK Etienne. Just added v3.6.1.
Hi Richard, Tim,
will you propose an update soon for Moodle 3.7 ?
Regards
Étienne
The best place to get help with CodeRunner is in the forums at https://coderunner.org.nz/mod/forum/view.php?id=51.
Hi everyone,
I'm a teacher in Belgium. I'm using coderunner in one of my courses during a part of the year for a few students.
I can't afford a dedicated server on wich install a Jobe server. Does anyone know if there is a solution like a free Jobe server?
Any help would be apreciated.
Thanks for reporting this Oleg and my apologies for the inconvenience. I have removed Moodle 3.0 through 3.3 from the compatibility list as you suggest. It's a shame that just one line of code has made the latest version incompatible with the earlier versions.
There is versions incompatibility in new 3.6.0 release. Form method "hideIf", used in edit_coderunner_form.php, available only since Moodle 3.4, but compatible Moodle versions specified in release information is 3.0 and higher. Please, correct the release information.
Thank you for your replay. I like code runner very muchsmile Great job! We work with python and now we want to extend for js.
Hi Ania.
Select *nodejs* as the CodeRunner question type (nodejs is the package used to run JavaScript on the server). If you want more details, please ask in the Question Authors' Forum on coderunner.org.nz.
Richard
And what about a Javascript question. How can we add it?
Thank you Richard!
In reply to Diego's question "I'd like to know if can also be used to teach HTML and CSS.", the short answer is "It depends". There are no built-in question types for HTML and CSS. But CodeRunner can be used to grade any textual question provided you can write the code to grade it yourself. So, for example, you could ask the student to write some HTML with a level 1 header containing the "My Header" followed by three bullet points "Bullet1", "Bullet2", "Bullet3". You could write a Python template (or use whatever other language you like) to parse the submitted answer and print OK if the parsed document contained the required elements, or a suitable error message otherwise.
Some years ago, when teaching a web programming course, I got students to implement a web site (with database, form submission etc) and paste into the answer box the URL of their site. I then graded it by making a series of GETs and POSTs to it to see how it behaved. But it's a lot of work to write a grader for a question like that and you need a large class to justify the effort. [And as an aside, you also need to poke a hole or holes in the Jobe firewall to let the grader access their sites, which, to minimise the number of holes, should be on a server provided by the institution.]
It always comes down to:
1. What question do you want to ask?
2. What answers are you prepared to accept?
3. What feedback do you wish to present to the student?
4. Can you bothered writing the program to check the answer?
Richard
Hi! Good job, looks really interesting. I'd like to know if can also be used to teach HTML and CSS. Thanks!
Approval issue created: CONTRIB-6701