In my large intro class I used Robozzle to talk about program control and introduce recursion. Robozzle does use a true call stack and to solve some puzzles (for example, learning stack, recursed, learning stack 2, limit your stack, counting – green) you really need to understand both recursion and how the to use the call stack. This is week [...]
November 30, 2009
Donation price of anarchy
I recently went to a Christmas party where, instead of a gift exchange, there was a donation exchange. Essentially, we each placed a cause’s name into a hat, people draw the names and are asked to donate to the cause. You may donate any amount you wish (including nothing if you are particularly opposed to [...]