Take a close look at the Original Circle of Evaluation & Code and how it got simplified.

1 Write the code that must have been used to define the value of sunny.

2 Complete the table using the first row as an example.

Original Circle of Evaluation & Code Use the defined value sunny to simplify!

(scale 3 (radial-star 30 20 50 "solid" "yellow"))

(scale 3 sunny)

scale​(​3, radial-star​(​30, 20, 50, "solid", "yellow"​)​)

Code: scale​(​3, sunny​)

Second Circle of Evaluation & Code Use the defined value sunny to simplify!

(frame (radial-star 30 20 50 "solid" "yellow"))

frame​(​radial-star​(​30, 20, 50, "solid", "yellow"​)​)

Code:

Third Circle of Evaluation & Code Use the defined value sunny to simplify!

(overlay (text "sun" 30 "black") (radial-star 30 20 50 "solid" "yellow"))

overlay​(​text​(​"sun", 30, "black"​), radial-star​(​30, 20, 50, "solid", "yellow"​)​)

Code:

3 Define sunny in the Definitions Area using the code you recorded at the top of the page.

4 Test your code in the editor and make sure it produces what you would expect it to.

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.