go ahead... be a heretic | |
PerlMonks |
Create math homework problemsby t0mas (Priest) |
on Jan 09, 2001 at 14:07 UTC ( [id://50652]=CUFP: print w/replies, xml ) | Need Help?? |
In the the Perl Monks guide to the Monastery we are adviced to post here when we have "automated a part of your life that wouldn't have been possible without the power of Perl" or are "using Perl to do something unique and humorous", so here I go. Last night when I got home from work, I started to help one of my sons to do his homeworks. In Sweden, every boy and girl at his age are supposed to learn how to multiply and to learn the answers of all equations where 1 to 10 are multiplied by 1 to 10. We call this to learn the multiplication tables. We usually do this by me asking him "Whats 7 times 5?" and he aswers "35" and so on until we've done all the numbers. My son doesn't like to do this kind of repeating and unstimulating tasks (somtimes I wish he was less like his father :-) so he gets bored after a short while. After some more questions we are in a full scale war, me giving him all the "It's important to do your homework" talks and he giving me all the stubborn "I don't want to!" answers. This isn't the way neither he nor me wants to spend our evenings. I rather spend them defeating him in some Nintendo game and he rather spend them defeating me. So we needed a solution that made him do his multiplications fast, without complain so we could have some time left for a Nintendo joust. I thought that I might use my sons love for compuers to solve this, so last evening I did a 5 minute perl hack to let him do the multiplications on his own on his computer. It worked perfectly - no arguing - no irritation - just his fingers punching the answers to all the questions and me just looking over his shoulder. Nothing fancy, nothing super cool - but kind of fun and something that automated a boring part of our lives. (Prompts translated to English here)
/brother t0mas
Back to
Cool Uses for Perl
|
|