poludnitsa
Exam & quiz web platform written as a CGI application
...It's primarily written (and runs) on Linux platforms, however, being written in pure ANSI C makes it easily portable to virtually any platform. Poludnitsa stores all information in a PostgreSQL database.
The installation of Poludnitsa is quite straigth-forward: it's as simple as putting two *.cgi files on your Linux web server, creating a text file with the SQL configuration that Poludnitsa should use, and access the administration GUI which will provide a wizard for initial configuration (detailed instructions are provided within the package).