For each pair of Examples below, decide whether the two examples have the same contract. If they do, fill in the contract in the space provided. If not, write a few words explaining how you know their contracts aren’t the same.

1

(EXAMPLE (mystery (triangle 70 "solid" "green")) (triangle 140 "solid" "green")) (EXAMPLE (mystery (circle 100 "solid" "blue")) (circle 200 "solid" "blue"))

2

(EXAMPLE (mystery "red") (triangle 140 "solid" "red")) (EXAMPLE (mystery "blue" "circle") (circle 140 "solid" "blue"))

3

(EXAMPLE (mystery "" 4 5) ( 4 5)) (EXAMPLE (mystery "sqrt" 25) (sqrt 25))

4

(EXAMPLE (mystery "circle" 4) (* pi (sqr 4))) (EXAMPLE (mystery "square" 5) (sqr 5))

5

(EXAMPLE (mystery "dog") 3) (EXAMPLE (mystery "cat") "kitten")

6

(EXAMPLE (mystery "dog") 3) (EXAMPLE (mystery "kitten") 6)

These materials were developed partly through support of the National Science Foundation, (awards 1042210, 1535276, 1648684, and 1738598). CCbadge Bootstrap by the Bootstrap Community is licensed under a Creative Commons 4.0 Unported License. This license does not grant permission to run training or professional development. Offering training or professional development with materials substantially derived from Bootstrap must be approved in writing by a Bootstrap Director. Permissions beyond the scope of this license, such as to run training, may be available by contacting contact@BootstrapWorld.org.