e-Mathematics > Guide for Developers

Creating a quiz

A quiz file must be prepared and uploaded as a separate file. It can be prepared in compliance with Maxima-embedded LATEX document, and processed by Perl CGI program quiz.cgi.

Here we created and uploaded the file “quiz.tex” under the folder example, and linked it as follows:

example/quiz.cgi?dataset=quiz

We have the relative path to access files and cgi's; quiz.cgi is http://math.tntech.edu/e-math/example/quiz.cgi, and quiz.tex can be found as http://math.tntech.edu/e-math/example/quiz.tex. The perl CGI script quiz.cgi will then evaluate quiz.tex with Maxima, generate HTML, and display it in the window.

See math.tntech.edu/e-math/calc1 for an example of full implementation.


© TTU Mathematics