22a. Recursion Quiz 2

Ice cream quiz.

An ice cream cone can have strawberry, vanilla, or chocolate ice cream scoops. The number of scoops is unlimited, specified by the string of flavors that is input.

ice-cream: string -> image

(ice-cream "chocolate vanilla strawberry strawberry chocolate")

Detailed Instructions

  1. Build up to all of the flavors by first picking a single flavor and creating a cone for only that flavor.
  2. Write checks as we have discussed in class. It is worth your time!
  3. Permitted resources: Picturing Programs book and Racket Help Desk. No old homework or notes.

Grading

  • Flawless single flavor cone = 70%
  • Good tests = +10%
  • Multi-flavor cone, no problems: 90%.
  • Penalty for untested code, or errors when tested -5.

F.A.Q.

  • You may write any helper functions that you want.
Last modified August 18, 2023: 2022-2023 End State (7352e87)