Philosophy of Computer Science
Last Update: 11 June 2010
material is highlighted
Warning: Some of these images are rather large.
A real recipe
- Considered as an algorithm, what's wrong with it?
- Could you translate it into your favorite programming
language (e.g., Java, Lisp, etc.)?
A recipe for water
A simple algorithm for computing your birthdate
"Dilbert": a simple algorithm
"Motley's Crew": a simple procedure
"Willy 'n Ethel": a recursive algorithm
(with base case = mustard)???
"Shoe": a named procedure
"Hagar the Horrible": an incomplete algorithm
"Nancy": an ambiguous instruction
"Shoe": another ambiguous instruction
A real-life procedure with an extremely
ambiguous (because highly context-dependent) first statement
"Nancy": a procedure for learning to ride
a bike, with an infinite loop
algorithm for a snowman
"Zits": how to put clean
laundry in a room.
"In the Event of a Strike, How to Open the Doors",
New York Times (20 April): A15.
Copyright © 2004–2010 by
William J. Rapaport