CodeRunner is a Moodle question type that allows teachers to run a program in order to grade a student's answer. By far the most common use of CodeRunner is in programming courses where students are asked to write program code to some specification andthat code is then graded by running it in a series of tests. CodeRunner questions have also been used in other areas of computer science and engineering to grade questions in which many different correct answers are possible and a program must beused to assess correctness.Regardless of the behaviour chosen for a quiz, CodeRunner questions always run in an adaptive mode, in which students can click a Check button to see if their code passes the tests defined in the question. If not, students canresubmit, typically for a small penalty.
![]()
CodeRunner is the easiest way to write code on your Mac. You can run code in almost any language instantly, and you’ll be surprised by the powerful set of features in such a lightweight and easy-to-use editor. CodeRunner can run code in 23 languages out-of-the-box, and can be easily extended to support any other language. Adding a language is as easy as entering its terminal command. Debugging with Breakpoints It’s easy to get frustrated when your code is not working right. New in CodeRunner 2.2, you can set breakpoints and step through code line.
![]()
In the typical 'all-or-nothing' mode, all test cases must pass if the submission is to be awarded any marks. The mark for a set of questions in a quiz is then determined primarily by which questions the studentis able to solve successfully and then secondarily by how many submissions the student makes on each question. However, it is also possible to configure CodeRunner questions so that the mark is determined by how many of the tests the code successfullypasses.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. Laboratory work, assignment work and mid-semester tests in the introductoryfirst year Python programming course (COSC121), which has around 650 students in the first semester and 350 in the second, are all assessed using CodeRunner questions. The final exams for COSC121 have also been run using Moodle/CodeRunner since November2014.
Other courses at the University of Canterbury using CodeRunner include:. ENCE260 Computer Systems. ENCN305 Programming, Statistics and Optimisation.
EMTH171 Mathematical Modelling and Computation. SENG02 Software Engineering I. COSC261 Formal Languages and Compilers. COSC 262 Algorithms. COSC367 Computational Intelligence. ENCE360 Operating Systems.
SENG365 Web Computing ArchitecturesCodeRunner is also being used at over 600 other sites worldwide.CodeRunner currently supports Python2 (considered obsolescent), Python3, C, C, Java, PHP, JavaScript (NodeJS), Octave and Matlab. The architecture allows easy extension to other languages.CodeRunner can safely be used on an institutional Moodle server, provided that the sandbox software in which code is run ('Jobe') is installed on a separate machine with adequate security and firewalling. However, if CodeRunner-based quizzes are tobe used for tests and final exams, a separate Moodle server is recommended, both for load reasons and so that various Moodle communication facilities, like chat and messaging, can be turned off without impacting other classes.The CodeRunner question type can be installed on any modern Moodle system (version 3.0 or later), on Linux, Windows and Mac. For security reasons submitted jobs are run on a separate machine called the 'Jobe server' or 'Jobe sandbox machine'. CodeRunneris intitially configured to use a small outward-facing Jobe server at the University of Canterbury, and this can be used for initial testing. However, this is not suitable for production use, for which institutions will need to install theirown Jobe server. Instructions for installing a Jobe server are given in.
Once Jobe is installed, use the Moodleadministrator interface for the CodeRunner plug-in to specify the Jobe host name and perhaps port number.A single 4-core Moodle server can handle an average quiz question submission rate of about 60 quiz questions per minute while maintaining a response time of less than about 3 - 4 seconds, assuming the student code itself runs in a fraction of a second.We have run CodeRunner-based exams with nearly 300 students and experienced only light to moderate load factors on an 8-core Moodle server. The Jobe server, which runs student submissions (see below), is even more lightly loaded during such anexam.The full documentation for CodeRunner, together with forums, questions banks and other resources, is at.
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.
These settings can be found at the bottom of any theme’s settings list in CodeRunner preferences. Improved Objective-C code completion. Free Download Free 7-day trial. Don’t replace your App Store copy of CodeRunner until after you’ve generated your license key. Fixed an issue preventing the jQuery library from loading in some situations. It is also a fine editor for HTML and Markdown, as it renders it in the output window when you press run. It is intended primarily for use in computer programming courses although it can be used to grade any question for which the answer is text.
Uploader:Date Added:28 November 2004File Size:10.76 MbOperating Systems:Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/XDownloads:88026Price:Free.Free Regsitration RequiredNew codderunner features include display of coderunner characters, scrolling past the end of the document, current line highlight, page guide, customizable line spacing, coderunner completion improvements, and improved multiple selection support.Good job, looks really interesting. What feedback do you wish to present to the student?You can now use the popular TextMate theme coderunner in CodeRunner 2. When running your PHP files, the output can now be quickly toggled between terminal and web mode.Expanded support coderunner character encodings, and improved automatic detection of encoding when opening documents. Granted, this is not an application for full scale projects. I bought in at coderunner coderunner, and that fact that every update has been free to me is wonderful. Debugging code in any language has never coderunnef so codernner and easy. Customizing syntax colors is now easier with the new scope viewer in the editor.
Developer Website App Support. You can even add your own documentation lookup sources.
For a full list of supported languages and features, please visit coderunnerapp.Welcome to Moodle CodeRunner CodeRunner coderunner a free open-source question-type plug-in coderunner Moodle that can run program code submitted by students in answer to a wide range of programming questions in many different languages.Coderunner set a breakpoint, simply click a line in the text margin. Patterns – The Regex App. This makes it coderunner to share your custom languages with others, or download languages from the web. CodeRunner was built on the principle coderunner you need to be able to run your code instantly, in any language.
Explore the call stack, view and edit variables, and interact with the debugger. You could write a Python template cocerunner use whatever other language you like to parse the submitted answer and print OK coderjnner the parsed document contained the required elements, or a suitable error message otherwise.CodeRunner coderunher is a complete overhaul of the original app, and introduces major new features and improvements across the board. CodeRunnerRearranging tabs using drag-and-drop, and dragging tabs between windows, is now fully supported. It even supports live preview of your document while it’s being edited. Free Download Free 7-day trial.coderunnerTo set a breakpoint, simply click a line in the text margin.
The console now supports certain ANSI escape sequences that modify text colors and attributes. By continuing to use this site, you agree to our cookie policy.But it’s a lot of work to write a grader for a question like that and coderunner need a large class to justify the coderunner. Open the Mac App Store to buy and download apps. IDE-level code completion for Go.Terms of Use Privacy Policy. CodeRunner free download for Mac MacUpdateImproved debugging behavior and bugfixes related to debugging. Get CodeRunner on Setapp.
If you want more details, please ask coderunner the Question Authors’ Forum on coderunner. But, you wouldn’t use a steak knife to cut down a tree would you? That plugin has been submitted coderunner.
![]() Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |