I have made some improvements to the mathematics quiz
apposyans_awrgrymGUI.py in my
taklow-kernewek tools.
There is now a facility to set a difficulty level, either easy where numbers are always 1-10 and negative answers are suppressed, medium allowing numbers up to 20 and hard allowing numbers up to 40.
|
The program asks what 10 + 32 is, the answer of course is 42. |
|
The user has answered the question 19 - 33 incorrectly as -4. The program has repeated the previous question in text and figures along with its answer. |
|
The report at the end shows how many questions were answered correctly, and what the points score was. I may well revise the way this calculated since at present it can reward speed more than accuracy (1 point is given for each correct answer and 10-t for speed where t is the number of seconds taken to answer, up to 10 seconds). |