Difference between revisions of "Export questions"

Jump to: navigation, search
(Example uses of exported files)
 
(20 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 +
{{Managing questions}}
 
Questions may be exported from the [[Quiz module]] and the [[Question bank]] in any one of 4 formats:  
 
Questions may be exported from the [[Quiz module]] and the [[Question bank]] in any one of 4 formats:  
  
 +
* [[Aiken format]]
 
* [[GIFT format]]
 
* [[GIFT format]]
 
* [[Moodle XML format]]
 
* [[Moodle XML format]]
* [[IMS QTI 2.0 format]]
 
 
* [[XHTML format]]  
 
* [[XHTML format]]  
 +
 +
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==
 
==Process==
*Select the export tab.   
+
*Click  ''Administration>Quiz Administration>Question bank>Export.''  
[[Image:Question bank export.png|thumb|center|Export tab in Question bank]]
+
 
*Select the file type for the exported file.
+
[[File:exportquestions.png]]
*Use the pulldown menu to select the question category
+
 
*Check if you want the category name to exported and/or the context (Course is a context).  
+
 
 +
*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
 
*Click on the export questions to file button
*An HTML popup window will show you the questions which have been exported.
+
*You are invited to download the file to your computer.
[[Image:Question bank Exported questions.png|thumb|center|Exported questions screen]]
 
 
 
*The file has been saved in your course files (course admin block), backup>quiz.
 
  
 
==Example uses of exported files==
 
==Example uses of exported files==
Line 22: Line 28:
 
*Exported question files on one server, can be imported into another Moodle site/server
 
*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.
 
*GIFT and Moodle XML formats can be tweaked to create word processing or spreadsheet documents suitable for paper tests or vetting.
*In case you want to convert your Moodle XML file into text format  upload XML to [http://moodle.heroku.com http://moodle.heroku.com]. It automatically generates *.txt with your questions
 
  
 
==See also==
 
==See also==
 +
*[https://moodle.org/plugins/qformat_wordtable Microsoft Word File Import/Export (Question Format)] additional plugin to export questions (including images) in a question bank into a Word file, and also import questions from structured tables in a Word (.docx format) file.
 +
*[https://github.com/chaksridhar/MoodleXlator Moodle XML Translator ] Python based Proprietary text to Moodle XML  xlator
 
*[http://www.moodle2word.net Website for converting Moodle Questions into tables in a Microsoft Word file, and vice versa].
 
*[http://www.moodle2word.net Website for converting Moodle Questions into tables in a Microsoft Word file, and vice versa].
 
+
*[http://www.learningseekers.com/products MoXMLE a Java based application] Converts a simple TXT file into Moodle XML format.
[[Category:Questions]]
 
  
 
[[de:Fragen exportieren]]
 
[[de:Fragen exportieren]]
 +
[[es:Exportar preguntas]]
 
[[eu:Galderak_esportatu]]
 
[[eu:Galderak_esportatu]]
 
[[fr:Exporter des questions]]
 
[[fr:Exporter des questions]]
 
[[ja:問題のエクスポート]]
 
[[ja:問題のエクスポート]]

Latest revision as of 06:18, 7 May 2019

Questions may be exported from the Quiz module and the Question bank in any one of 4 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