Referenced from lesson Compound Inequalities: Solutions & Non-Solutions (Spring, 2021)
For each Circle of Evaluation on the left-hand side, write the code for the Circle on the right-hand side
Circle of Evaluation | Code | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 |
(> (+ 4 5) 9)
|
|||||||||||||||||||||||||||||
2 |
(and (< 5 10) (< 10 15))
|
|||||||||||||||||||||||||||||
3 |
(or (== yum "apple") (== yum "banana"))
|
|||||||||||||||||||||||||||||
4 |
(>= (string-length "My Game") 6)
|
|||||||||||||||||||||||||||||
5 |
(or (and (< 1 x) (< x 5)) (and (< 8 x) (< x 10)))
|
These materials were developed partly through support of the National Science Foundation, (awards 1042210, 1535276, 1648684, and 1738598). Bootstrap:Algebra 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.