Export questions

Jump to: navigation, search

Note: You are currently viewing documentation for Moodle 3.2. Up-to-date documentation for the latest stable version of Moodle is probably available here: Export questions.

Questions may be exported from the Quiz module and the Question bank in any one of 3 formats:

Questions may be exported into Word format using a contributed plugin, Word table format. These can then be easily used to support offline review and editing of all components of a set of questions, or to create paper tests. Questions may also be exported into an alternative HTML tabular format using another contributed plugin, HTML table format. This format displays all components of a question, for easier offline review.

Note: Images are only included if you export the questions using Moodle XML format.

Note: If you export questions from a Moodle 1.9 server, the exported file might contain only the relative URL to the image hosted in the 1.9 server, while exported questions from Moodle 2.x and 3.x severs might contain the actual image encoded in base 64. This explains why some question bank import-export operations include all the images and some others don't.


Process

  • Click Administration>Quiz Administration>Question bank>Export.

exportquestions.png


  • Select the output type required for the exported file.
  • Use the pulldown menu to select the question category you want to export
  • Check if you want the category name to exported and/or the context to be included. This only applies to some formats and is used to restore this information on import.
  • Click on the export questions to file button
  • You are invited to download the file to your computer.

Example uses of exported files

  • GIFT and Moodle XML formats can be imported into the Lesson module And Question bank via an import question process.
  • Exported question files on one server, can be imported into another Moodle site/server
  • GIFT and Moodle XML formats can be tweaked to create word processing or spreadsheet documents suitable for paper tests or vetting.

See also