A short quiz program for paulgerhard
Posted: Tue May 31, 2005 5:58 pm
A quiz program for paulgerhard; uses a .dat file to list questions and up to 8 multiple-choice answers, opens quiz questions in a window with radio buttons for choosing answers, and returns a score.
This .zip contains two programs; One test program that presents the test to the test-takers, and an editor for the test creator to make new tests.
The test program is commented extensively for assistance in understanding how JB works.
The encoder is rather ugly, and has very little commenting. Sorry. It works; what more do you want?
This updated version uses encryption to make it more difficult for test-takers to cheat by opening the .dat file and peeking at the answers. (It converts most of the quiz elements to ASCII values and adds a bunch of stuff together for the correct answer value)
Also, it over-writes the original test file with the results when it calculates scores to prevent people from finishing the test and re-opening it once they have the correct answers. (This version saves a backup; this should be commented out when the final .TKN is made)
Finally added "Next" and "Back" buttons.
Another day, another update
15SEP05: Fixed problem: test window now closes before scoring when scoring is selected from the menu
This .zip contains two programs; One test program that presents the test to the test-takers, and an editor for the test creator to make new tests.
The test program is commented extensively for assistance in understanding how JB works.
The encoder is rather ugly, and has very little commenting. Sorry. It works; what more do you want?
This updated version uses encryption to make it more difficult for test-takers to cheat by opening the .dat file and peeking at the answers. (It converts most of the quiz elements to ASCII values and adds a bunch of stuff together for the correct answer value)
Also, it over-writes the original test file with the results when it calculates scores to prevent people from finishing the test and re-opening it once they have the correct answers. (This version saves a backup; this should be commented out when the final .TKN is made)
Finally added "Next" and "Back" buttons.
Another day, another update
15SEP05: Fixed problem: test window now closes before scoring when scoring is selected from the menu