Bits of CS
- On the first day of the Intro to CS course, a written survey asked students a bunch of questions. The overall best answer, given to the question “Why are you here?”, was “Because it’s 12:30 on a Tuesday.”
- I had a student who couldn’t run Java because calls to
Math.sqrtand the like would not compile. A typical error was
Error: The method sqrt(double) is undefined for the type Math
How does such an error arise? I have no idea. Why did
import java.lang.Math;added to the top of the program fix it? I also have no idea. But I am glad it worked!
- Sara and I recently watched Source Code. I didn’t know anything but the title going in to the movie. While I was disappointed by the total lack of programming in the movie, it was pretty great overall. The logic makes sense locally, but doesn’t quite come together if you try to explain the whole thing at once. Sort of like a Klein Bottle of movies.
- You know a project is successful when it starts spawning secondary sub-industries. This seems to have happened with CS Circles: there’s a guy on YouTube giving demos/walkthroughs of some of our exercises!
Filed under: Java, movies, programming | 2 Comments