Are the images produced by the two lines of code identical - or will they look different? With your partner, make a prediction, referring to your contracts as needed. Test the code in WeScheme. Explain your response. We’ve partially completed the first one for you.

Code Prediction Result Explain

1

(square 100 "solid" "red")

(square (* 50 50) "solid" "red")

No

The shapes are not equivalent because 50 * 50 is not equal to 100.

2

(square 40 "solid" "deeppink")

(rectangle 40 40 "solid" "deeppink")

3

(radial-star 6 20 50 "solid" "red")

(radial-star 20 6 50 "solid" "red")

4

(radial-star 6 20 50 "solid" "red")

(radial-star (+ 3 3) (* 4 5) 50 "solid" "red")

5

(circle 60 "outline" "tomato")

(ellipse 60 60 "outline" "tomato")

6

(star 75 "outline" "pink")

(star 75 "pink" "outline")

7

(circle 60 "solid" "lime")

(ellipse 120 120 "solid" "lime")

These materials were developed partly through support of the National Science Foundation, (awards 1042210, 1535276, 1648684, 1738598, 2031479, and 1501927). 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.