CS241: Spring 2017 -- Lecture 4
Conway's life
Lab 2
debugging (why you want to write
displayNbrs()
and how to)
Implementing a torus nicely
what else do you need to know?
Two quotes I was fond of 10 (or was that 20?) years ago
Of hardware: "If it's delivered, it's obsolete!".
"The computing revolution has not properly started yet."
Are they still true?
Of hardware: pretty much; Moore's "law" is a scary thing
In general, maybe it is underway...
Google
Amazon
Facebook
iPod/iPhone
Wikipedia
Open Source Software (including Java/NetBeans, well, until recently...)
Our first sort; random sort...
while (!allInOrder()) swap the values at two randomly chosen positions
What is its running time on a list of length n (as a function of n)?