Coronavirus (Covid-19): Latest updates and information
Skip to main content Skip to navigation

STACK and CodeRunner on MoodleX

This guide describes the STACK and CodeRunner plugins and the MoodleX innovative teaching platform.

Please note that Academic Technology and IT Services cannot provide guidance on the use of STACK or CodeRunner.

What is STACK?

The STACK system is a computer-aided assessment package for mathematics, which provides a question type for the Moodle quiz. STACK concentrates on student-provided answers which are mathematical expressions.

STACK calculations occur on the MoodleX platform itself.

Example of a STACK question type in Moodle Quiz

What is 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.

Example of an answered Coderunner question in the Python3 programming language

What is MoodleX?

Because STACK and CodeRunner can increase the demand on Moodle's resources, these specialist question types are hosted on a separate installation of Moodle - MoodleX.

MoodleX will run the programming code or evaluate the expression itself in a sandbox, compare the output to the correct answer, and mark the question accordingly.

MoodleX is not to be used instead of Warwick's main Moodle site. Instead it is intended to compliment it. Students will access their course materials as usual on main Moodle but their spaces may contain links to quizzes in MoodleX. Many students may be unaware that they have been re-directed.

  • There is no data integration between SITS and MoodleX. All spaces are created manually and enrolments are either manual or auto-enrolment.
  • Spaces in MoodleX are not included in the Academic Year Rollover process.

How to get access to MoodleX

You can log in to MoodleX at https://moodlex.warwick.ac.uk.

How to request a MoodleX space

To request a space in MoodleX in which to create STACK and/or Coderunner quizzes, email moodle@warwick.ac.uk with 'MoodleX' in the subject line, stating the module code and name for which you would like a space.

How to get help with STACK and/or CodeRunner

ITS do 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 are not working as expected after following the guidance above, or if there is an issue with the MoodleX platform itself, please email the Help Desk via moodle@warwick.ac.uk.

How to provide students access to a quiz in MoodleX

  1. Enable auto-enrolment in your MoodleX space.
  2. Copy the URL of the MoodleX space or quiz that you want to share with your students.
  3. Add a URL resource using the link from step 2 into the main Moodle module space.

How to import quiz grades from MoodleX to Moodle

Although the quizzes are administered in a separate Moodle site, you may want to keep a record of students' results in your main Moodle module space. The quiz grades can be exported from MoodleX and imported into Moodle.

Step 1: Export grades from MoodleX

  1. Go to moodlex.warwick.ac.uk.
  2. Navigate to the MoodleX space.
  3. Click on Grades in the Navigation Drawer menu.
  4. Click Export from the top row of tabs, and Excel spreadsheet from the second row of tabs.
  5. Ensure the Gradebook items you would like to export are ticked. Untick any you do not want to export.
  6. No changes are required under Export format options but can be changed according to your preference.
  7. The file will be downloaded as a Microsoft Excel Worksheet (.xlsx).
  8. Open the file in Excel and save it as .csv format.


Step 2: Import grades to Moodle

  1. Go to moodle.warwick.ac.uk .
  2. Navigate to the Moodle space.
  3. Click on Grades in the Navigation Drawer menu.
  4. Click on the Import tab.
  5. Attach the .csv file containing the grades.
  6. Keep all the default settings/fields below.
  7. Click Upload grades.
  8. Under Identify user by:
    • For Map from, select Email address.
    • For Map to, select Email address.
  9. Under Grade item mappings, ignore the first few dropdown menus which contain the users' profile fields. For each quiz dropdown list, select the name of the existing grade item (column) where the grades should be uploaded, or choose New grade item to add one.
  10. Click Upload grades.
  11. Check that all grades have been imported correctly.
If the following message displays "This import included the following grades for users not currently enrolled in this course: ..." it is likely that there are users who accessed and received grades in the MoodleX space but who are not enrolled in the Moodle space.
The information on this page relates to Moodle and was last updated August 2020.

Contents

Filter by tool, task or content