Example of a Multiple Choice Question

To see the following question as it would be presented by the gateway, select here.

In the following example, we have omitted some beginning and ending material that is standard HTML. See the section showing the complete source file template for more information. We do show all the material between the <QUESTION...> and </QUESTION> tags.

Question Type

First, we indicate the type of question and give the text of the question itself.

	<QUESTION TYPE=Multiple-Choice>
	
	Who was the first Prime Minister of Canada?

Answer Choices

Then we list the possible answer choices that will be presented to the reader. The ANS= in each <CHOICE...> provides the label for each choice that will appear in the list of choices.

At the end of the choices, we give the correct answer against which supplied answers will be compared.

	<CHOICES>
	<CHOICE ANS=A> Alistair Cooke.
	<CHOICE ANS=B> Pierre Elliot Trudeau.
	<CHOICE ANS=C> Joseph Clark.
	<CHOICE ANS=D> John A. MacDonald.
	<CHOICE ANS=E> None of the above.
	</CHOICES>
	
	<ANSWER ANS=D>

Hints

Sometimes it is useful to provide some hints that will be revealed one at a time upon the reader's request:

	<HINTS>
	<HINT> He drank too much scotch (or maybe it was gin).
	<HINT> He was Scotch.
	<HINT> He said "A British subject I was born, and a Britsh subject I will die.".
	</HINTS>

Responses to Supplied Answers

We list the special responses that we wish to provide when the reader supplies particular answers. Note that not all possible answers are covered here; default responses will be supplied for the missing ones.

	<RESPONSES>
	<WHEN ANS=A> No, you are probably thinking of somewhere else.
	<WHEN ANS=C> Joe Who?
	<WHEN CORRECT> Yeah -- thats the guy!
	</RESPONSES>

The End

Finally, we indicate the end of the question; any material following this will be included verbatim.
	</QUESTION>