I’m giving a quiz on adding & subtracting negative numbers.
There are 4 interesting cases for adding, 6 for subtracting. Provide two problems for each case, makes for a nice 20 question quiz. Thing is, I hate trying to come up with random enough numbers.
So, I wrote a perl script to generate my problems. It took about 5 minutes, and they pasted into my quiz form easy as pie.
The nice thing is, when I wanted a second version of the quiz (I usually make two, because my students share desks) I just gave it a different seed.