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.
-------------------------------------------