Skip to main content

Just Basic High Speed Calculations

This morning I wrote my own response to Alfred Thompson's question. I posed his question to my computer programming class last week. They successfully established the two arrays to populate two imaginary card decks but ran out of time before tackling the actual comparison of random card selection.

I actually have another version that replicates the player experience but I like this program because it actually provides the data needed to make a decision. I plan to point out to the class that the benefit of using a computer is that we can run multiple simulations in a fraction of the time a real game would take.

In fact, this morning I set it to run 10,000 games. It was done before I came back with a fresh cup of coffee. Of course, I plan to guide them through the completion of their own program before revealing mine. Which illustrates my second major teaching point: there isn't always one right answer.

download the game code

Popular posts from this blog

Classcraft Interactive Notebook Page

Finished crafting interactive notebook pages for Classcraft, an engaging classroom management tool.

This fall I plan to add interactive notebooks to my classroom procedures. The goal is to provide students with something tangible to take home at the end of the semester. So that means creating or borrowing resources to guide students in developing their notebook.

Classcraft is a classroom management tool, an elaborate punishments and reward system designed like an epic role play game. Students create avatars and can upgrade pets and outfits based on experience and gold points earned. They can also lose points and suffer minor penalties. Everything is done in a fun, game like environment.

The computer lab is already divided into five or six stations, which lends itself easily to guilds or teams of students who work together in the game. I want students to develop their own backstory and choose their characters for the good of the group. I also need students to keep their login info some…

Exploring Science and Math through Music and Messes

If you have ever seen a music video by the music group OK Go, you know that they enjoy experimentation and quirky effects. Now all that energy is available for teachers in the classroom, with maybe slightly less mess.

In cooperation with Google and Morton Salt, they have produced a set of three STEM related lesson plans complete with tie-ins to their most popular videos. You can get your hands dirty in this wonderful playground at the OK Go Sandbox.

Lego Mindstorm Maze Runner

Students were tasked with writing a program for their robot to successfully navigate a preset maze. This used only directional command blocks (no sensors). The goal was to recognize sequencing, patterns and to become comfortable with testing and making modifications based on test results.