This program was written for my daughter when she started grade 1 (Philippines). Over the past 5 months program was gradually extended with new exercises (as new topics were introduced in school), and now is pretty much complete. It has been tested thoroughly by my daughter (6) for the past 3 months. She is using it 30 minutes almost every day.
Program has 12 exercises:
1) + - (three levels - can be set via setup menu)
2) 10*10 (multiplication table - for higher grades - can be set from 5*5 to 12*12)
3) *
4) 100/10 (division table - can be set from 25/5 to 144/12)
5) /
------------------------------
6) > = <
7) Before Between After
8) Odd Even
9) missing number in sequence (three levels of difficulty)
10) Position value
11) Fractions (graphics)
12) Clock (graphics)
Program is written in Racket 8.6 compiler (Scheme) on x86 PC running Linux, but it is also compiled and tested on my daughters rpi4B.
It can be downloaded from: https://hrvoje064.itch.io/jasnas-math-quiz
There are 3 standalone executable versions for raspberry pi:
raspberry pi OS 32
raspberry pi OS 64
raspberry pi Ubuntu 64
Re: math quiz/training program for grade 1
If you install racket on a Pi withhrvoje064 wrote: ↑Fri Sep 16, 2022 5:03 amThis program was written for my daughter when she started grade 1 (Philippines). Over the past 5 months program was gradually extended with new exercises (as new topics were introduced in school), and now is pretty much complete. It has been tested thoroughly by my daughter (6) for the past 3 months. She is using it 30 minutes almost every day.
Program has 12 exercises:
1) + - (three levels - can be set via setup menu)
2) 10*10 (multiplication table - for higher grades - can be set from 5*5 to 12*12)
3) *
4) 100/10 (division table - can be set from 25/5 to 144/12)
5) /
------------------------------
6) > = <
7) Before Between After
8) Odd Even
9) missing number in sequence (three levels of difficulty)
10) Position value
11) Fractions (graphics)
12) Clock (graphics)
Program is written in Racket 8.6 compiler (Scheme) on x86 PC running Linux, but it is also compiled and tested on my daughters rpi4B.
It can be downloaded from: https://hrvoje064.itch.io/jasnas-math-quiz
There are 3 standalone executable versions for raspberry pi:
raspberry pi OS 32
raspberry pi OS 64
raspberry pi Ubuntu 64
# apt install racket
does the source version just work?
Re: math quiz/training program for grade 1
I don't think you can install racket on a pi like that, but maybe I'm wrong. I always installed by downloading source + binary packages directly from Racket site. The compilation/installation takes 1 hour.
Anyway, once you have Racket installed and working, math-quiz source works. Load it in DrRacket IDE and just click run.
Having said that, binary tarballs also just work.
Hrvoje
Anyway, once you have Racket installed and working, math-quiz source works. Load it in DrRacket IDE and just click run.
Having said that, binary tarballs also just work.
Hrvoje
Re: math quiz/training program for grade 1
Racket is in the standard repository so can be installed with apt, it is version 7.9 as standard but 8.5 is in bullseye-backports. (for 64 bit, I've not checked the 32-bit repos)
Re: math quiz/training program for grade 1
Thanks, was not aware of that. I only installed 64 bit version few days ago on Pi. Last time (few months ago, while I was working on math-quiz) when I checked Internet on how to install Racket on Pi, the only information I found, was to download sources+binary packages and compile. No biggie, was doing that with x86 Linux for the past 30 years.
Anyway, this also gives you the latest version, which is 8.6.
Anyway, this also gives you the latest version, which is 8.6.
Re: math quiz/training program for grade 1
If you install racket on a Pi with
# apt install racket
does the source version just work?
[/quote]
I can give you a better answer now. I installed on rpi_ubuntu_64 racket with
# apt install racket, and I got v 8.2.
The source will not run properly. It starts but eventually, it will crash. As I said before, you need minimum racket 8.5
# apt install racket
does the source version just work?
[/quote]
I can give you a better answer now. I installed on rpi_ubuntu_64 racket with
# apt install racket, and I got v 8.2.
The source will not run properly. It starts but eventually, it will crash. As I said before, you need minimum racket 8.5
Re: math quiz/training program for grade 1
Thanks for the follow up. Is the crash from bugs in the old version of racket? I wonder if there is a work around.
Re: math quiz/training program for grade 1
I did not spend more than 30 seconds looking at error report. It was something about not understanding "send" inside one macro.
I only remember that I opened Position Value exercise, and it failed to show the number, because one of the digits was supposed to be red, and that is where the send was coming from.
Anyway, where's the problem? Just download Unix source + built packages, and compile it.
The following works best for me:
cd into racket8.6/src directory
mkdir build
cd build
../configure --prefix=/usr/local
make
sudo make install
Of course you will need GCC and make installed.
I only remember that I opened Position Value exercise, and it failed to show the number, because one of the digits was supposed to be red, and that is where the send was coming from.
Anyway, where's the problem? Just download Unix source + built packages, and compile it.
The following works best for me:
cd into racket8.6/src directory
mkdir build
cd build
../configure --prefix=/usr/local
make
sudo make install
Of course you will need GCC and make installed.
Re: math quiz/training program for grade 1
Just a brief update. Version 2.12 is posted. It is just a small addition to (+ -) exercises. There are 4 levels now, with new level 0 included just to force a student to learn fast calculation without using fingers for counting of numbers between 1 and 18. If you ask why 18? look at this example (from level 3): 338 - 229. To calculate that, 18-9 is the first operation. That's why 18 is the limit for level 0.
Re: math quiz/training program for grade 1
ejolson wrote: ↑Fri Sep 16, 2022 5:18 amIf you install racket on a Pi withhrvoje064 wrote: ↑Fri Sep 16, 2022 5:03 am---
It can be downloaded from: https://hrvoje064.itch.io/jasnas-math-quiz
There are 3 standalone executable versions for raspberry pi:
raspberry pi OS 32
raspberry pi OS 64
raspberry pi Ubuntu 64
# apt install racket
does the source version just work?
ubu@rpi4-20230313
-----------------
OS: Debian GNU/Linux 12 (bookworm) aarch64
Host: Raspberry Pi 400 Rev 1.0
Kernel: 6.1.0-7-arm64
Uptime: 17 mins
Packages: 2370 (dpkg)
Shell: bash 5.2.15
Resolution: 1920x1080
Terminal: /dev/pts/1
CPU: (4) @ 1.800GHz
Memory: 1204MiB / 3778MiB
root@rpi4-20230313:/home/ubu/Downloads# racket --version
Welcome to Racket v8.7 [cs]
-----------------------------------------------
root@rpi4-20230313:/home/ubu/Downloads# racket math-quiz-v2-12.rkt
Font init file .jmq-fontsrc not found!
Setting default fonts.
.
Code: Select all
# racket math-quiz-v2-12.rkt
The code just woks on Debian 12 ( and can be explored using any text editor)
The code also woks on rPi4 , Debian GNU/Linux 11 (bullseye) aarch64-------------------------------------------
S: Debian GNU/Linux 11 (bullseye) aarch64
Host: Raspberry Pi 4 Model B Rev 1.1
Kernel: 6.1.21-v8+
Uptime: 6 hours, 19 mins
Packages: 1998 (dpkg)
Shell: bash 5.1.4
Resolution: 1364x768
DE: LXDE
WM: Openbox
Theme: PiXflat [GTK3]
Icons: PiXflat [GTK3]
Terminal: lxterminal
Terminal Font: Monospace 10
CPU: BCM2835 (4) @ 1.500GHz
Memory: 997MiB / 3793MiB
-------------------------------------------
pi@raspberrypi:~/Downloads $ racket --version
Welcome to Racket v7.9 [bc].
-------------------------------------------
pi@raspberrypi:~/Downloads $ racket math-quiz-v2-12.rkt
Font init file .jmq-fontsrc not found!
Setting default fonts.
-------------------------------------------
Re: math quiz/training program for grade 1
New version of the program has been posted on the same site as before ( https://hrvoje064.itch.io/jasnas-math-quiz ).
Two new exercises have been added; Arabic->Roman and Roman->Arabic number conversions.
My daughter is now in grade II ( pun intended
), so this is just to update the math-quiz to her current level.
Two new exercises have been added; Arabic->Roman and Roman->Arabic number conversions.
My daughter is now in grade II ( pun intended

Re: math quiz/training program for grade 1
A new version (v3.1) has been uploaded. One new exercise is added; Change Return (money).
Now the program contains 5 arithmetic exercises, and 10 non arithmetic exercises.
Now the program contains 5 arithmetic exercises, and 10 non arithmetic exercises.
Re: math quiz/training program for grade 1
Program has been updated to v3.1.1 . This just changes the way program reacts to errors in Change Return exercise.
Simply, it does not clear the input fields as soon as "check" button was clicked.
Instead, it first processes the answer, and then clears input fields if answer was either correct, or empty.
It does not clear anything if error was reported, giving the user a chance to correct just the fields containing the wrong inputs.
Re: math quiz/training program for grade 1
Math Quiz has been updated to version v3.3
The last addition is alphabetical sorting of (5) words, as per latest lessons taught in my daughter's school.
The last addition is alphabetical sorting of (5) words, as per latest lessons taught in my daughter's school.
Re: math quiz/training program for grade 1
The latest version of math-quiz have been posted, v 3.3.9. The last addition is 5 levels to previously existing clock exercise.
Level 1 - just read the clock (as before), 2 - read the clock and enter +/- 1 hour, 3 - enter +/- 60,30 minutes, 4 - enter +/- 60,30,15 minutes, 5 - enter +/- random time from 10m to 3h30m.
Level 1 - just read the clock (as before), 2 - read the clock and enter +/- 1 hour, 3 - enter +/- 60,30 minutes, 4 - enter +/- 60,30,15 minutes, 5 - enter +/- random time from 10m to 3h30m.
Re: math quiz/training program for grade 1
V 3.5.1 has been posted. It includes skip counting exercises, with increments from 2-10
Re: math quiz/training program for grade 1
Program has been extended with text described exercises, or as they call it here in schools GAPESA (Given, Asked, Process, Equation, Solution, Answer). There are 16 (+) only problems, 15 (-) only problems, and 19 (+-) problems. However, note that all of these problems get different numeric values, each time they are run, so they are never the same.
Hrvoje
https://hrvoje064.itch.io/jasnas-math-quiz
Hrvoje
https://hrvoje064.itch.io/jasnas-math-quiz
Re: math quiz/training program for grade 1
I have uploaded a new version. I realized, while my daughter was working with the GAPESA exercises, that my earlier error message was inadequate. Only reporting that the number entered is wrong, does not help the kid, because she's not sure whether her equation is wrong, or she made mistake in calculation, or both. So normally she would be stuck there.hrvoje064 wrote: ↑Tue Sep 19, 2023 1:12 pmProgram has been extended with text described exercises, or as they call it here in schools GAPESA (Given, Asked, Process, Equation, Solution, Answer). There are 16 (+) only problems, 15 (-) only problems, and 19 (+-) problems. However, note that all of these problems get different numeric values, each time they are run, so they are never the same.
Hrvoje
https://hrvoje064.itch.io/jasnas-math-quiz
Now, on erroneous answer, the program also prints the correct equation.
Re: math quiz/training program for grade 1
A new version v3.8 has been uploaded. This includes a full set of text given problems: +, -, +-, *, /, and combination of all. The algorithm has been changed to accommodate the complexity of problems involving multiplication and division.hrvoje064 wrote: ↑Fri Sep 22, 2023 8:18 amI have uploaded a new version. I realized, while my daughter was working with the GAPESA exercises, that my earlier error message was inadequate. Only reporting that the number entered is wrong, does not help the kid, because she's not sure whether her equation is wrong, or she made mistake in calculation, or both. So normally she would be stuck there.hrvoje064 wrote: ↑Tue Sep 19, 2023 1:12 pmProgram has been extended with text described exercises, or as they call it here in schools GAPESA (Given, Asked, Process, Equation, Solution, Answer). There are 16 (+) only problems, 15 (-) only problems, and 19 (+-) problems. However, note that all of these problems get different numeric values, each time they are run, so they are never the same.
Hrvoje
https://hrvoje064.itch.io/jasnas-math-quiz
Now, on erroneous answer, the program also prints the correct equation.