A quiz CGI is one of those things, like message boards, that everyone who learns a CGI language writes eventually. queenofstripesmentionedher fluorescence test recently, so I did a quick quiz program for it. You can take it here. I probably should've made it have a pastable version of all answers on the results page, since it's one of those answer-sharing tests and not a parade-your-number affair—but that's too much work at the moment, especially as I jumbled the questions around when I categorized them.
It's rather a nice quiz program, if I do say so myself (have a gander here, techie). I only implemented yes/no questions (and sections and headers) though.