Agentic Coding · Workshop · Exercises & materials

Generating Moodle Quiz Questions Automatically: A Workshop on Importing with Coding Agents

Create maths questions for Moodle and similar platforms by script, with formulas, random values and feedback, and skip hours of clicking in the editor.

  • Workshops & trainings since 2014
  • jocapps GmbH · Freiburg, Germany
  • The team behind Mathe-VollLogo
Format
Workshop
Duration
Half day (3.5 hours)
Delivery
Live online · On-site (in-house) · Hybrid
Group size
6–16 participants
Level
Beginner
Language
German or English

Tools: ChatGPT Codex · Python · Moodle XML · GIFT · H5P

Setting up a bank of fifty maths questions in the Moodle editor takes hours: entering formulas, setting answers, adding feedback. Moodle can import questions from files, though, for example in GIFT format or as Moodle XML. If you want to generate Moodle quiz questions automatically, you have a coding agent such as OpenAI Codex write a small script that turns exercises from a spreadsheet or generator into the import format. In the workshop you build this script, import a first question bank into a test course and check formulas and scoring.

Who the Moodle import workshop is for

Teachers, university lecturers and departments who use Moodle or a comparable learning platform and no longer want to enter question banks by hand.

What you'll walk away with

  • Understand the basics of the GIFT and Moodle XML import formats
  • Build a script with a coding agent that converts a spreadsheet of exercises into an import format
  • Encode formulas, numerical tolerances and feedback correctly
  • Test imports in a test environment before they reach a live course
  • Transfer the approach to other platforms and formats such as H5P

Typical scenarios

  1. A department builds a question bank on index laws that all classes use and extends it by script every term.
  2. A lecturer imports weekly calculus self-tests with numerical answers and suitable tolerances.
  3. A teacher moves exercises from a spreadsheet, including feedback on common errors, into a Moodle quiz.

Does this fit your team?

Pick a few dates that suit you. The request is non-binding, and the agenda is tailored in a short call beforehand.

Request dates

What the Moodle import workshop covers

  1. Getting to know import formatsGIFT and Moodle XML by example: question types, answers, feedback and formulas.
  2. A spreadsheet as the sourceA simple table of exercises, answers and feedback as the basis for import.
  3. Scripting with the agentThe coding agent writes the conversion script; you test it with edge cases.
  4. Import and checkA test import into a practice course, checking formula display and scoring.
  5. Going furtherRandom variants, connecting an exercise generator and other platforms.

Before the Moodle import workshop: prerequisites

  • Access to a Moodle test site or a test course with import rights
  • A laptop with Python; no programming knowledge needed

Materials you keep

  • A conversion script from spreadsheet to GIFT or Moodle XML
  • A spreadsheet template for exercises, answers and feedback
  • A checklist for imports with formulas

How it works

  1. Request with preferred datesTick the date proposals that suit you or name a period of your own.
  2. Short callWe talk about your goals, prior knowledge and the tools your team already uses.
  3. Agenda for your teamYou receive a plan tailored to your group, with exercises that match your subject and material.
  4. Course and materialsThe course runs online, on-site or hybrid, and you keep the materials afterwards.

Why train with us

  • jocapps GmbH has offered workshops and trainings since 2014. The topics have moved with the technology; today the focus is on agentic coding and prompt engineering.
  • Hands-on rather than slides: you practise on realistic examples from maths and STEM, or on your own tasks, code or prompts if you wish.
  • Online, on-site or hybrid, held in German or English.
  • jocapps GmbH is certified to ISO 27001 (information security) and ISO 9001 (quality management).

Questions about the Moodle import workshop

Will this work with our Moodle site?

The import formats are part of standard Moodle. Whether you may import questions depends on your rights in the course. We recommend starting in a test course.

Can we create STACK questions too?

STACK is a Moodle question type with computer algebra for mathematical answers. It is more powerful but also more involved. We can make it a focus in the preliminary call if it is installed on your site.

What about other platforms?

Many platforms have their own import formats. The principle stays the same: maintain data in a table, convert by script, check in a test system.

Is the workshop held online or on-site, and in which language?

Both are possible: live online, at your premises (in-house) or hybrid. The course is held in German or English; you choose when you send the request.

Can the content be tailored to our team?

Yes. The agenda, examples and emphasis are agreed in the call beforehand, based on your team's prior knowledge, subjects and tools. On request we work with your own exercises, data or code.