Be sure to look at the source code of the examples. A CGI script interprets the input of the form and returns the quiz score to the user. I have created a multiple choice quiz template, but the CGI script that the form points to is not as sophisticated. It merely sends the results of the form via email to me. If you would like to use the template, copy the source script, edit the script appropriately, and contact Mosaic Mail Gateway for permission to use their mail gateway.
Forms can also provide an alternative to email.
The user can type a message into a text field created by the author of the form. A CGI script reads the message and forwards it via email back to the author. This may be useful for teachers if students do not have email accounts but do have access to a WWW browser. The students then have an easy way to send messages to their teacher. Mail gateways exist at some sites which will automatically forward the information provided on a form to the author.