Skip to main content Skip to navigation

STACK and CodeRunner

STACK and CodeRunner are specialist question types available to use within the Moodle quiz activity. However, please note that the Digital Learning team cannot provide detailed guidance on the use of STACK or CodeRunner.

CodeRunner

CodeRunner is a Moodle quiz 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 and that 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 be used to assess correctness.

CodeRunnner quizzes are normally run in adaptive mode, allowing students to paste in their code in answer to each programming question and get to see their test-case results immediately. They can then correct their code and resubmit, typically for a small penalty.

CodeRunner is available on Warwick's main Moodle site as a quiz question type.

STACK

The STACK (System for Teaching and Assessment using a Computer algebra Kernel) system is a computer-aided assessment package for mathematics that provides a question type for the Moodle quiz. STACK concentrates on student-provided answers which are mathematical expressions.

STACK calculations occur within Moodle.

Because STACK can increase the demand on Moodle's resources, these specialist question types are hosted on a separate Moodle installation —StackEd by Edinburgh University.


How to create a link to StackEd

Here's how to create a seamless link between Warwick's Moodle and StackEd where you can host your STACK quizzes.

  1. Go to the Moodle space for the module you want to create STACK quizzes for.
  2. Enable Edit mode .

  3. Click Add an activity or resource where you want to add the link.
  4. Click StackEd from the list of activities.
  5. Give the activity a name. This will be the name of the link that the students see in the Moodle space.
  6. If you want the quiz grades to be saved into the Moodle grade book, click the Grade section and enable the Allow StackEd to add grades in the grade book option.

  7. Click the Save and return to course button at the bottom of the page.
  8. Locate the newly created link on your course page and click it. This will take you to the corresponding course on the StackEd site.
  9. Go to the Settings tab and add the academic year e.g. (24/25) to the course name and title and save. This will help you distinguish it from previous and/or future course spaces for the same module.
  10. You can now create your quizzes using STACK questions in your StackEd space.
  11. You can follow the Import (copy) content from one Moodle space to anotherLink opens in a new window guide to reuse quizzes from other StackEd courses (which is where step 9 will become helpful).

How will students access STACK quizzes?

Students will access the quizzes via the link to StackEd that you created. They must access it this way and will not be able to log in directly to the StackEd site.

Where to get help with STACK and/or CodeRunner

Digital Learning does not provide support in the use of STACK or CodeRunner and cannot advise or diagnose issues with question content or behaviour. The links below are to documentation provided by the developers of the respective plugins.

If either of the question types is not working as expected after following the guidance above, or if there is an issue with the Moodle platform itself, please email the Help Desk via helpdesk@warwick.ac.uk.

The information on this page relates to Moodle and was last updated December 2024.