Assess coding with Moodle’s CodeRunner question type
By Eliot Hoving, on 4 December 2024
UCL Moodle quizzes now support the CodeRunner question type.
CodeRunner questions allow students to submit code and for teachers to run a program in order to grade a student’s answer.
CodeRunner will be of most benefit to programming courses where students are asked to write program code to some specification and that code is then graded by running it in a series of tests. CodeRunner questions are also relevant for areas of computer science and engineering to grade questions in which a program must be used to assess correctness.
UCL Moodle has support for the following common coding languages: Python, Java, C, SQL, PHP.
CodeRunner questions are an advanced question type. You should always run a practice assessment with students prior to any summative assessments to ensure your questions are working properly and that students are familiar with answering CodeRunner questions.
If you wish to run a summative assessment using Moodle Quiz. Please follow UCL guidance and notify Digital Education in advance to ensure any necessary checks can be completed.
To learn more, please see the CodeRunner documentation.