blogquiz.cgi is a perl script for scoring blog quizzes. The quiz itself goes on the accompanying html page quiz.html. The source is free for any use.
blogquiz.cgi will grade a multiple-choice quiz form of any number of questions, with any number of outcomes (the categories). It can grade either by majority of questions in a particular category, or by averaging. The default is the former.
You can take the sample quiz to see how it works.
The files you need are quiz.html and blogquiz.cgi. Right-click on the links to download them. You can rename it as required by your host. View blogquiz.cgi to see the installation instructions. Please follow them carefully.