<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.moodle.org/28/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Scotru</id>
	<title>MoodleDocs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/28/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Scotru"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/Special:Contributions/Scotru"/>
	<updated>2026-05-25T22:00:19Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=GIFT_format&amp;diff=34063</id>
		<title>GIFT format</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=GIFT_format&amp;diff=34063"/>
		<updated>2008-03-27T09:22:10Z</updated>

		<summary type="html">&lt;p&gt;Scotru: /* See also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;With GIFT format you can write multiple-choice, true-false, short answer, matching and numerical questions in a text editor in a simple format. For large numbers of questions, GIFT is likely to provide the quickest way of bulk loading your questions.&lt;br /&gt;
[[Image:Gift.jpg|frame|left|screen shot from quiz help file documentation]]&amp;lt;br style=&amp;quot;clear:both;&amp;quot;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
At least one blank line must be left between each question.&lt;br /&gt;
&lt;br /&gt;
Here is an [http://moodle.org/file.php/5/moddata/forum/121/236161/GIFT-examples.zip GIFT example] for quiz-import, easy to copy and change ...&lt;br /&gt;
&lt;br /&gt;
The file &#039;&#039;&#039;must&#039;&#039;&#039; be correctly encoded in [[UTF8]]. Beware of some of Microsoft&#039;s &amp;quot;fake&amp;quot; Unicode implementation which is not compatible and may result in strange characters appearing in your quizzes. &lt;br /&gt;
&lt;br /&gt;
Here is a 2-column GIFT format reference sheet I created for a training:&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf GIFT Reference Sheet]&lt;br /&gt;
&lt;br /&gt;
===Hints and Tips===&lt;br /&gt;
&lt;br /&gt;
* Use the ::title:: at the beginning of every question to organize this for you (01 - testquestion), otherwise it would be difficult to find the right question for changes, moodle will take the beginning of every question as internal title.&lt;br /&gt;
* In the Lesson module, in a question page, correct answers jump by default to Next page and incorrect answers jump to This page (i.e. student has to &amp;quot;try again&amp;quot;). When importing from a GIFT format file, this is exactly the mechanism which is used.&lt;br /&gt;
* If you want a student to be taken directly from one question to the next irrespective of their answer being correct or incorrect: in the Lesson Settings, set Maximum number of attempts: to 1. Please note, however, that a message &amp;quot;correct / incorrect&amp;quot; will still be displayed to the student upon answering each question. If you do not want this (default) feedback message to be displayed then enter your own feedback message (i.e. &amp;quot;continue&amp;quot;, &amp;quot;---&amp;quot;, etc.) In case you want no visible message displayed then enter a non-breaking space as feedback, so you&#039;ll have to put a # after the answer which may be ~3 and &#039;&#039;&#039;write &amp;amp; n b s p ; after that.(without spaces between these characters)&#039;&#039;&#039;&lt;br /&gt;
* If you want to use curly braces, { or }, or equal sign, =, or # or ~ in a GIFT file (for example in a math question including TeX expressions) you must &amp;quot;escape&amp;quot; them by preceding them with a \ directly in front of each { or } or =. It is possible to use a replace program/macro/editor filter to do this conversion before importing to Moodle.&lt;br /&gt;
* There are Word macros available for easily creating GIFT files. See [http://www.soberit.hut.fi/sprg/resources/moodle/GiftConverter.html].&lt;br /&gt;
* Here&#039;s an Excel spreadsheet for generating multiple choice GIFT files [http://moodle.org/mod/forum/discuss.php?d=45245] and a newer version that supports other question formats (be sure to scroll down to the most recent version) [http://moodle.org/mod/forum/discuss.php?d=66660].&lt;br /&gt;
* Here&#039;s an Open Office template for generating GIFT files. [http://moodle.org/mod/forum/discuss.php?d=20705&amp;amp;parent=168385]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Export questions]]&lt;br /&gt;
*[[Import questions]]&lt;br /&gt;
*[[Aiken Format]]&lt;br /&gt;
*[[Moodle XML format]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Questions]]&lt;/div&gt;</summary>
		<author><name>Scotru</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=GIFT_format&amp;diff=34062</id>
		<title>GIFT format</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=GIFT_format&amp;diff=34062"/>
		<updated>2008-03-27T09:21:29Z</updated>

		<summary type="html">&lt;p&gt;Scotru: /* See also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;With GIFT format you can write multiple-choice, true-false, short answer, matching and numerical questions in a text editor in a simple format. For large numbers of questions, GIFT is likely to provide the quickest way of bulk loading your questions.&lt;br /&gt;
[[Image:Gift.jpg|frame|left|screen shot from quiz help file documentation]]&amp;lt;br style=&amp;quot;clear:both;&amp;quot;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
At least one blank line must be left between each question.&lt;br /&gt;
&lt;br /&gt;
Here is an [http://moodle.org/file.php/5/moddata/forum/121/236161/GIFT-examples.zip GIFT example] for quiz-import, easy to copy and change ...&lt;br /&gt;
&lt;br /&gt;
The file &#039;&#039;&#039;must&#039;&#039;&#039; be correctly encoded in [[UTF8]]. Beware of some of Microsoft&#039;s &amp;quot;fake&amp;quot; Unicode implementation which is not compatible and may result in strange characters appearing in your quizzes. &lt;br /&gt;
&lt;br /&gt;
Here is a 2-column GIFT format reference sheet I created for a training:&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf GIFT Reference Sheet]&lt;br /&gt;
&lt;br /&gt;
===Hints and Tips===&lt;br /&gt;
&lt;br /&gt;
* Use the ::title:: at the beginning of every question to organize this for you (01 - testquestion), otherwise it would be difficult to find the right question for changes, moodle will take the beginning of every question as internal title.&lt;br /&gt;
* In the Lesson module, in a question page, correct answers jump by default to Next page and incorrect answers jump to This page (i.e. student has to &amp;quot;try again&amp;quot;). When importing from a GIFT format file, this is exactly the mechanism which is used.&lt;br /&gt;
* If you want a student to be taken directly from one question to the next irrespective of their answer being correct or incorrect: in the Lesson Settings, set Maximum number of attempts: to 1. Please note, however, that a message &amp;quot;correct / incorrect&amp;quot; will still be displayed to the student upon answering each question. If you do not want this (default) feedback message to be displayed then enter your own feedback message (i.e. &amp;quot;continue&amp;quot;, &amp;quot;---&amp;quot;, etc.) In case you want no visible message displayed then enter a non-breaking space as feedback, so you&#039;ll have to put a # after the answer which may be ~3 and &#039;&#039;&#039;write &amp;amp; n b s p ; after that.(without spaces between these characters)&#039;&#039;&#039;&lt;br /&gt;
* If you want to use curly braces, { or }, or equal sign, =, or # or ~ in a GIFT file (for example in a math question including TeX expressions) you must &amp;quot;escape&amp;quot; them by preceding them with a \ directly in front of each { or } or =. It is possible to use a replace program/macro/editor filter to do this conversion before importing to Moodle.&lt;br /&gt;
* There are Word macros available for easily creating GIFT files. See [http://www.soberit.hut.fi/sprg/resources/moodle/GiftConverter.html].&lt;br /&gt;
* Here&#039;s an Excel spreadsheet for generating multiple choice GIFT files [http://moodle.org/mod/forum/discuss.php?d=45245] and a newer version that supports other question formats (be sure to scroll down to the most recent version) [http://moodle.org/mod/forum/discuss.php?d=66660].&lt;br /&gt;
* Here&#039;s an Open Office template for generating GIFT files. [http://moodle.org/mod/forum/discuss.php?d=20705&amp;amp;parent=168385]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Export questions]]&lt;br /&gt;
*[[Import questions]]&lt;br /&gt;
*[[Aiken format]]&lt;br /&gt;
*[[Moodle XML format]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Questions]]&lt;/div&gt;</summary>
		<author><name>Scotru</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=Moodle_XML_format&amp;diff=34061</id>
		<title>Moodle XML format</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=Moodle_XML_format&amp;diff=34061"/>
		<updated>2008-03-27T09:21:02Z</updated>

		<summary type="html">&lt;p&gt;Scotru: /* See also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==A word about validity==&lt;br /&gt;
&lt;br /&gt;
The XML parser assumes that the XML file is valid. If it is not you are very likely to get unexpected errors. If you are handcoding the XML file it is strongly recommended that you pass it through some sort of XML verifier before importing into Moodle. Note particularly that embedded HTML fragments should be within CDATA sections.&lt;br /&gt;
&lt;br /&gt;
==Overall structure of XML file==&lt;br /&gt;
&lt;br /&gt;
The file is enclosed by tags as follows.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=1.0?&amp;gt;&lt;br /&gt;
 &amp;lt;quiz&amp;gt;&lt;br /&gt;
 .&lt;br /&gt;
 .&lt;br /&gt;
 .&lt;br /&gt;
 &amp;lt;/quiz&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Within the &amp;lt;quiz&amp;gt; tags are any number of &amp;lt;question&amp;gt; tags. One of these &amp;lt;question&amp;gt; tags can be a dummy question with a &#039;&#039;category&#039;&#039; type to specify a category for the import/export. &lt;br /&gt;
&lt;br /&gt;
The file must be encoded in [[UTF8]]&lt;br /&gt;
&lt;br /&gt;
Moodle XML import and export are balanced in functionality, so if you need to understand the format you can simply create some questions and export them to see what it looks like.&lt;br /&gt;
&lt;br /&gt;
==Tags common to all question types==&lt;br /&gt;
&lt;br /&gt;
A question is written as follows.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;question type=&amp;quot;multichoice|truefalse|shortanswer|match|cloze|essay|numerical|description&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;questiontext format=&amp;quot;html&amp;quot;&amp;gt;&lt;br /&gt;
         &amp;lt;text&amp;gt;What is the answer to this question?&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;/questiontext&amp;gt;&lt;br /&gt;
     .&lt;br /&gt;
     .&lt;br /&gt;
     .&lt;br /&gt;
 &amp;lt;/question&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Format&amp;quot; selects the [[Formatting options]] for the question text. The options are &#039;&#039;&#039;moodle_auto_format&#039;&#039;&#039; (the default), &#039;&#039;&#039;html&#039;&#039;&#039;, &#039;&#039;&#039;plain_text&#039;&#039;&#039; and &#039;&#039;&#039;markdown&#039;&#039;&#039;. The choice effects the way in which the text will be displayed. &lt;br /&gt;
&lt;br /&gt;
Further tags, which usually include at least one &amp;lt;answer&amp;gt; tag, follow in the space marked with dots as child nodes to the &amp;lt;question&amp;gt; tag. The response-related tags are listed further down on this page. Various (optional?) tags are possible. &lt;br /&gt;
&lt;br /&gt;
* penalty&lt;br /&gt;
* generalfeedback&lt;br /&gt;
* defaultgrade&lt;br /&gt;
* hidden&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;image&amp;gt; tag contains the url of any included image. Nested within the &amp;lt;image&amp;gt; tag may be an &amp;lt;image_base64&amp;gt; tag which contains the actual image data encoded in base64 [http://www.php.net/manual/en/function.base64-encode.php].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In the following question type examples the common parts of the question are not shown to improve clarity. It&#039;s a good idea to export some examples yourself to see a full example.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Multiple choice==&lt;br /&gt;
&lt;br /&gt;
MC questions have one &amp;lt;answer&amp;gt; tag for each choice. Each choice can carry feedback and score weighting (by using the fraction attribute). In addition, an MC question has the following tags:&lt;br /&gt;
&lt;br /&gt;
* single &#039;&#039;(values: true/false)&#039;&#039;&lt;br /&gt;
* shuffleanswers &#039;&#039;(values: 1/0)&#039;&#039;&lt;br /&gt;
* correctfeedback &lt;br /&gt;
* partiallycorrectfeedback &lt;br /&gt;
* incorrectfeedback&lt;br /&gt;
* answernumbering (allowed values: &#039;abc&#039;, &#039;ABC&#039; or &#039;123&#039;)&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;single&amp;gt; tag is used to distinguish single response (radio button) and multiple response (checkbox) variants.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;question type=&amp;quot;multichoice&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;answer fraction=&amp;quot;100&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;text&amp;gt;The correct answer&amp;lt;/text&amp;gt;&lt;br /&gt;
    &amp;lt;feedback&amp;gt;&amp;lt;text&amp;gt;Correct!&amp;lt;/text&amp;gt;&amp;lt;/feedback&amp;gt;&lt;br /&gt;
 &amp;lt;/answer&amp;gt;&lt;br /&gt;
 &amp;lt;answer fraction=&amp;quot;0&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;text&amp;gt;A distractor&amp;lt;/text&amp;gt;&lt;br /&gt;
    &amp;lt;feedback&amp;gt;&amp;lt;text&amp;gt;Ooops!&amp;lt;/text&amp;gt;&amp;lt;/feedback&amp;gt;&lt;br /&gt;
 &amp;lt;/answer&amp;gt;&lt;br /&gt;
 &amp;lt;answer fraction=&amp;quot;0&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;text&amp;gt;Another distractor&amp;lt;/text&amp;gt;&lt;br /&gt;
    &amp;lt;feedback&amp;gt;&amp;lt;text&amp;gt;Ooops!&amp;lt;/text&amp;gt;&amp;lt;/feedback&amp;gt;&lt;br /&gt;
 &amp;lt;/answer&amp;gt;&lt;br /&gt;
 &amp;lt;shuffleanswers&amp;gt;1&amp;lt;/shuffleanswers&amp;gt;&lt;br /&gt;
 &amp;lt;single&amp;gt;true&amp;lt;/single&amp;gt;&lt;br /&gt;
 &amp;lt;answernumbering&amp;gt;abc&amp;lt;/answernumbering&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== True/false ==&lt;br /&gt;
&lt;br /&gt;
Two answer tags are given, one which is true, and one which is false. The fraction attribute of the answer tag identifies which option is correct (100) and which is false (0). Feedback is supported. The following example shows the format when true is the correct answer and false is wrong.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;question type=&amp;quot;truefalse&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;answer fraction=&amp;quot;100&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;true&amp;lt;/text&amp;gt;&lt;br /&gt;
    &amp;lt;feedback&amp;gt;&amp;lt;text&amp;gt;Correct!&amp;lt;/text&amp;gt;&amp;lt;/feedback&amp;gt;&lt;br /&gt;
 &amp;lt;/answer&amp;gt;&lt;br /&gt;
 &amp;lt;answer fraction=0&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;false&amp;lt;/text&amp;gt;&lt;br /&gt;
    &amp;lt;feedback&amp;gt;&amp;lt;text&amp;gt;Ooops!&amp;lt;/text&amp;gt;&amp;lt;/feedback&amp;gt;&lt;br /&gt;
 &amp;lt;/answer&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Short answer  ==&lt;br /&gt;
&lt;br /&gt;
The short answer question type supports alternative correct responses, each with its own weighting and feedback.  The Moodle XML format uses one &amp;lt;answer&amp;gt; tag for each of the alternative correct answers.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;usecase&amp;gt; tag toggles case-sensitivity with the values 1/0. &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;question type=&amp;quot;shortanswer&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;answer fraction=&amp;quot;100&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;text&amp;gt;The correct answer&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;feedback&amp;gt;&amp;lt;text&amp;gt;Correct!&amp;lt;/text&amp;gt;&amp;lt;/feedback&amp;gt;&lt;br /&gt;
 &amp;lt;/answer&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;question type=&amp;quot;shortanswer&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;answer fraction=&amp;quot;100&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;text&amp;gt;The correct answer&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;feedback&amp;gt;&amp;lt;text&amp;gt;Correct!&amp;lt;/text&amp;gt;&amp;lt;/feedback&amp;gt;&lt;br /&gt;
 &amp;lt;/answer&amp;gt;&lt;br /&gt;
 &amp;lt;answer fraction=&amp;quot;100&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;text&amp;gt;An alternative answer&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;feedback&amp;gt;&amp;lt;text&amp;gt;Correct!&amp;lt;/text&amp;gt;&amp;lt;/feedback&amp;gt;&lt;br /&gt;
 &amp;lt;/answer&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Numerical response ==&lt;br /&gt;
&lt;br /&gt;
The following is a simplified version of the Moodle XML format for numerical responses.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;question type=&amp;quot;numerical&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;answer fraction=&amp;quot;100&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;text&amp;gt;23&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;feedback&amp;gt;&amp;lt;text&amp;gt;Feedback&amp;lt;/text&amp;gt;&amp;lt;/feedback&amp;gt;&lt;br /&gt;
 &amp;lt;/answer&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Moodle also supports a &amp;lt;tolerance&amp;gt; tag (how accurate must the number be?) and one or more &amp;lt;unit&amp;gt; tags. Unit tags have names and multipliers. E.g. if the main answer is in kilometres, an additional answer could be the equivalent in metres with a multiplier of 1000.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; prior to 1.7.2 the fraction was expressed as a value between 0 and 1 in a &amp;lt;fraction&amp;gt; element and the answer value was &#039;&#039;&#039;not&#039;&#039;&#039; enclosed in &amp;lt;text&amp;gt; tags. This format of the numerical question type is deprecated but will still be correctly imported if found (for now).&lt;br /&gt;
&lt;br /&gt;
== Matching ==&lt;br /&gt;
&lt;br /&gt;
Pair matching responses use the &amp;lt;shuffleanswers&amp;gt; tag to determine whether the order of the items should be randomized.&lt;br /&gt;
Each pair is contained inside a &amp;lt;subquestion&amp;gt; tag. The first item of each pair is contained with a &amp;lt;text&amp;gt; tag, while the second has an &amp;lt;answer&amp;gt; tag around it as well. Feedback and score weighting is not supported by Moodle for this response type.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;question type=&amp;quot;match&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;subquestion&amp;gt;&lt;br /&gt;
     &amp;lt;text&amp;gt;This is the 1st item in the 1st pair.&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;answer&amp;gt;&lt;br /&gt;
         &amp;lt;text&amp;gt;This is the 2nd item in the 1st pair.&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;/answer&amp;gt;&lt;br /&gt;
 &amp;lt;/subquestion&amp;gt;&lt;br /&gt;
 &amp;lt;subquestion&amp;gt;&lt;br /&gt;
     &amp;lt;text&amp;gt;This is the 1st item in the 2nd pair.&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;answer&amp;gt;&lt;br /&gt;
         &amp;lt;text&amp;gt;This is the 2nd item in the 2nd pair.&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;/answer&amp;gt;&lt;br /&gt;
 &amp;lt;/subquestion&amp;gt;&lt;br /&gt;
 &amp;lt;shuffleanswers&amp;gt;true&amp;lt;/shuffleanswers&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Essay ==&lt;br /&gt;
&lt;br /&gt;
An example of the essay type question...&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;question type=&amp;quot;essay&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;answer fraction=&amp;quot;0&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;text&amp;gt;&amp;lt;/text&amp;gt;&lt;br /&gt;
    &amp;lt;/answer&amp;gt;&lt;br /&gt;
  &amp;lt;/question&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There isn&#039;t an answer and there isn&#039;t a grade in this case. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; prior to 1.7.2 the fraction was expressed as a value between 0 and 1 in a &amp;lt;fraction&amp;gt; element and the answer value was &#039;&#039;&#039;not&#039;&#039;&#039; enclosed in &amp;lt;text&amp;gt; tags. This format of the essay question type is deprecated but will still be correctly imported if found (for now).&lt;br /&gt;
&lt;br /&gt;
== Other question types ==&lt;br /&gt;
&lt;br /&gt;
=== Cloze ===&lt;br /&gt;
&lt;br /&gt;
It is supported, and depends on a special format for the &amp;lt;questiontext&amp;gt; tag.&lt;br /&gt;
&lt;br /&gt;
=== Description response type===&lt;br /&gt;
&lt;br /&gt;
This response type has no further tags other than those contained in the question header (such as &amp;lt;questiontext&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
=== Random matching ===&lt;br /&gt;
&lt;br /&gt;
Moodle has a question type which consists of taking short answer questions in the same quiz and displaying them as a pair matching exercise. However Moodle is neither able to export nor import this question type.&lt;br /&gt;
&lt;br /&gt;
==Hints and Tips==&lt;br /&gt;
Here&#039;s a Word Template for generating Moodle XML [http://finemetronome.com/moodle/].&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Export questions]]&lt;br /&gt;
*[[Import questions]]&lt;br /&gt;
*[[GIFT format]]&lt;br /&gt;
*[[Aiken format]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Questions]]&lt;/div&gt;</summary>
		<author><name>Scotru</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=Moodle_XML_format&amp;diff=34060</id>
		<title>Moodle XML format</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=Moodle_XML_format&amp;diff=34060"/>
		<updated>2008-03-27T09:20:34Z</updated>

		<summary type="html">&lt;p&gt;Scotru: /* See also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==A word about validity==&lt;br /&gt;
&lt;br /&gt;
The XML parser assumes that the XML file is valid. If it is not you are very likely to get unexpected errors. If you are handcoding the XML file it is strongly recommended that you pass it through some sort of XML verifier before importing into Moodle. Note particularly that embedded HTML fragments should be within CDATA sections.&lt;br /&gt;
&lt;br /&gt;
==Overall structure of XML file==&lt;br /&gt;
&lt;br /&gt;
The file is enclosed by tags as follows.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=1.0?&amp;gt;&lt;br /&gt;
 &amp;lt;quiz&amp;gt;&lt;br /&gt;
 .&lt;br /&gt;
 .&lt;br /&gt;
 .&lt;br /&gt;
 &amp;lt;/quiz&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Within the &amp;lt;quiz&amp;gt; tags are any number of &amp;lt;question&amp;gt; tags. One of these &amp;lt;question&amp;gt; tags can be a dummy question with a &#039;&#039;category&#039;&#039; type to specify a category for the import/export. &lt;br /&gt;
&lt;br /&gt;
The file must be encoded in [[UTF8]]&lt;br /&gt;
&lt;br /&gt;
Moodle XML import and export are balanced in functionality, so if you need to understand the format you can simply create some questions and export them to see what it looks like.&lt;br /&gt;
&lt;br /&gt;
==Tags common to all question types==&lt;br /&gt;
&lt;br /&gt;
A question is written as follows.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;question type=&amp;quot;multichoice|truefalse|shortanswer|match|cloze|essay|numerical|description&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;questiontext format=&amp;quot;html&amp;quot;&amp;gt;&lt;br /&gt;
         &amp;lt;text&amp;gt;What is the answer to this question?&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;/questiontext&amp;gt;&lt;br /&gt;
     .&lt;br /&gt;
     .&lt;br /&gt;
     .&lt;br /&gt;
 &amp;lt;/question&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Format&amp;quot; selects the [[Formatting options]] for the question text. The options are &#039;&#039;&#039;moodle_auto_format&#039;&#039;&#039; (the default), &#039;&#039;&#039;html&#039;&#039;&#039;, &#039;&#039;&#039;plain_text&#039;&#039;&#039; and &#039;&#039;&#039;markdown&#039;&#039;&#039;. The choice effects the way in which the text will be displayed. &lt;br /&gt;
&lt;br /&gt;
Further tags, which usually include at least one &amp;lt;answer&amp;gt; tag, follow in the space marked with dots as child nodes to the &amp;lt;question&amp;gt; tag. The response-related tags are listed further down on this page. Various (optional?) tags are possible. &lt;br /&gt;
&lt;br /&gt;
* penalty&lt;br /&gt;
* generalfeedback&lt;br /&gt;
* defaultgrade&lt;br /&gt;
* hidden&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;image&amp;gt; tag contains the url of any included image. Nested within the &amp;lt;image&amp;gt; tag may be an &amp;lt;image_base64&amp;gt; tag which contains the actual image data encoded in base64 [http://www.php.net/manual/en/function.base64-encode.php].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;In the following question type examples the common parts of the question are not shown to improve clarity. It&#039;s a good idea to export some examples yourself to see a full example.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Multiple choice==&lt;br /&gt;
&lt;br /&gt;
MC questions have one &amp;lt;answer&amp;gt; tag for each choice. Each choice can carry feedback and score weighting (by using the fraction attribute). In addition, an MC question has the following tags:&lt;br /&gt;
&lt;br /&gt;
* single &#039;&#039;(values: true/false)&#039;&#039;&lt;br /&gt;
* shuffleanswers &#039;&#039;(values: 1/0)&#039;&#039;&lt;br /&gt;
* correctfeedback &lt;br /&gt;
* partiallycorrectfeedback &lt;br /&gt;
* incorrectfeedback&lt;br /&gt;
* answernumbering (allowed values: &#039;abc&#039;, &#039;ABC&#039; or &#039;123&#039;)&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;single&amp;gt; tag is used to distinguish single response (radio button) and multiple response (checkbox) variants.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;question type=&amp;quot;multichoice&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;answer fraction=&amp;quot;100&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;text&amp;gt;The correct answer&amp;lt;/text&amp;gt;&lt;br /&gt;
    &amp;lt;feedback&amp;gt;&amp;lt;text&amp;gt;Correct!&amp;lt;/text&amp;gt;&amp;lt;/feedback&amp;gt;&lt;br /&gt;
 &amp;lt;/answer&amp;gt;&lt;br /&gt;
 &amp;lt;answer fraction=&amp;quot;0&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;text&amp;gt;A distractor&amp;lt;/text&amp;gt;&lt;br /&gt;
    &amp;lt;feedback&amp;gt;&amp;lt;text&amp;gt;Ooops!&amp;lt;/text&amp;gt;&amp;lt;/feedback&amp;gt;&lt;br /&gt;
 &amp;lt;/answer&amp;gt;&lt;br /&gt;
 &amp;lt;answer fraction=&amp;quot;0&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;text&amp;gt;Another distractor&amp;lt;/text&amp;gt;&lt;br /&gt;
    &amp;lt;feedback&amp;gt;&amp;lt;text&amp;gt;Ooops!&amp;lt;/text&amp;gt;&amp;lt;/feedback&amp;gt;&lt;br /&gt;
 &amp;lt;/answer&amp;gt;&lt;br /&gt;
 &amp;lt;shuffleanswers&amp;gt;1&amp;lt;/shuffleanswers&amp;gt;&lt;br /&gt;
 &amp;lt;single&amp;gt;true&amp;lt;/single&amp;gt;&lt;br /&gt;
 &amp;lt;answernumbering&amp;gt;abc&amp;lt;/answernumbering&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== True/false ==&lt;br /&gt;
&lt;br /&gt;
Two answer tags are given, one which is true, and one which is false. The fraction attribute of the answer tag identifies which option is correct (100) and which is false (0). Feedback is supported. The following example shows the format when true is the correct answer and false is wrong.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;question type=&amp;quot;truefalse&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;answer fraction=&amp;quot;100&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;true&amp;lt;/text&amp;gt;&lt;br /&gt;
    &amp;lt;feedback&amp;gt;&amp;lt;text&amp;gt;Correct!&amp;lt;/text&amp;gt;&amp;lt;/feedback&amp;gt;&lt;br /&gt;
 &amp;lt;/answer&amp;gt;&lt;br /&gt;
 &amp;lt;answer fraction=0&amp;gt;&lt;br /&gt;
    &amp;lt;text&amp;gt;false&amp;lt;/text&amp;gt;&lt;br /&gt;
    &amp;lt;feedback&amp;gt;&amp;lt;text&amp;gt;Ooops!&amp;lt;/text&amp;gt;&amp;lt;/feedback&amp;gt;&lt;br /&gt;
 &amp;lt;/answer&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Short answer  ==&lt;br /&gt;
&lt;br /&gt;
The short answer question type supports alternative correct responses, each with its own weighting and feedback.  The Moodle XML format uses one &amp;lt;answer&amp;gt; tag for each of the alternative correct answers.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;usecase&amp;gt; tag toggles case-sensitivity with the values 1/0. &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;question type=&amp;quot;shortanswer&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;answer fraction=&amp;quot;100&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;text&amp;gt;The correct answer&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;feedback&amp;gt;&amp;lt;text&amp;gt;Correct!&amp;lt;/text&amp;gt;&amp;lt;/feedback&amp;gt;&lt;br /&gt;
 &amp;lt;/answer&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;question type=&amp;quot;shortanswer&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;answer fraction=&amp;quot;100&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;text&amp;gt;The correct answer&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;feedback&amp;gt;&amp;lt;text&amp;gt;Correct!&amp;lt;/text&amp;gt;&amp;lt;/feedback&amp;gt;&lt;br /&gt;
 &amp;lt;/answer&amp;gt;&lt;br /&gt;
 &amp;lt;answer fraction=&amp;quot;100&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;text&amp;gt;An alternative answer&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;feedback&amp;gt;&amp;lt;text&amp;gt;Correct!&amp;lt;/text&amp;gt;&amp;lt;/feedback&amp;gt;&lt;br /&gt;
 &amp;lt;/answer&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Numerical response ==&lt;br /&gt;
&lt;br /&gt;
The following is a simplified version of the Moodle XML format for numerical responses.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;question type=&amp;quot;numerical&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;answer fraction=&amp;quot;100&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;text&amp;gt;23&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;feedback&amp;gt;&amp;lt;text&amp;gt;Feedback&amp;lt;/text&amp;gt;&amp;lt;/feedback&amp;gt;&lt;br /&gt;
 &amp;lt;/answer&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Moodle also supports a &amp;lt;tolerance&amp;gt; tag (how accurate must the number be?) and one or more &amp;lt;unit&amp;gt; tags. Unit tags have names and multipliers. E.g. if the main answer is in kilometres, an additional answer could be the equivalent in metres with a multiplier of 1000.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; prior to 1.7.2 the fraction was expressed as a value between 0 and 1 in a &amp;lt;fraction&amp;gt; element and the answer value was &#039;&#039;&#039;not&#039;&#039;&#039; enclosed in &amp;lt;text&amp;gt; tags. This format of the numerical question type is deprecated but will still be correctly imported if found (for now).&lt;br /&gt;
&lt;br /&gt;
== Matching ==&lt;br /&gt;
&lt;br /&gt;
Pair matching responses use the &amp;lt;shuffleanswers&amp;gt; tag to determine whether the order of the items should be randomized.&lt;br /&gt;
Each pair is contained inside a &amp;lt;subquestion&amp;gt; tag. The first item of each pair is contained with a &amp;lt;text&amp;gt; tag, while the second has an &amp;lt;answer&amp;gt; tag around it as well. Feedback and score weighting is not supported by Moodle for this response type.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;question type=&amp;quot;match&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;subquestion&amp;gt;&lt;br /&gt;
     &amp;lt;text&amp;gt;This is the 1st item in the 1st pair.&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;answer&amp;gt;&lt;br /&gt;
         &amp;lt;text&amp;gt;This is the 2nd item in the 1st pair.&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;/answer&amp;gt;&lt;br /&gt;
 &amp;lt;/subquestion&amp;gt;&lt;br /&gt;
 &amp;lt;subquestion&amp;gt;&lt;br /&gt;
     &amp;lt;text&amp;gt;This is the 1st item in the 2nd pair.&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;answer&amp;gt;&lt;br /&gt;
         &amp;lt;text&amp;gt;This is the 2nd item in the 2nd pair.&amp;lt;/text&amp;gt;&lt;br /&gt;
     &amp;lt;/answer&amp;gt;&lt;br /&gt;
 &amp;lt;/subquestion&amp;gt;&lt;br /&gt;
 &amp;lt;shuffleanswers&amp;gt;true&amp;lt;/shuffleanswers&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Essay ==&lt;br /&gt;
&lt;br /&gt;
An example of the essay type question...&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;question type=&amp;quot;essay&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;answer fraction=&amp;quot;0&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;text&amp;gt;&amp;lt;/text&amp;gt;&lt;br /&gt;
    &amp;lt;/answer&amp;gt;&lt;br /&gt;
  &amp;lt;/question&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There isn&#039;t an answer and there isn&#039;t a grade in this case. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; prior to 1.7.2 the fraction was expressed as a value between 0 and 1 in a &amp;lt;fraction&amp;gt; element and the answer value was &#039;&#039;&#039;not&#039;&#039;&#039; enclosed in &amp;lt;text&amp;gt; tags. This format of the essay question type is deprecated but will still be correctly imported if found (for now).&lt;br /&gt;
&lt;br /&gt;
== Other question types ==&lt;br /&gt;
&lt;br /&gt;
=== Cloze ===&lt;br /&gt;
&lt;br /&gt;
It is supported, and depends on a special format for the &amp;lt;questiontext&amp;gt; tag.&lt;br /&gt;
&lt;br /&gt;
=== Description response type===&lt;br /&gt;
&lt;br /&gt;
This response type has no further tags other than those contained in the question header (such as &amp;lt;questiontext&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
=== Random matching ===&lt;br /&gt;
&lt;br /&gt;
Moodle has a question type which consists of taking short answer questions in the same quiz and displaying them as a pair matching exercise. However Moodle is neither able to export nor import this question type.&lt;br /&gt;
&lt;br /&gt;
==Hints and Tips==&lt;br /&gt;
Here&#039;s a Word Template for generating Moodle XML [http://finemetronome.com/moodle/].&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Export questions]]&lt;br /&gt;
*[[Import questions]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Questions]]&lt;/div&gt;</summary>
		<author><name>Scotru</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=GIFT_format&amp;diff=34059</id>
		<title>GIFT format</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=GIFT_format&amp;diff=34059"/>
		<updated>2008-03-27T09:19:22Z</updated>

		<summary type="html">&lt;p&gt;Scotru: /* See also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;With GIFT format you can write multiple-choice, true-false, short answer, matching and numerical questions in a text editor in a simple format. For large numbers of questions, GIFT is likely to provide the quickest way of bulk loading your questions.&lt;br /&gt;
[[Image:Gift.jpg|frame|left|screen shot from quiz help file documentation]]&amp;lt;br style=&amp;quot;clear:both;&amp;quot;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
At least one blank line must be left between each question.&lt;br /&gt;
&lt;br /&gt;
Here is an [http://moodle.org/file.php/5/moddata/forum/121/236161/GIFT-examples.zip GIFT example] for quiz-import, easy to copy and change ...&lt;br /&gt;
&lt;br /&gt;
The file &#039;&#039;&#039;must&#039;&#039;&#039; be correctly encoded in [[UTF8]]. Beware of some of Microsoft&#039;s &amp;quot;fake&amp;quot; Unicode implementation which is not compatible and may result in strange characters appearing in your quizzes. &lt;br /&gt;
&lt;br /&gt;
Here is a 2-column GIFT format reference sheet I created for a training:&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf GIFT Reference Sheet]&lt;br /&gt;
&lt;br /&gt;
===Hints and Tips===&lt;br /&gt;
&lt;br /&gt;
* Use the ::title:: at the beginning of every question to organize this for you (01 - testquestion), otherwise it would be difficult to find the right question for changes, moodle will take the beginning of every question as internal title.&lt;br /&gt;
* In the Lesson module, in a question page, correct answers jump by default to Next page and incorrect answers jump to This page (i.e. student has to &amp;quot;try again&amp;quot;). When importing from a GIFT format file, this is exactly the mechanism which is used.&lt;br /&gt;
* If you want a student to be taken directly from one question to the next irrespective of their answer being correct or incorrect: in the Lesson Settings, set Maximum number of attempts: to 1. Please note, however, that a message &amp;quot;correct / incorrect&amp;quot; will still be displayed to the student upon answering each question. If you do not want this (default) feedback message to be displayed then enter your own feedback message (i.e. &amp;quot;continue&amp;quot;, &amp;quot;---&amp;quot;, etc.) In case you want no visible message displayed then enter a non-breaking space as feedback, so you&#039;ll have to put a # after the answer which may be ~3 and &#039;&#039;&#039;write &amp;amp; n b s p ; after that.(without spaces between these characters)&#039;&#039;&#039;&lt;br /&gt;
* If you want to use curly braces, { or }, or equal sign, =, or # or ~ in a GIFT file (for example in a math question including TeX expressions) you must &amp;quot;escape&amp;quot; them by preceding them with a \ directly in front of each { or } or =. It is possible to use a replace program/macro/editor filter to do this conversion before importing to Moodle.&lt;br /&gt;
* There are Word macros available for easily creating GIFT files. See [http://www.soberit.hut.fi/sprg/resources/moodle/GiftConverter.html].&lt;br /&gt;
* Here&#039;s an Excel spreadsheet for generating multiple choice GIFT files [http://moodle.org/mod/forum/discuss.php?d=45245] and a newer version that supports other question formats (be sure to scroll down to the most recent version) [http://moodle.org/mod/forum/discuss.php?d=66660].&lt;br /&gt;
* Here&#039;s an Open Office template for generating GIFT files. [http://moodle.org/mod/forum/discuss.php?d=20705&amp;amp;parent=168385]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Export questions]]&lt;br /&gt;
*[[Import questions]]&lt;br /&gt;
[[Category:Questions]]&lt;/div&gt;</summary>
		<author><name>Scotru</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=GIFT_format&amp;diff=34058</id>
		<title>GIFT format</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=GIFT_format&amp;diff=34058"/>
		<updated>2008-03-27T09:15:50Z</updated>

		<summary type="html">&lt;p&gt;Scotru: /* Hints and Tips */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;With GIFT format you can write multiple-choice, true-false, short answer, matching and numerical questions in a text editor in a simple format. For large numbers of questions, GIFT is likely to provide the quickest way of bulk loading your questions.&lt;br /&gt;
[[Image:Gift.jpg|frame|left|screen shot from quiz help file documentation]]&amp;lt;br style=&amp;quot;clear:both;&amp;quot;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
At least one blank line must be left between each question.&lt;br /&gt;
&lt;br /&gt;
Here is an [http://moodle.org/file.php/5/moddata/forum/121/236161/GIFT-examples.zip GIFT example] for quiz-import, easy to copy and change ...&lt;br /&gt;
&lt;br /&gt;
The file &#039;&#039;&#039;must&#039;&#039;&#039; be correctly encoded in [[UTF8]]. Beware of some of Microsoft&#039;s &amp;quot;fake&amp;quot; Unicode implementation which is not compatible and may result in strange characters appearing in your quizzes. &lt;br /&gt;
&lt;br /&gt;
Here is a 2-column GIFT format reference sheet I created for a training:&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf GIFT Reference Sheet]&lt;br /&gt;
&lt;br /&gt;
===Hints and Tips===&lt;br /&gt;
&lt;br /&gt;
* Use the ::title:: at the beginning of every question to organize this for you (01 - testquestion), otherwise it would be difficult to find the right question for changes, moodle will take the beginning of every question as internal title.&lt;br /&gt;
* In the Lesson module, in a question page, correct answers jump by default to Next page and incorrect answers jump to This page (i.e. student has to &amp;quot;try again&amp;quot;). When importing from a GIFT format file, this is exactly the mechanism which is used.&lt;br /&gt;
* If you want a student to be taken directly from one question to the next irrespective of their answer being correct or incorrect: in the Lesson Settings, set Maximum number of attempts: to 1. Please note, however, that a message &amp;quot;correct / incorrect&amp;quot; will still be displayed to the student upon answering each question. If you do not want this (default) feedback message to be displayed then enter your own feedback message (i.e. &amp;quot;continue&amp;quot;, &amp;quot;---&amp;quot;, etc.) In case you want no visible message displayed then enter a non-breaking space as feedback, so you&#039;ll have to put a # after the answer which may be ~3 and &#039;&#039;&#039;write &amp;amp; n b s p ; after that.(without spaces between these characters)&#039;&#039;&#039;&lt;br /&gt;
* If you want to use curly braces, { or }, or equal sign, =, or # or ~ in a GIFT file (for example in a math question including TeX expressions) you must &amp;quot;escape&amp;quot; them by preceding them with a \ directly in front of each { or } or =. It is possible to use a replace program/macro/editor filter to do this conversion before importing to Moodle.&lt;br /&gt;
* There are Word macros available for easily creating GIFT files. See [http://www.soberit.hut.fi/sprg/resources/moodle/GiftConverter.html].&lt;br /&gt;
* Here&#039;s an Excel spreadsheet for generating multiple choice GIFT files [http://moodle.org/mod/forum/discuss.php?d=45245] and a newer version that supports other question formats (be sure to scroll down to the most recent version) [http://moodle.org/mod/forum/discuss.php?d=66660].&lt;br /&gt;
* Here&#039;s an Open Office template for generating GIFT files. [http://moodle.org/mod/forum/discuss.php?d=20705&amp;amp;parent=168385]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Export questions]]&lt;br /&gt;
[[Category:Questions]]&lt;/div&gt;</summary>
		<author><name>Scotru</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=GIFT_format&amp;diff=34057</id>
		<title>GIFT format</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=GIFT_format&amp;diff=34057"/>
		<updated>2008-03-27T09:13:31Z</updated>

		<summary type="html">&lt;p&gt;Scotru: /* Hints and Tips */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;With GIFT format you can write multiple-choice, true-false, short answer, matching and numerical questions in a text editor in a simple format. For large numbers of questions, GIFT is likely to provide the quickest way of bulk loading your questions.&lt;br /&gt;
[[Image:Gift.jpg|frame|left|screen shot from quiz help file documentation]]&amp;lt;br style=&amp;quot;clear:both;&amp;quot;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
At least one blank line must be left between each question.&lt;br /&gt;
&lt;br /&gt;
Here is an [http://moodle.org/file.php/5/moddata/forum/121/236161/GIFT-examples.zip GIFT example] for quiz-import, easy to copy and change ...&lt;br /&gt;
&lt;br /&gt;
The file &#039;&#039;&#039;must&#039;&#039;&#039; be correctly encoded in [[UTF8]]. Beware of some of Microsoft&#039;s &amp;quot;fake&amp;quot; Unicode implementation which is not compatible and may result in strange characters appearing in your quizzes. &lt;br /&gt;
&lt;br /&gt;
Here is a 2-column GIFT format reference sheet I created for a training:&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf GIFT Reference Sheet]&lt;br /&gt;
&lt;br /&gt;
===Hints and Tips===&lt;br /&gt;
&lt;br /&gt;
* Use the ::title:: at the beginning of every question to organize this for you (01 - testquestion), otherwise it would be difficult to find the right question for changes, moodle will take the beginning of every question as internal title.&lt;br /&gt;
* In the Lesson module, in a question page, correct answers jump by default to Next page and incorrect answers jump to This page (i.e. student has to &amp;quot;try again&amp;quot;). When importing from a GIFT format file, this is exactly the mechanism which is used.&lt;br /&gt;
* If you want a student to be taken directly from one question to the next irrespective of their answer being correct or incorrect: in the Lesson Settings, set Maximum number of attempts: to 1. Please note, however, that a message &amp;quot;correct / incorrect&amp;quot; will still be displayed to the student upon answering each question. If you do not want this (default) feedback message to be displayed then enter your own feedback message (i.e. &amp;quot;continue&amp;quot;, &amp;quot;---&amp;quot;, etc.) In case you want no visible message displayed then enter a non-breaking space as feedback, so you&#039;ll have to put a # after the answer which may be ~3 and &#039;&#039;&#039;write &amp;amp; n b s p ; after that.(without spaces between these characters)&#039;&#039;&#039;&lt;br /&gt;
* If you want to use curly braces, { or }, or equal sign, =, or # or ~ in a GIFT file (for example in a math question including TeX expressions) you must &amp;quot;escape&amp;quot; them by preceding them with a \ directly in front of each { or } or =. It is possible to use a replace program/macro/editor filter to do this conversion before importing to Moodle.&lt;br /&gt;
* There are Word macros available for easily creating GIFT files. See [http://www.soberit.hut.fi/sprg/resources/moodle/GiftConverter.html].&lt;br /&gt;
* Here&#039;s an Excel spreadsheet for generating multiple choice GIFT files [http://moodle.org/mod/forum/discuss.php?d=45245].&lt;br /&gt;
* Here&#039;s an Open Office template for generating GIFT files. [http://moodle.org/mod/forum/discuss.php?d=20705&amp;amp;parent=168385]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Export questions]]&lt;br /&gt;
[[Category:Questions]]&lt;/div&gt;</summary>
		<author><name>Scotru</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=GIFT_format&amp;diff=34056</id>
		<title>GIFT format</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=GIFT_format&amp;diff=34056"/>
		<updated>2008-03-27T09:11:01Z</updated>

		<summary type="html">&lt;p&gt;Scotru: /* Hints and Tips */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;With GIFT format you can write multiple-choice, true-false, short answer, matching and numerical questions in a text editor in a simple format. For large numbers of questions, GIFT is likely to provide the quickest way of bulk loading your questions.&lt;br /&gt;
[[Image:Gift.jpg|frame|left|screen shot from quiz help file documentation]]&amp;lt;br style=&amp;quot;clear:both;&amp;quot;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
At least one blank line must be left between each question.&lt;br /&gt;
&lt;br /&gt;
Here is an [http://moodle.org/file.php/5/moddata/forum/121/236161/GIFT-examples.zip GIFT example] for quiz-import, easy to copy and change ...&lt;br /&gt;
&lt;br /&gt;
The file &#039;&#039;&#039;must&#039;&#039;&#039; be correctly encoded in [[UTF8]]. Beware of some of Microsoft&#039;s &amp;quot;fake&amp;quot; Unicode implementation which is not compatible and may result in strange characters appearing in your quizzes. &lt;br /&gt;
&lt;br /&gt;
Here is a 2-column GIFT format reference sheet I created for a training:&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf GIFT Reference Sheet]&lt;br /&gt;
&lt;br /&gt;
===Hints and Tips===&lt;br /&gt;
&lt;br /&gt;
* Use the ::title:: at the beginning of every question to organize this for you (01 - testquestion), otherwise it would be difficult to find the right question for changes, moodle will take the beginning of every question as internal title.&lt;br /&gt;
* In the Lesson module, in a question page, correct answers jump by default to Next page and incorrect answers jump to This page (i.e. student has to &amp;quot;try again&amp;quot;). When importing from a GIFT format file, this is exactly the mechanism which is used.&lt;br /&gt;
* If you want a student to be taken directly from one question to the next irrespective of their answer being correct or incorrect: in the Lesson Settings, set Maximum number of attempts: to 1. Please note, however, that a message &amp;quot;correct / incorrect&amp;quot; will still be displayed to the student upon answering each question. If you do not want this (default) feedback message to be displayed then enter your own feedback message (i.e. &amp;quot;continue&amp;quot;, &amp;quot;---&amp;quot;, etc.) In case you want no visible message displayed then enter a non-breaking space as feedback, so you&#039;ll have to put a # after the answer which may be ~3 and &#039;&#039;&#039;write &amp;amp; n b s p ; after that.(without spaces between these characters)&#039;&#039;&#039;&lt;br /&gt;
* If you want to use curly braces, { or }, or equal sign, =, or # or ~ in a GIFT file (for example in a math question including TeX expressions) you must &amp;quot;escape&amp;quot; them by preceding them with a \ directly in front of each { or } or =. It is possible to use a replace program/macro/editor filter to do this conversion before importing to Moodle.&lt;br /&gt;
* There are Word macros available for easily creating GIFT files. See [http://www.soberit.hut.fi/sprg/resources/moodle/GiftConverter.html].&lt;br /&gt;
* Here&#039;s an Excel spreadsheet for generating multiple choice GIFT files [http://moodle.org/mod/forum/discuss.php?d=45245].&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Export questions]]&lt;br /&gt;
[[Category:Questions]]&lt;/div&gt;</summary>
		<author><name>Scotru</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=GIFT_format&amp;diff=34055</id>
		<title>GIFT format</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=GIFT_format&amp;diff=34055"/>
		<updated>2008-03-27T09:10:46Z</updated>

		<summary type="html">&lt;p&gt;Scotru: /* Hints and Tips */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;With GIFT format you can write multiple-choice, true-false, short answer, matching and numerical questions in a text editor in a simple format. For large numbers of questions, GIFT is likely to provide the quickest way of bulk loading your questions.&lt;br /&gt;
[[Image:Gift.jpg|frame|left|screen shot from quiz help file documentation]]&amp;lt;br style=&amp;quot;clear:both;&amp;quot;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
At least one blank line must be left between each question.&lt;br /&gt;
&lt;br /&gt;
Here is an [http://moodle.org/file.php/5/moddata/forum/121/236161/GIFT-examples.zip GIFT example] for quiz-import, easy to copy and change ...&lt;br /&gt;
&lt;br /&gt;
The file &#039;&#039;&#039;must&#039;&#039;&#039; be correctly encoded in [[UTF8]]. Beware of some of Microsoft&#039;s &amp;quot;fake&amp;quot; Unicode implementation which is not compatible and may result in strange characters appearing in your quizzes. &lt;br /&gt;
&lt;br /&gt;
Here is a 2-column GIFT format reference sheet I created for a training:&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf GIFT Reference Sheet]&lt;br /&gt;
&lt;br /&gt;
===Hints and Tips===&lt;br /&gt;
&lt;br /&gt;
* Use the ::title:: at the beginning of every question to organize this for you (01 - testquestion), otherwise it would be difficult to find the right question for changes, moodle will take the beginning of every question as internal title.&lt;br /&gt;
* In the Lesson module, in a question page, correct answers jump by default to Next page and incorrect answers jump to This page (i.e. student has to &amp;quot;try again&amp;quot;). When importing from a GIFT format file, this is exactly the mechanism which is used.&lt;br /&gt;
* If you want a student to be taken directly from one question to the next irrespective of their answer being correct or incorrect: in the Lesson Settings, set Maximum number of attempts: to 1. Please note, however, that a message &amp;quot;correct / incorrect&amp;quot; will still be displayed to the student upon answering each question. If you do not want this (default) feedback message to be displayed then enter your own feedback message (i.e. &amp;quot;continue&amp;quot;, &amp;quot;---&amp;quot;, etc.) In case you want no visible message displayed then enter a non-breaking space as feedback, so you&#039;ll have to put a # after the answer which may be ~3 and &#039;&#039;&#039;write &amp;amp; n b s p ; after that.(without spaces between these characters)&#039;&#039;&#039;&lt;br /&gt;
* If you want to use curly braces, { or }, or equal sign, =, or # or ~ in a GIFT file (for example in a math question including TeX expressions) you must &amp;quot;escape&amp;quot; them by preceding them with a \ directly in front of each { or } or =. It is possible to use a replace program/macro/editor filter to do this conversion before importing to Moodle.&lt;br /&gt;
* There are Word macros available for easily creating GIFT files. See [http://www.soberit.hut.fi/sprg/resources/moodle/GiftConverter.html].&lt;br /&gt;
* Here&#039;s an Excel spreadsheet for generating multiple choice GIFT files&lt;br /&gt;
[http://moodle.org/mod/forum/discuss.php?d=45245].&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Export questions]]&lt;br /&gt;
[[Category:Questions]]&lt;/div&gt;</summary>
		<author><name>Scotru</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=WebCT_format&amp;diff=34053</id>
		<title>WebCT format</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=WebCT_format&amp;diff=34053"/>
		<updated>2008-03-27T09:04:34Z</updated>

		<summary type="html">&lt;p&gt;Scotru: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The WebCT import filter is in development and does not support all of the WebCT question types.&lt;br /&gt;
&lt;br /&gt;
At the time of writing this, only Multiple Choice and Short answer questions are supported.&lt;br /&gt;
&lt;br /&gt;
Here are some examples of these questions in a text file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Start of question: Short Answer Question&lt;br /&gt;
:TYPE:S:&lt;br /&gt;
:TITLE:Short Answer Question&lt;br /&gt;
:QUESTION:H&lt;br /&gt;
What is the name of the WebCT Learning Hub?&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
:IMAGE:dotcomLogoc.gif&lt;br /&gt;
:ANSWERS:1&lt;br /&gt;
:CASE:0&lt;br /&gt;
:ANSWER1:WebCT.com:100:0:20:0&lt;br /&gt;
:FEEDBACK1:H&lt;br /&gt;
Be sure to visit the Learning Hub\: www.WebCT.com&lt;br /&gt;
:CAT:Default&lt;br /&gt;
# End of question: Short Answer Question&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Start of question: Multiple Choice Question&lt;br /&gt;
:TYPE:MC:1:0:C&lt;br /&gt;
:TITLE:Multiple Choice Question&lt;br /&gt;
:FEEDBACK&lt;br /&gt;
Darwin invented the theory of evolution and created Darwinism.&lt;br /&gt;
:QUESTION:H&lt;br /&gt;
Where is the Darwin Research Center?&lt;br /&gt;
:IMAGE:&lt;br /&gt;
:LAYOUT:vertical&lt;br /&gt;
:ANSWER1:0:H&lt;br /&gt;
Menlo Park, California&lt;br /&gt;
:REASON1:H&lt;br /&gt;
Sorry!&lt;br /&gt;
:ANSWER2:0:H&lt;br /&gt;
Vancouver, Canada&lt;br /&gt;
:REASON2:H&lt;br /&gt;
Sorry!&lt;br /&gt;
:ANSWER3:100:H&lt;br /&gt;
Galapagos Islands, Ecuador&lt;br /&gt;
:REASON3:H&lt;br /&gt;
Correct Answer!&lt;br /&gt;
:ANSWER4:0:H&lt;br /&gt;
London, England&lt;br /&gt;
:REASON4:H&lt;br /&gt;
Sorry!&lt;br /&gt;
:ANSWER5:0:H&lt;br /&gt;
Sidney, Australia&lt;br /&gt;
:REASON5:H&lt;br /&gt;
Sorry!&lt;br /&gt;
:CAT:Default&lt;br /&gt;
# End of question: Multiple Choice Question&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Scotru</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=Import_questions&amp;diff=34051</id>
		<title>Import questions</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=Import_questions&amp;diff=34051"/>
		<updated>2008-03-27T09:04:01Z</updated>

		<summary type="html">&lt;p&gt;Scotru: /* Question formats */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Questions}}&lt;br /&gt;
&lt;br /&gt;
Moodle provides a number of different formats to import questions into question banks. Some enable imports to be made from proprietary quiz software, others provide questions to be imported from human-readable text files and others provide Moodle specific formats to enable transfer of questions between quiz banks. &lt;br /&gt;
&lt;br /&gt;
In the case of the text formats (in particular GIFT), once you get to know a format, it may be easier to simply type the questions into a text file than to use the web interface. You can just keep typing instead of waiting for new web pages to load for each question.&lt;br /&gt;
&lt;br /&gt;
The available formats vary with the version of Moodle and if it is a quiz or lesson module.  &lt;br /&gt;
&lt;br /&gt;
== Question formats ==&lt;br /&gt;
&lt;br /&gt;
*[[GIFT]] - Moodle &#039;proprietary&#039; text format for import and export. Reasonably comprehensive.&lt;br /&gt;
*[[Moodle XML]] - Moodle &#039;proprietary&#039; xml format for import and export. Very comprehensive. &lt;br /&gt;
*[[Aiken]] - This format is an easy way of writing multiple-choice questions for import.&lt;br /&gt;
*Missing Word -If you’re going to write a lot of missing word multiple choice questions, the missing word format is an easy way to create them.&lt;br /&gt;
*AON - This format is the same as the missing word format, except it creates matching questions from the multiple choice questions. Please note that from Moodle 1.8 it will no longer be part of the standard Moodle.&lt;br /&gt;
*Blackboard - From Moodle 1.7 onwards, if you&#039;re converting from Blackboard to Moodle, you can export your course and then import the question pools into Moodle using the Blackboard &amp;quot;POOL&amp;quot; type export format. It relies on XML functions being compiled into your PHP. Note that you must first unpack the exported zip file and provide Moodle with the appropriate .dat file. Note that this version does not work with Blackboard Version 6 and newer. (Use this format for ExamView 5 or 6)&lt;br /&gt;
*Blackboard V6+ - This module can import questions saved in Blackboard&#039;s export format. It provides limited support for Blackboard Version 6 and 7. It relies on XML functions being compiled into your PHP. You must upload the zip file exported from Blackboard.&lt;br /&gt;
*[[WebCT format]] - This format supports importing multiple choice and short answers questions from WebCT&#039;s text format.&lt;br /&gt;
*Course Test Manager - This format enables you to import questions from the Course Test Manager from Course Technology.&lt;br /&gt;
*Embedded Answers (Cloze) - This format is a multiple question, multiple answer question with embedded answers. They can be a bit tricky to develop, but they are a unique way of asking questions.&lt;br /&gt;
* Importing from Examview - ExamView 4 supported an XML export format that Moodle can import.  If you are using a newer version of ExamView, you should export using Blackboard, extract the zip archive ExamView creates, then import in Moodle using Blackboard format (do not use 6+ format for moodle import, even though exam view calls this a Blackboard6+ file--it isn&#039;t).  You can choose one of the &amp;quot;.dat&amp;quot; files from the ExamView archive to import.  Note that images are not currently imported.  See http://www.rose-prism.org/moodle/mod/resource/view.php?id=6788 and http://www.rose-prism.org/moodle/mod/forum/discuss.php?d=1451&lt;br /&gt;
&lt;br /&gt;
== Character encoding ==&lt;br /&gt;
&lt;br /&gt;
Prior to Moodle 1.6 the question file was assumed to be encoded in the same way as the language being used within the Moodle site. With Moodle 1.6 and onwards it is assumed that the imported file is encoded in UTF8. If it is not an external tool must be used to change the encoding. Note that if only basic &#039;latin&#039; characters are used, then the coding issue can generally be ignored. Be particularly careful when creating questions using Microsoft Word. For reasons best known to themselves, Microsoft used their own encoding for some characters and this is likely to break the import.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*The help file available from the help button next to the import file button gives a lot of detail about each format.&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=51316 escaping problem in gift import?] forum discussion&lt;br /&gt;
*[[Converting files to UTF-8]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Importer des questions]]&lt;/div&gt;</summary>
		<author><name>Scotru</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=Import_questions&amp;diff=34049</id>
		<title>Import questions</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=Import_questions&amp;diff=34049"/>
		<updated>2008-03-27T09:01:51Z</updated>

		<summary type="html">&lt;p&gt;Scotru: /* Question formats */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Questions}}&lt;br /&gt;
&lt;br /&gt;
Moodle provides a number of different formats to import questions into question banks. Some enable imports to be made from proprietary quiz software, others provide questions to be imported from human-readable text files and others provide Moodle specific formats to enable transfer of questions between quiz banks. &lt;br /&gt;
&lt;br /&gt;
In the case of the text formats (in particular GIFT), once you get to know a format, it may be easier to simply type the questions into a text file than to use the web interface. You can just keep typing instead of waiting for new web pages to load for each question.&lt;br /&gt;
&lt;br /&gt;
The available formats vary with the version of Moodle and if it is a quiz or lesson module.  &lt;br /&gt;
&lt;br /&gt;
== Question formats ==&lt;br /&gt;
&lt;br /&gt;
*[[GIFT]] - Moodle &#039;proprietary&#039; text format for import and export. Reasonably comprehensive.&lt;br /&gt;
*[[Moodle XML]] - Moodle &#039;proprietary&#039; xml format for import and export. Very comprehensive. &lt;br /&gt;
*[[Aiken]] - This format is an easy way of writing multiple-choice questions for import.&lt;br /&gt;
*Missing Word -If you’re going to write a lot of missing word multiple choice questions, the missing word format is an easy way to create them.&lt;br /&gt;
*AON - This format is the same as the missing word format, except it creates matching questions from the multiple choice questions. Please note that from Moodle 1.8 it will no longer be part of the standard Moodle.&lt;br /&gt;
*Blackboard - From Moodle 1.7 onwards, if you&#039;re converting from Blackboard to Moodle, you can export your course and then import the question pools into Moodle using the Blackboard &amp;quot;POOL&amp;quot; type export format. It relies on XML functions being compiled into your PHP. Note that you must first unpack the exported zip file and provide Moodle with the appropriate .dat file. Note that this version does not work with Blackboard Version 6 and newer. (Use this format for ExamView 5 or 6)&lt;br /&gt;
*Blackboard V6+ - This module can import questions saved in Blackboard&#039;s export format. It provides limited support for Blackboard Version 6 and 7. It relies on XML functions being compiled into your PHP. You must upload the zip file exported from Blackboard.&lt;br /&gt;
*WebCT - This format supports importing multiple choice and short answers questions from WebCT&#039;s text format.&lt;br /&gt;
*Course Test Manager - This format enables you to import questions from the Course Test Manager from Course Technology.&lt;br /&gt;
*Embedded Answers (Cloze) - This format is a multiple question, multiple answer question with embedded answers. They can be a bit tricky to develop, but they are a unique way of asking questions.&lt;br /&gt;
* Importing from Examview - ExamView 4 supported an XML export format that Moodle can import.  If you are using a newer version of ExamView, you should export using Blackboard, extract the zip archive ExamView creates, then import in Moodle using Blackboard format (do not use 6+ format for moodle import, even though exam view calls this a Blackboard6+ file--it isn&#039;t).  You can choose one of the &amp;quot;.dat&amp;quot; files from the ExamView archive to import.  Note that images are not currently imported.  See http://www.rose-prism.org/moodle/mod/resource/view.php?id=6788 and http://www.rose-prism.org/moodle/mod/forum/discuss.php?d=1451&lt;br /&gt;
&lt;br /&gt;
== Character encoding ==&lt;br /&gt;
&lt;br /&gt;
Prior to Moodle 1.6 the question file was assumed to be encoded in the same way as the language being used within the Moodle site. With Moodle 1.6 and onwards it is assumed that the imported file is encoded in UTF8. If it is not an external tool must be used to change the encoding. Note that if only basic &#039;latin&#039; characters are used, then the coding issue can generally be ignored. Be particularly careful when creating questions using Microsoft Word. For reasons best known to themselves, Microsoft used their own encoding for some characters and this is likely to break the import.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*The help file available from the help button next to the import file button gives a lot of detail about each format.&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=51316 escaping problem in gift import?] forum discussion&lt;br /&gt;
*[[Converting files to UTF-8]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Importer des questions]]&lt;/div&gt;</summary>
		<author><name>Scotru</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=Aiken_format&amp;diff=34048</id>
		<title>Aiken format</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=Aiken_format&amp;diff=34048"/>
		<updated>2008-03-27T08:57:45Z</updated>

		<summary type="html">&lt;p&gt;Scotru: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Aiken format is a very simple way of creating multiple choice questions using a clear human-readable format. The question must be all on one line.  Each answer must start with a single-letter character, followed by a period &#039;.&#039; or a bracket &#039;)&#039;, then a space.  The answer line must immediately follow, starting with &amp;quot;ANSWER:&amp;quot; and then giving the appropriate letter. Here is an example of the format:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;What is the correct answer to this question?&lt;br /&gt;
A. Is it this one?&lt;br /&gt;
B. Maybe this answer?&lt;br /&gt;
C. Possibly this one?&lt;br /&gt;
D. Must be this one!&lt;br /&gt;
ANSWER: D&lt;br /&gt;
&lt;br /&gt;
Which LMS has the most quiz import formats?&lt;br /&gt;
A) Moodle&lt;br /&gt;
B) ATutor&lt;br /&gt;
C) Claroline&lt;br /&gt;
D) Blackboard&lt;br /&gt;
E) WebCT&lt;br /&gt;
F) Ilias&lt;br /&gt;
ANSWER: A&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Hints and Tips===&lt;br /&gt;
&lt;br /&gt;
* Add your hints and tips here&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Import questions]]&lt;br /&gt;
*[[GIFT]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Questions]]&lt;/div&gt;</summary>
		<author><name>Scotru</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=Aiken&amp;diff=34047</id>
		<title>Aiken</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=Aiken&amp;diff=34047"/>
		<updated>2008-03-27T08:57:27Z</updated>

		<summary type="html">&lt;p&gt;Scotru: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#Redirect [[Aiken Format]]&lt;/div&gt;</summary>
		<author><name>Scotru</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=Aiken&amp;diff=34046</id>
		<title>Aiken</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=Aiken&amp;diff=34046"/>
		<updated>2008-03-27T08:56:57Z</updated>

		<summary type="html">&lt;p&gt;Scotru: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[#Redirect:Aiken Format]]&lt;/div&gt;</summary>
		<author><name>Scotru</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=Aiken&amp;diff=34045</id>
		<title>Aiken</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=Aiken&amp;diff=34045"/>
		<updated>2008-03-27T08:55:50Z</updated>

		<summary type="html">&lt;p&gt;Scotru: /* See also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Aiken format is a very simple way of creating multiple choice questions using a clear human-readable format. The question must be all on one line.  Each answer must start with a single-letter character, followed by a period &#039;.&#039; or a bracket &#039;)&#039;, then a space.  The answer line must immediately follow, starting with &amp;quot;ANSWER:&amp;quot; and then giving the appropriate letter. Here is an example of the format:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;What is the correct answer to this question?&lt;br /&gt;
A. Is it this one?&lt;br /&gt;
B. Maybe this answer?&lt;br /&gt;
C. Possibly this one?&lt;br /&gt;
D. Must be this one!&lt;br /&gt;
ANSWER: D&lt;br /&gt;
&lt;br /&gt;
Which LMS has the most quiz import formats?&lt;br /&gt;
A) Moodle&lt;br /&gt;
B) ATutor&lt;br /&gt;
C) Claroline&lt;br /&gt;
D) Blackboard&lt;br /&gt;
E) WebCT&lt;br /&gt;
F) Ilias&lt;br /&gt;
ANSWER: A&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Hints and Tips===&lt;br /&gt;
&lt;br /&gt;
* Add your hints and tips here&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Import questions]]&lt;br /&gt;
*[[GIFT]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Questions]]&lt;/div&gt;</summary>
		<author><name>Scotru</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=Aiken&amp;diff=34044</id>
		<title>Aiken</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=Aiken&amp;diff=34044"/>
		<updated>2008-03-27T08:54:48Z</updated>

		<summary type="html">&lt;p&gt;Scotru: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Aiken format is a very simple way of creating multiple choice questions using a clear human-readable format. The question must be all on one line.  Each answer must start with a single-letter character, followed by a period &#039;.&#039; or a bracket &#039;)&#039;, then a space.  The answer line must immediately follow, starting with &amp;quot;ANSWER:&amp;quot; and then giving the appropriate letter. Here is an example of the format:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;What is the correct answer to this question?&lt;br /&gt;
A. Is it this one?&lt;br /&gt;
B. Maybe this answer?&lt;br /&gt;
C. Possibly this one?&lt;br /&gt;
D. Must be this one!&lt;br /&gt;
ANSWER: D&lt;br /&gt;
&lt;br /&gt;
Which LMS has the most quiz import formats?&lt;br /&gt;
A) Moodle&lt;br /&gt;
B) ATutor&lt;br /&gt;
C) Claroline&lt;br /&gt;
D) Blackboard&lt;br /&gt;
E) WebCT&lt;br /&gt;
F) Ilias&lt;br /&gt;
ANSWER: A&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Hints and Tips===&lt;br /&gt;
&lt;br /&gt;
* Add your hints and tips here&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Export questions]]&lt;br /&gt;
[[Category:Questions]]&lt;br /&gt;
*[[GIFT]]&lt;/div&gt;</summary>
		<author><name>Scotru</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=Aiken&amp;diff=34043</id>
		<title>Aiken</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=Aiken&amp;diff=34043"/>
		<updated>2008-03-27T08:53:00Z</updated>

		<summary type="html">&lt;p&gt;Scotru: /* &amp;quot;Aiken&amp;quot; format */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The Aiken format is a very simple way of creating multiple choice questions using a clear human-readable format. The question must be all on one line.  Each answer must start with a single-letter character, followed by a period &#039;.&#039; or a bracket &#039;)&#039;, then a space.  The answer line must immediately follow, starting with &amp;quot;ANSWER:&amp;quot; and then giving the appropriate letter. Here is an example of the format:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;What is the correct answer to this question?&lt;br /&gt;
A. Is it this one?&lt;br /&gt;
B. Maybe this answer?&lt;br /&gt;
C. Possibly this one?&lt;br /&gt;
D. Must be this one!&lt;br /&gt;
ANSWER: D&lt;br /&gt;
&lt;br /&gt;
Which LMS has the most quiz import formats?&lt;br /&gt;
A) Moodle&lt;br /&gt;
B) ATutor&lt;br /&gt;
C) Claroline&lt;br /&gt;
D) Blackboard&lt;br /&gt;
E) WebCT&lt;br /&gt;
F) Ilias&lt;br /&gt;
ANSWER: A&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Scotru</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=Aiken&amp;diff=34042</id>
		<title>Aiken</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=Aiken&amp;diff=34042"/>
		<updated>2008-03-27T08:51:11Z</updated>

		<summary type="html">&lt;p&gt;Scotru: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== &amp;quot;Aiken&amp;quot; format ==&lt;br /&gt;
&lt;br /&gt;
The Aiken format is a very simple way of creating multiple choice questions using a clear human-readable format. Here is an example of the format:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;What is the correct answer to this question?&lt;br /&gt;
A. Is it this one?&lt;br /&gt;
B. Maybe this answer?&lt;br /&gt;
C. Possibly this one?&lt;br /&gt;
D. Must be this one!&lt;br /&gt;
ANSWER: D&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;Which LMS has the most quiz import formats?&lt;br /&gt;
A) Moodle&lt;br /&gt;
B) ATutor&lt;br /&gt;
C) Claroline&lt;br /&gt;
D) Blackboard&lt;br /&gt;
E) WebCT&lt;br /&gt;
F) Ilias&lt;br /&gt;
ANSWER: A&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The question must be all on one line.&lt;br /&gt;
&lt;br /&gt;
Each answer must start with a single-letter character, followed by a period &#039;.&#039; or a bracket &#039;)&#039;, then a space.&lt;br /&gt;
&lt;br /&gt;
The answer line must immediately follow, starting with &amp;quot;ANSWER:&amp;quot; and then giving the appropriate letter.&lt;/div&gt;</summary>
		<author><name>Scotru</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=Aiken&amp;diff=34041</id>
		<title>Aiken</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=Aiken&amp;diff=34041"/>
		<updated>2008-03-27T08:50:13Z</updated>

		<summary type="html">&lt;p&gt;Scotru: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;quot;Aiken&amp;quot; format&lt;br /&gt;
===================&lt;br /&gt;
The Aiken format is a very simple way of creating multiple choice questions using a clear human-readable format. Here is an example of the format:&lt;br /&gt;
&lt;br /&gt;
What is the correct answer to this question?&lt;br /&gt;
A. Is it this one?&lt;br /&gt;
B. Maybe this answer?&lt;br /&gt;
C. Possibly this one?&lt;br /&gt;
D. Must be this one!&lt;br /&gt;
ANSWER: D&lt;br /&gt;
&lt;br /&gt;
Which LMS has the most quiz import formats?&lt;br /&gt;
A) Moodle&lt;br /&gt;
B) ATutor&lt;br /&gt;
C) Claroline&lt;br /&gt;
D) Blackboard&lt;br /&gt;
E) WebCT&lt;br /&gt;
F) Ilias&lt;br /&gt;
ANSWER: A&lt;br /&gt;
&lt;br /&gt;
The question must be all on one line.&lt;br /&gt;
&lt;br /&gt;
Each answer must start with a single-letter character, followed by a period &#039;.&#039; or a bracket &#039;)&#039;, then a space.&lt;br /&gt;
&lt;br /&gt;
The answer line must immediately follow, starting with &amp;quot;ANSWER:&amp;quot; and then giving the appropriate letter.&lt;/div&gt;</summary>
		<author><name>Scotru</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=Import_questions&amp;diff=34040</id>
		<title>Import questions</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=Import_questions&amp;diff=34040"/>
		<updated>2008-03-27T08:48:40Z</updated>

		<summary type="html">&lt;p&gt;Scotru: /* Question formats */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Questions}}&lt;br /&gt;
&lt;br /&gt;
Moodle provides a number of different formats to import questions into question banks. Some enable imports to be made from proprietary quiz software, others provide questions to be imported from human-readable text files and others provide Moodle specific formats to enable transfer of questions between quiz banks. &lt;br /&gt;
&lt;br /&gt;
In the case of the text formats (in particular GIFT), once you get to know a format, it may be easier to simply type the questions into a text file than to use the web interface. You can just keep typing instead of waiting for new web pages to load for each question.&lt;br /&gt;
&lt;br /&gt;
The available formats vary with the version of Moodle and if it is a quiz or lesson module.  &lt;br /&gt;
&lt;br /&gt;
== Question formats ==&lt;br /&gt;
&lt;br /&gt;
*[[GIFT]] - Moodle &#039;proprietary&#039; text format for import and export. Reasonably comprehensive.&lt;br /&gt;
*[[Moodle XML]] - Moodle &#039;proprietary&#039; xml format for import and export. Very comprehensive. &lt;br /&gt;
*[[Aiken]] - This format is an easy way of writing multiple-choice questions for import.&lt;br /&gt;
*Missing Word -If you’re going to write a lot of missing word multiple choice questions, the missing word format is an easy way to create them.&lt;br /&gt;
*AON - This format is the same as the missing word format, except it creates matching questions from the multiple choice questions. Please note that from Moodle 1.8 it will no longer be part of the standard Moodle.&lt;br /&gt;
*Blackboard - From Moodle 1.7 onwards, if you&#039;re converting from Blackboard to Moodle, you can export your course and then import the question pools into Moodle using the Blackboard format.&lt;br /&gt;
*WebCT - In Moodle 1.7 this format supports importing multiple choice and short answers questions from WebCT.&lt;br /&gt;
*Course Test Manager - This format enables you to import questions from the Course Test Manager from Course Technology.&lt;br /&gt;
*Embedded Answers (Cloze) - This format is a multiple question, multiple answer question with embedded answers. They can be a bit tricky to develop, but they are a unique way of asking questions.&lt;br /&gt;
* Importing from Examview - ExamView 4 supported an XML export format that Moodle can import.  If you are using a newer version of ExamView, you should export using Blackboard, extract the zip archive ExamView creates, then import in Moodle using Blackboard format (do not use 6+ format for moodle import, even though exam view calls this a Blackboard6+ file--it isn&#039;t).  You can choose one of the &amp;quot;.dat&amp;quot; files from the ExamView archive to import.  Note that images are not currently imported.  See http://www.rose-prism.org/moodle/mod/resource/view.php?id=6788 and http://www.rose-prism.org/moodle/mod/forum/discuss.php?d=1451&lt;br /&gt;
&lt;br /&gt;
== Character encoding ==&lt;br /&gt;
&lt;br /&gt;
Prior to Moodle 1.6 the question file was assumed to be encoded in the same way as the language being used within the Moodle site. With Moodle 1.6 and onwards it is assumed that the imported file is encoded in UTF8. If it is not an external tool must be used to change the encoding. Note that if only basic &#039;latin&#039; characters are used, then the coding issue can generally be ignored. Be particularly careful when creating questions using Microsoft Word. For reasons best known to themselves, Microsoft used their own encoding for some characters and this is likely to break the import.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*The help file available from the help button next to the import file button gives a lot of detail about each format.&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=51316 escaping problem in gift import?] forum discussion&lt;br /&gt;
*[[Converting files to UTF-8]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Importer des questions]]&lt;/div&gt;</summary>
		<author><name>Scotru</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=GIFT_format&amp;diff=34039</id>
		<title>GIFT format</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=GIFT_format&amp;diff=34039"/>
		<updated>2008-03-27T08:35:55Z</updated>

		<summary type="html">&lt;p&gt;Scotru: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;With GIFT format you can write multiple-choice, true-false, short answer, matching and numerical questions in a text editor in a simple format. For large numbers of questions, GIFT is likely to provide the quickest way of bulk loading your questions.&lt;br /&gt;
[[Image:Gift.jpg|frame|left|screen shot from quiz help file documentation]]&amp;lt;br style=&amp;quot;clear:both;&amp;quot;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
At least one blank line must be left between each question.&lt;br /&gt;
&lt;br /&gt;
Here is an [http://moodle.org/file.php/5/moddata/forum/121/236161/GIFT-examples.zip GIFT example] for quiz-import, easy to copy and change ...&lt;br /&gt;
&lt;br /&gt;
The file &#039;&#039;&#039;must&#039;&#039;&#039; be correctly encoded in [[UTF8]]. Beware of some of Microsoft&#039;s &amp;quot;fake&amp;quot; Unicode implementation which is not compatible and may result in strange characters appearing in your quizzes. &lt;br /&gt;
&lt;br /&gt;
Here is a 2-column GIFT format reference sheet I created for a training:&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf GIFT Reference Sheet]&lt;br /&gt;
&lt;br /&gt;
===Hints and Tips===&lt;br /&gt;
&lt;br /&gt;
* Use the ::title:: at the beginning of every question to organize this for you (01 - testquestion), otherwise it would be difficult to find the right question for changes, moodle will take the beginning of every question as internal title.&lt;br /&gt;
* In the Lesson module, in a question page, correct answers jump by default to Next page and incorrect answers jump to This page (i.e. student has to &amp;quot;try again&amp;quot;). When importing from a GIFT format file, this is exactly the mechanism which is used.&lt;br /&gt;
* If you want a student to be taken directly from one question to the next irrespective of their answer being correct or incorrect: in the Lesson Settings, set Maximum number of attempts: to 1. Please note, however, that a message &amp;quot;correct / incorrect&amp;quot; will still be displayed to the student upon answering each question. If you do not want this (default) feedback message to be displayed then enter your own feedback message (i.e. &amp;quot;continue&amp;quot;, &amp;quot;---&amp;quot;, etc.) In case you want no visible message displayed then enter a non-breaking space as feedback, so you&#039;ll have to put a # after the answer which may be ~3 and &#039;&#039;&#039;write &amp;amp; n b s p ; after that.(without spaces between these characters)&#039;&#039;&#039;&lt;br /&gt;
* If you want to use curly braces, { or }, or equal sign, =, or # or ~ in a GIFT file (for example in a math question including TeX expressions) you must &amp;quot;escape&amp;quot; them by preceding them with a \ directly in front of each { or } or =. It is possible to use a replace program/macro/editor filter to do this conversion before importing to Moodle.&lt;br /&gt;
* There are Word macros available for easily creating GIFT files. See [http://www.soberit.hut.fi/sprg/resources/moodle/GiftConverter.html].&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Export questions]]&lt;br /&gt;
[[Category:Questions]]&lt;/div&gt;</summary>
		<author><name>Scotru</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=GIFT_format&amp;diff=34038</id>
		<title>GIFT format</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=GIFT_format&amp;diff=34038"/>
		<updated>2008-03-27T08:35:19Z</updated>

		<summary type="html">&lt;p&gt;Scotru: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;With GIFT format you can write multiple-choice, true-false, short answer, matching and numerical questions in a text editor in a simple format. For large numbers of questions, GIFT is likely to provide the quickest way of bulk loading your questions.&lt;br /&gt;
[[Image:Gift.jpg|frame|left|screen shot from quiz help file documentation]]&amp;lt;br style=&amp;quot;clear:both;&amp;quot;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
At least one blank line must be left between each question.&lt;br /&gt;
&lt;br /&gt;
Here is an [http://moodle.org/file.php/5/moddata/forum/121/236161/GIFT-examples.zip GIFT example] for quiz-import, easy to copy and change ...&lt;br /&gt;
&lt;br /&gt;
The file &#039;&#039;&#039;must&#039;&#039;&#039; be correctly encoded in [[UTF8]]. Beware of some of Microsoft&#039;s &amp;quot;fake&amp;quot; Unicode implementation which is not compatible and may result in strange characters appearing in your quizzes. &lt;br /&gt;
&lt;br /&gt;
Here is a 2-column GIFT format reference sheet I created for a training:  --[[User:Rudy Scott|Rudy Scott]] 03:35, 27 March 2008 (CDT)&lt;br /&gt;
*[http://buypct.com/gift_reference.pdf GIFT Reference Sheet]&lt;br /&gt;
&lt;br /&gt;
===Hints and Tips===&lt;br /&gt;
&lt;br /&gt;
* Use the ::title:: at the beginning of every question to organize this for you (01 - testquestion), otherwise it would be difficult to find the right question for changes, moodle will take the beginning of every question as internal title.&lt;br /&gt;
* In the Lesson module, in a question page, correct answers jump by default to Next page and incorrect answers jump to This page (i.e. student has to &amp;quot;try again&amp;quot;). When importing from a GIFT format file, this is exactly the mechanism which is used.&lt;br /&gt;
* If you want a student to be taken directly from one question to the next irrespective of their answer being correct or incorrect: in the Lesson Settings, set Maximum number of attempts: to 1. Please note, however, that a message &amp;quot;correct / incorrect&amp;quot; will still be displayed to the student upon answering each question. If you do not want this (default) feedback message to be displayed then enter your own feedback message (i.e. &amp;quot;continue&amp;quot;, &amp;quot;---&amp;quot;, etc.) In case you want no visible message displayed then enter a non-breaking space as feedback, so you&#039;ll have to put a # after the answer which may be ~3 and &#039;&#039;&#039;write &amp;amp; n b s p ; after that.(without spaces between these characters)&#039;&#039;&#039;&lt;br /&gt;
* If you want to use curly braces, { or }, or equal sign, =, or # or ~ in a GIFT file (for example in a math question including TeX expressions) you must &amp;quot;escape&amp;quot; them by preceding them with a \ directly in front of each { or } or =. It is possible to use a replace program/macro/editor filter to do this conversion before importing to Moodle.&lt;br /&gt;
* There are Word macros available for easily creating GIFT files. See [http://www.soberit.hut.fi/sprg/resources/moodle/GiftConverter.html].&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Export questions]]&lt;br /&gt;
[[Category:Questions]]&lt;/div&gt;</summary>
		<author><name>Scotru</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=GIFT_format&amp;diff=34036</id>
		<title>GIFT format</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=GIFT_format&amp;diff=34036"/>
		<updated>2008-03-27T08:28:55Z</updated>

		<summary type="html">&lt;p&gt;Scotru: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;With GIFT format you can write multiple-choice, true-false, short answer, matching and numerical questions in a text editor in a simple format. For large numbers of questions, GIFT is likely to provide the quickest way of bulk loading your questions.&lt;br /&gt;
[[Image:Gift.jpg|frame|left|screen shot from quiz help file documentation]]&amp;lt;br style=&amp;quot;clear:both;&amp;quot;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
At least one blank line must be left between each question.&lt;br /&gt;
&lt;br /&gt;
Here is an [http://moodle.org/file.php/5/moddata/forum/121/236161/GIFT-examples.zip GIFT example] for quiz-import, easy to copy and change ...&lt;br /&gt;
&lt;br /&gt;
The file &#039;&#039;&#039;must&#039;&#039;&#039; be correctly encoded in [[UTF8]]. Beware of some of Microsoft&#039;s &amp;quot;fake&amp;quot; Unicode implementation which is not compatible and may result in strange characters appearing in your quizzes. &lt;br /&gt;
&lt;br /&gt;
===Hints and Tips===&lt;br /&gt;
&lt;br /&gt;
* Use the ::title:: at the beginning of every question to organize this for you (01 - testquestion), otherwise it would be difficult to find the right question for changes, moodle will take the beginning of every question as internal title.&lt;br /&gt;
* In the Lesson module, in a question page, correct answers jump by default to Next page and incorrect answers jump to This page (i.e. student has to &amp;quot;try again&amp;quot;). When importing from a GIFT format file, this is exactly the mechanism which is used.&lt;br /&gt;
* If you want a student to be taken directly from one question to the next irrespective of their answer being correct or incorrect: in the Lesson Settings, set Maximum number of attempts: to 1. Please note, however, that a message &amp;quot;correct / incorrect&amp;quot; will still be displayed to the student upon answering each question. If you do not want this (default) feedback message to be displayed then enter your own feedback message (i.e. &amp;quot;continue&amp;quot;, &amp;quot;---&amp;quot;, etc.) In case you want no visible message displayed then enter a non-breaking space as feedback, so you&#039;ll have to put a # after the answer which may be ~3 and &#039;&#039;&#039;write &amp;amp; n b s p ; after that.(without spaces between these characters)&#039;&#039;&#039;&lt;br /&gt;
* If you want to use curly braces, { or }, or equal sign, =, or # or ~ in a GIFT file (for example in a math question including TeX expressions) you must &amp;quot;escape&amp;quot; them by preceding them with a \ directly in front of each { or } or =. It is possible to use a replace program/macro/editor filter to do this conversion before importing to Moodle.&lt;br /&gt;
* There are Word macros available for easily creating GIFT files. See [http://www.soberit.hut.fi/sprg/resources/moodle/GiftConverter.html].&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Export questions]]&lt;br /&gt;
*[[GIFT Reference]]&lt;br /&gt;
[[Category:Questions]]&lt;/div&gt;</summary>
		<author><name>Scotru</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=GIFT_format&amp;diff=34035</id>
		<title>GIFT format</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=GIFT_format&amp;diff=34035"/>
		<updated>2008-03-27T08:28:40Z</updated>

		<summary type="html">&lt;p&gt;Scotru: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;With GIFT format you can write multiple-choice, true-false, short answer, matching and numerical questions in a text editor in a simple format. For large numbers of questions, GIFT is likely to provide the quickest way of bulk loading your questions.&lt;br /&gt;
[[Image:Gift.jpg|frame|left|screen shot from quiz help file documentation]]&amp;lt;br style=&amp;quot;clear:both;&amp;quot;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
At least one blank line must be left between each question.&lt;br /&gt;
&lt;br /&gt;
Here is an [http://moodle.org/file.php/5/moddata/forum/121/236161/GIFT-examples.zip GIFT example] for quiz-import, easy to copy and change ...&lt;br /&gt;
&lt;br /&gt;
The file &#039;&#039;&#039;must&#039;&#039;&#039; be correctly encoded in [[UTF8]]. Beware of some of Microsoft&#039;s &amp;quot;fake&amp;quot; Unicode implementation which is not compatible and may result in strange characters appearing in your quizzes. &lt;br /&gt;
&lt;br /&gt;
===Hints and Tips===&lt;br /&gt;
&lt;br /&gt;
* Use the ::title:: at the beginning of every question to organize this for you (01 - testquestion), otherwise it would be difficult to find the right question for changes, moodle will take the beginning of every question as internal title.&lt;br /&gt;
* In the Lesson module, in a question page, correct answers jump by default to Next page and incorrect answers jump to This page (i.e. student has to &amp;quot;try again&amp;quot;). When importing from a GIFT format file, this is exactly the mechanism which is used.&lt;br /&gt;
* If you want a student to be taken directly from one question to the next irrespective of their answer being correct or incorrect: in the Lesson Settings, set Maximum number of attempts: to 1. Please note, however, that a message &amp;quot;correct / incorrect&amp;quot; will still be displayed to the student upon answering each question. If you do not want this (default) feedback message to be displayed then enter your own feedback message (i.e. &amp;quot;continue&amp;quot;, &amp;quot;---&amp;quot;, etc.) In case you want no visible message displayed then enter a non-breaking space as feedback, so you&#039;ll have to put a # after the answer which may be ~3 and &#039;&#039;&#039;write &amp;amp; n b s p ; after that.(without spaces between these characters)&#039;&#039;&#039;&lt;br /&gt;
* If you want to use curly braces, { or }, or equal sign, =, or # or ~ in a GIFT file (for example in a math question including TeX expressions) you must &amp;quot;escape&amp;quot; them by preceding them with a \ directly in front of each { or } or =. It is possible to use a replace program/macro/editor filter to do this conversion before importing to Moodle.&lt;br /&gt;
* There are Word macros available for easily creating GIFT files. See [http://www.soberit.hut.fi/sprg/resources/moodle/GiftConverter.html].&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Export questions]]&lt;br /&gt;
[[GIFT Reference]]&lt;br /&gt;
[[Category:Questions]]&lt;/div&gt;</summary>
		<author><name>Scotru</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=Import_questions&amp;diff=34031</id>
		<title>Import questions</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=Import_questions&amp;diff=34031"/>
		<updated>2008-03-27T06:05:06Z</updated>

		<summary type="html">&lt;p&gt;Scotru: /* Question formats */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Questions}}&lt;br /&gt;
&lt;br /&gt;
Moodle provides a number of different formats to import questions into question banks. Some enable imports to be made from proprietary quiz software, others provide questions to be imported from human-readable text files and others provide Moodle specific formats to enable transfer of questions between quiz banks. &lt;br /&gt;
&lt;br /&gt;
In the case of the text formats (in particular GIFT), once you get to know a format, it may be easier to simply type the questions into a text file than to use the web interface. You can just keep typing instead of waiting for new web pages to load for each question.&lt;br /&gt;
&lt;br /&gt;
The available formats vary with the version of Moodle and if it is a quiz or lesson module.  &lt;br /&gt;
&lt;br /&gt;
== Question formats ==&lt;br /&gt;
&lt;br /&gt;
*[[GIFT]] - Moodle &#039;proprietary&#039; text format for import and export. Reasonably comprehensive.&lt;br /&gt;
*[[Moodle XML]] - Moodle &#039;proprietary&#039; xml format for import and export. Very comprehensive. &lt;br /&gt;
*Aiken - This format is an easy way of writing multiple-choice questions for import.&lt;br /&gt;
*Missing Word -If you’re going to write a lot of missing word multiple choice questions, the missing word format is an easy way to create them.&lt;br /&gt;
*AON - This format is the same as the missing word format, except it creates matching questions from the multiple choice questions. Please note that from Moodle 1.8 it will no longer be part of the standard Moodle.&lt;br /&gt;
*Blackboard - From Moodle 1.7 onwards, if you&#039;re converting from Blackboard to Moodle, you can export your course and then import the question pools into Moodle using the Blackboard format.&lt;br /&gt;
*WebCT - In Moodle 1.7 this format supports importing multiple choice and short answers questions from WebCT.&lt;br /&gt;
*Course Test Manager - This format enables you to import questions from the Course Test Manager from Course Technology.&lt;br /&gt;
*Embedded Answers (Cloze) - This format is a multiple question, multiple answer question with embedded answers. They can be a bit tricky to develop, but they are a unique way of asking questions.&lt;br /&gt;
* Importing from Examview - ExamView 4 supported an XML export format that Moodle can import.  If you are using a newer version of ExamView, you should export using Blackboard, extract the zip archive ExamView creates, then import in Moodle using Blackboard format (do not use 6+ format for moodle import, even though exam view calls this a Blackboard6+ file--it isn&#039;t).  You can choose one of the &amp;quot;.dat&amp;quot; files from the ExamView archive to import.  Note that images are not currently imported.  See http://www.rose-prism.org/moodle/mod/resource/view.php?id=6788 and http://www.rose-prism.org/moodle/mod/forum/discuss.php?d=1451&lt;br /&gt;
&lt;br /&gt;
== Character encoding ==&lt;br /&gt;
&lt;br /&gt;
Prior to Moodle 1.6 the question file was assumed to be encoded in the same way as the language being used within the Moodle site. With Moodle 1.6 and onwards it is assumed that the imported file is encoded in UTF8. If it is not an external tool must be used to change the encoding. Note that if only basic &#039;latin&#039; characters are used, then the coding issue can generally be ignored. Be particularly careful when creating questions using Microsoft Word. For reasons best known to themselves, Microsoft used their own encoding for some characters and this is likely to break the import.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*The help file available from the help button next to the import file button gives a lot of detail about each format.&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=51316 escaping problem in gift import?] forum discussion&lt;br /&gt;
*[[Converting files to UTF-8]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Importer des questions]]&lt;/div&gt;</summary>
		<author><name>Scotru</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/28/en/index.php?title=Import_questions&amp;diff=34030</id>
		<title>Import questions</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/28/en/index.php?title=Import_questions&amp;diff=34030"/>
		<updated>2008-03-27T06:03:29Z</updated>

		<summary type="html">&lt;p&gt;Scotru: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Questions}}&lt;br /&gt;
&lt;br /&gt;
Moodle provides a number of different formats to import questions into question banks. Some enable imports to be made from proprietary quiz software, others provide questions to be imported from human-readable text files and others provide Moodle specific formats to enable transfer of questions between quiz banks. &lt;br /&gt;
&lt;br /&gt;
In the case of the text formats (in particular GIFT), once you get to know a format, it may be easier to simply type the questions into a text file than to use the web interface. You can just keep typing instead of waiting for new web pages to load for each question.&lt;br /&gt;
&lt;br /&gt;
The available formats vary with the version of Moodle and if it is a quiz or lesson module.  &lt;br /&gt;
&lt;br /&gt;
== Question formats ==&lt;br /&gt;
&lt;br /&gt;
*[[GIFT]] - Moodle &#039;proprietary&#039; text format for import and export. Reasonably comprehensive.&lt;br /&gt;
*[[Moodle XML]] - Moodle &#039;proprietary&#039; xml format for import and export. Very comprehensive. &lt;br /&gt;
*Aiken - This format is an easy way of writing multiple-choice questions for import.&lt;br /&gt;
*Missing Word -If you’re going to write a lot of missing word multiple choice questions, the missing word format is an easy way to create them.&lt;br /&gt;
*AON - This format is the same as the missing word format, except it creates matching questions from the multiple choice questions. Please note that from Moodle 1.8 it will no longer be part of the standard Moodle.&lt;br /&gt;
*Blackboard - From Moodle 1.7 onwards, if you&#039;re converting from Blackboard to Moodle, you can export your course and then import the question pools into Moodle using the Blackboard format.&lt;br /&gt;
*WebCT - In Moodle 1.7 this format supports importing multiple choice and short answers questions from WebCT.&lt;br /&gt;
*Course Test Manager - This format enables you to import questions from the Course Test Manager from Course Technology.&lt;br /&gt;
*Embedded Answers (Cloze) - This format is a multiple question, multiple answer question with embedded answers. They can be a bit tricky to develop, but they are a unique way of asking questions.&lt;br /&gt;
* Importing from Examview - ExamView 4.1 supported an XML export format that Moodle can import.  If you are using a newer version of ExamView, you should export using Blackboard, extract the zip archive, then import a .dat file using Blackboard format (do not use 6+ format for moodle import, even though exam view calls this a Blackboard6+ file--it isn&#039;t.  Note that images are not currently imported. &lt;br /&gt;
&lt;br /&gt;
See http://www.rose-prism.org/moodle/mod/resource/view.php?id=6788 and http://www.rose-prism.org/moodle/mod/forum/discuss.php?d=1451&lt;br /&gt;
&lt;br /&gt;
== Character encoding ==&lt;br /&gt;
&lt;br /&gt;
Prior to Moodle 1.6 the question file was assumed to be encoded in the same way as the language being used within the Moodle site. With Moodle 1.6 and onwards it is assumed that the imported file is encoded in UTF8. If it is not an external tool must be used to change the encoding. Note that if only basic &#039;latin&#039; characters are used, then the coding issue can generally be ignored. Be particularly careful when creating questions using Microsoft Word. For reasons best known to themselves, Microsoft used their own encoding for some characters and this is likely to break the import.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*The help file available from the help button next to the import file button gives a lot of detail about each format.&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=51316 escaping problem in gift import?] forum discussion&lt;br /&gt;
*[[Converting files to UTF-8]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Importer des questions]]&lt;/div&gt;</summary>
		<author><name>Scotru</name></author>
	</entry>
</feed>