Remember:
-
some useful code for writing inequalities:
>=
<=
<>
-
and
expressions return true when both subexpressions return true -
or
expressions return true when at least one subexpression returns true==
Expression | Circles of Evaluation | Code |
---|---|---|
13 is less than or equal to 9, |
(or (<= 13 9) (<> 2 -3))
|
|
What will this evaluate to? Why? True. The 2nd expression is true; |
||
3 is greater than or equal to 5, |
|
|
What will this evaluate to? Why? |
||
6 is less than or equal to 6, |
|
|
What will this evaluate to? Why? |
||
3 is not equal to 2, |
|
|
What will this evaluate to? |
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.