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.
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?
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>
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>
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>
</QUESTION>