Hi, Jean-Michel
Thank you very much for your comments.
I do not mind using XML format instead of GIFT format. I looked at the Moodle documentation for its XML format for quiz, but it does not mention clearly how I can add hints for interactive questions in the XML format.
Is the below example correct in terms of how I structure xml code for a question? I do not know what <answer fraction="100"> is. I just copied from the documentation. I believe 100% of the grade..
In the documentation, there is not an example of how to write xml codes for hits for interactive questions.
<?xml version="1.0" ?>
<quiz>
<question type="shortanswer">
<name>
<text>Maths question 1</text>
</name>
<questiontext format="html">
<text>1+3=</text>
</questiontext>
</question>
<question type="shortanswer">
<answer fraction="100">
<text>4</text>
<feedback><text>Correct!</text></feedback>
</answer>
<answer fraction="100">
<text>four</text>
<feedback><text>Correct!</text></feedback>
</answer>
</quiz>
If I can export my questions with hints as you mentioned above, then I should be able to see the xml code in the exported file to work out how it is structured....?
I prefer not to use Moodle quiz editor to make individual questions one by one, including hints, as it will be too time consuming.
Kind regards,
Noby