CompSci 94 - Classwork 20- November 19, 2013
10 pts

Today's classwork first gives you practice with recursion through three exercises.


You will experiment with Recursion, another way of doing repetition.

  1. Problem 1 is the Mystery function on another sheet of paper.

  2. Load the animation Chap08HorseRace.a2w from the CompSci 4 web page under the calendar for today. Run the animation to see what it does.

    For the following, write down to turn in an explanation of what happens.

    Consider the Race method.

  3. Load the animation BunnyInGarden.a2w from the CompSci 4 web page. Write the recursive method world.BunnysMeet to do the following (make sure your method uses recursion).