Copying Quizzes from one Shell to Another

Summary

This article explains how to export a Moodle question bank as a .xml file to share with another instructor or to import it into another shell.

Body

When you copy a quiz from one course shell to another, Moodle also copies the entire question bank associated with that course. This often results in large, cluttered question banks with duplicate or irrelevant questions, making it harder to manage content and potentially slowing down your course. Instead of copying the quiz activity, we recommend exporting only the relevant question bank category from the original course, importing it into the new course, and then recreating the quiz using those questions.

Step 1: Exporting the Question Bank (.xml Format)

  1. In the Administration menu of the source course (the course we the quiz you want to copy) select Question banks.Uploaded Image (Thumbnail)
  2. Click the share question bank link.
  3. Uploaded Image (Thumbnail)Select Export from the drop down menu.
  4. Uploaded Image (Thumbnail)Choose the Moodle XML format
  5. Uploaded Image (Thumbnail)
  6. Under Export category, select the category of questions you want to share and uncheck write context to file. Uploaded Image (Thumbnail)
  7. Click Export questions to file.
  8. Save the .xml file that downloads to your computer.
  9. Share the file with your colleague (e.g., via email or OneDrive).

Step 2: Importing the Question Bank into Another Course

  1. In the Administration menu of the destination course select Question banksUploaded Image (Thumbnail)
  2. Click the share question bank link.
  3. Uploaded Image (Thumbnail)Select Import from the drop down menu.
  4. Uploaded Image (Thumbnail)Choose Moodle XML format
  5. Uploaded Image (Thumbnail)
  6. Click Choose a file, then upload the .xml file that was shared.
  7. Click Import.
  8. Moodle will confirm the questions were successfully added to the question bank.

Step 3: Recreate the Quiz Using Imported Questions

Watch the video below to learn how to create a quiz in Moodle:

Details

Details

Article ID: 12262
Created
Thu 4/10/25 1:02 PM
Modified
Thu 4/30/26 11:52 AM