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 2 is not equal to -3

(or (<= 13 9) (<> 2 -3))

(​13 <= 9​) or (​2 <> -3​)

What will this evaluate to? Why? True. The 2nd expression is true; or expressions return true if at least one subexpression is true.

3 is greater than or equal to 5,
and 5 is less than 8

What will this evaluate to? Why?

6 is less than or equal to 6,
or 12 is greater than -7

What will this evaluate to? Why?

3 is not equal to 2,
and 3 + 5 is equal to 8

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). 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.