Importing new questions

This function allows you to import questions from external text files, uploaded through a form.

A number of file formats are supported:

Missing Word

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 about the "Missing Word" format

AON

This is the same as Missing Word Format, except that after importing the questions all Short-Answer questions are converted four at a time into Matching Questions.

Additionally, the answers of multiple-choice questions are randomly shuffled during the import.

It's named after an organisation that sponsored the development of many quiz features

Blackboard

This module can import questions saved in Blackboard's export format. It relies on XML functions being compiled into your PHP.

More info about the "Blackboard" format

Custom

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 about the "Custom" format

More formats are yet to come, including WebCT, IMS QTI and whatever else Moodle users can contribute!