Common Computer Science References
At the end of this lesson, you will be able to:
understand and use recursion
Towers of Hanoi
what is a recursion
a function that calls itself
read "Functions", Chapter 3, Computer Based Problem Solving
read "Recursion"
go here and play the "Towers of Hanoi" game
here is a really good video explaining each step
good explanation of algorithm:
Python example code:
here is my example as well:
the Towers of Hanio is one of the most famous recursive algorithm that you will see in computer science (meaning you will see it next year!)
here is the Wikipedia entry (including solution)
create a program that does the "Towers of Hanoi"
it will just be text based (although graphical would be really cool!)
starter code here: https://github.com/Mr-Coxall/TowersOfHanoi-Starter
do the above in a second language