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

examples: mystery​(​30​) is 30 * 50 mystery​(​10​) is text​(​"Welcome!", 10, "darkgreen"​) end

2

examples: mystery​(​30, 40​) is 40 - (​2 * 30​) mystery​(​10, 15​) is 15 - (​2 * 10​) end

3

examples: mystery​(​"New York"​) is text​(​"New York", 20, "red"​) mystery​(​20​) is text​(​"New York", 20, "red"​) end

4

examples: mystery​(​"green", 32​) is circle​(​32, "outline", "green"​) mystery​(​18, "green"​) is circle​(​18, "outline", "green"​) end

5

examples: mystery​(​6, 9, 10​) is 6 / (​9 + 10​) mystery​(​3, 7​) is 3 / (​7 + 10​) end

6

examples: mystery​(​"red", "blue"​) is text​(​"blue", 25, "red"​) mystery​(​"purple", "Go Team!"​) is text​(​"Go Team!", 25, "purple"​) end

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.