Exercise:   Converting Circles of Evaluation to Code

Exercise: Converting Circles of Evaluation to Code

Directions: For each Circle of Evaluation on the left, write down the code on the right:
  • (rotate 20 (triangle (- 45 6) "solid" "gold"))
  • (scale (+ 4 6) (rectangle 5 8 "outline" "pink"))
  • (rectangle (/ 20 2) 30 "solid" "black")
  • (rotate 255 (scale 3 (ellipse 30 10 "solid" "gray")))
  • (+ 15 (image-height (circle 16 "outline" "teal")))