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 30) (* 30 50))
(EXAMPLE (mystery 10)
(text "Welcome!" 10 "darkgreen"))
2
(EXAMPLE (mystery 30 40) (- 40 (* 2 30)))
(EXAMPLE (mystery 10 15) (- 15 (* 2 10)))
3
(EXAMPLE (mystery "New York")
(text "New York" 20 "red"))
(EXAMPLE (mystery 20)
(text "New York" 20 "red"))
4
(EXAMPLE (mystery "green" 32)
(circle 32 "outline" "green"))
(EXAMPLE (mystery 18 "green")
(circle 18 "outline" "green"))
5
(EXAMPLE (mystery 6 9 10) (/ 6 (+ 9 10)))
(EXAMPLE (mystery 3 7) (/ 3 (+ 7 10)))
6
(EXAMPLE (mystery "red" "blue")
(text "blue" 25 "red"))
(EXAMPLE (mystery "purple" "Go Team!")
(text "Go Team!" 25 "purple"))
These materials were developed partly through support of the National Science Foundation, (awards 1042210, 1535276, 1648684, 1738598, 2031479, and 1501927). 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.