Lab 11: Recursion
- Part 0: Worksheet
- Part 1: Recursive Numbers and Characters (non-fruitful)
- Part 2: Recursive Turtles (non-fruitful)
- Use CyberDuck to SFTP into one of your accounts on the
- On the server, navigate to the
- Download the
lab11folder to your Desktop (by dragging and dropping it from the CyberDuck window)
- Open Canopy and load the
lab11folder in the Canopy File Browser pane
Here is the youtube playlist with all the videos for this lab. You can see the complete video list below, and videos are also embedded in lab web pages.
- (1/6) Worksheet Review Section 1 of 3 | Download | Captions
- (2/6) Worksheet Review Section 2 of 3 | Download | Captions
- (3/6) Worksheet Review Section 3 of 3 | Download | Captions
- (4/6) Lab Tasks Part 1 asteriskTriangles | Download | Captions
- (5/6) Lab Tasks Part 2 Recursive Turtles Intro | Download | Captions
- (6/6) Lab Tasks Part 2: doubleDiagonal | Download | Captions
Table of Contents
- Lab 11 Home
- Tips: Thinking about recursive problems...
- Part 0: Warm-up
- Part 1: Recursive Characters
- Part 2: Recursive Turtles
- Reference: Recursive Design Patterns Sheet
- How has your understanding of loops and repetitive actions changed since you started this class?
Show "Answer"There's no right answer here, but we hope that you feel you have a more refined and explicit understanding of how repetitive processes start and stop, and what kinds of patterns they might exhibit. It may not be obvious (which is why we're asking this question), but by thinking a lot about loops, and where they should start and stop, what should happen in each iteration, etc., you are developing a new way to think about certain problems. And we're about to do that again with recursion.
- What is "wishful thinking?"
Show AnswerWishful thinking is when you assume that you have already solved a problem before starting to solve it. It's a process of willing suspension of disbelief, just like when you get absorbed in a good story and are willing to excuse inaccuracies or exaggerations for the sake of the plot (except maybe a little less entertaining a more deliberate). If used carefully and with precision, it can be helpful in solving recursive problems.