Referenced from lesson Simple Inequalities
What would each of the following expressions evaluate to? Write your guesses in the space provided, and then take turns typing them into the computer.
1) |
2) |
3) |
4) |
5) |
6) |
7) |
8) |
8) What does the operator <
do?
9) What does the function string-equal() do?
10) Write the contract(s) for any new function(s) that produce Booleans you’ve seen above in your Contracts page.
11) How many Numbers are there in the entire universe?
12) How many Strings are there in the entire universe?
13) How many Images are there in the entire universe?
14) How many Booleans are there in the entire universe?
What are they?
These materials were developed partly through support of the National Science Foundation,
(awards 1042210, 1535276, 1648684, and 1738598).
Bootstrap:Algebra by Emmanuel Schanzer, Jen Poole, Ed Campos Jr, Flannery Denny, and Dorai Sitaram
is licensed under a
Creative Commons 4.0 Unported License.
Based on a work at www.BootstrapWorld.org.
Permissions beyond the scope of this license may be available by contacting
schanzer@BootstrapWorld.org.