Importing new questions
This function allows you to import questions from external text files.
Several common file formats are supported:
Missing word format
This format only supports multiple choice questions. Each answer is separated with a tilde (~), and the correct answer is prefixed with an equals sign (=). Here is an example:
As soon as we begin to explore our body parts as infants we become students of {=anatomy and physiology ~reflexology ~science ~experiment}, and in a sense we remain students for life.
More info: helpbutton("formatmissingword", "", "quiz") ?>
IMS QTI format
The standard format for Question and Test Interoperability, from IMS.
Not yet implemented
More info: helpbutton("formatqti", "", "quiz") ?>
WebCT format
The format of files exported from WebCT.
Not yet implemented
More info: helpbutton("formatwebct", "", "quiz") ?>
Custom format
If you have your own format that you need to import, you can implement it yourself by editing mod/quiz/format/custom.php
The amount of new code needed is quite small - just enough to parse a single question from given text.
More info: helpbutton("formatcustom", "", "quiz") ?>