Joomla 6.2.2 Security Update: Why You Should Turn On Automated Updates PHP 8.6 Is Out: New Features With Examples, and When Joomla Will Use Them Next File Manager 6.1.0: share links, Trash, a phone app and a Health check Next Exams 6.3.0: exam parts, scaled scores, listening and speaking tests Next Restaurant 6.1.0: move your data in, run payroll, and connect other systems
NextSoftware

Moodle (XML)

Bring a Moodle question bank into Next Exams with its categories, answer feedback and maths. Moodle XML is the best route out of Moodle: it carries more than GIFT and Aiken, and Moodle writes it for a whole category tree at once.

For how the preview, duplicates, quizzes and subjects work, see Import and Export.


Export from Moodle

  1. In your Moodle course, open Question bank → Export.
  2. Choose Moodle XML format.
  3. Pick the category to export. Its sub-categories come with it.
  4. Leave Write category to file ticked, so each question keeps its category. Next Exams reads it to make quizzes or subjects.
  5. Press Export questions to file and save the .xml file.

Import into Next Exams

  1. Open Configuration → Import and choose the .xml file. The format is detected as Moodle XML.
  2. To file the questions under subjects that follow your Moodle categories, tick Create subjects from categories.
  3. Press Next. The preview lists each question with its type and category, and names any question it cannot import.
  4. To also get one quiz per category, tick Create a quiz for each category, then press Import.

The import preview of a Moodle XML file: five new questions in the category Biology › Cells, of type multiple choice, true/false, short answer (twice) and essay, and a warning that the matching question "Match the organelles" was skipped


What comes across

Moodle question type Becomes
Multiple choice, one answer Multiple choice (single answer)
Multiple choice, several answers Multiple choice (multiple answers)
True/False True / false
Short answer Short answer, with every answer that has a positive grade accepted
Numerical Short answer, numeric, with the answer's tolerance
Essay Essay, marked by hand

With each question come:

  • its name (the question's title) and question text, with its formatting;
  • its default mark (the question's points);
  • its general feedback (the explanation shown on the result page);
  • the feedback of each answer, shown when a learner chooses it;
  • its category, for quizzes and subjects;
  • maths: \( … \), \[ … \] and $$ … $$ are kept and typeset with KaTeX, a < or > inside a formula included. See Mathematics (LaTeX).

What does not come across

  • Other question types (matching, embedded answers (cloze), calculated, drag and drop, select missing words, and so on) are skipped. The preview names each one: Unsupported Moodle type "matching" (Match the organelles) — skipped. Description items are left out without a warning.
  • Pictures inside the file are not imported. A question whose text shows an image from Moodle keeps a link that no longer works: upload the picture to the Next Exams media library and insert it again in the question editor.
  • Answer weights. Every answer with a positive grade counts as a correct answer. Scoring follows the question's own partial-credit setting in Next Exams, not Moodle's percentages.
  • Short-answer case sensitivity is not read: imported short answers ignore letter case, the Next Exams default. Change it in the question editor where case matters.

Good to know

  • Importing the same file twice adds nothing: questions already in the bank are duplicates and are skipped (see Duplicates).
  • A bank imported earlier without subjects can be sorted into subjects afterwards: import the same file again with Create subjects from categories ticked. The duplicates are filed under their categories.
  • A category name with a slash in it, which Moodle writes as // (Speed//time), stays one name.
  • Moodle's $course$/top/ and other context prefixes are left out of the category path.

Export to Moodle

Next Exams writes Moodle XML too: Configuration → Export, format Moodle XML. Multiple choice, true/false, short answer and essay go across. A speaking question goes as an essay. Other types are left out, and a comment at the end of the file says how many. In Moodle, use Question bank → Import → Moodle XML format.


See also

All Extensions