Make sure you’ve opened the Table Methods Starter File on your computer.
1 What name is being defined on line 8?
2 How many columns are listed?
3 What name is being defined on line 15?
4 Is cat-row
a Number, String, Image or Row?
5 Type cat-row
into the Interactions Area. What do you get?
6 A Contract for a function is written on line 32. What is its name?
7 What is its Domain?
8 What is its Range?
9 All 3 of the examples on lines 38-40 do the same thing, at different levels of abstraction. Think about what each example is doing and write a similar example using dog-row
Examples with cat-row |
Similar examples with dog-row |
---|---|
|
|
What is this example doing? |
|
|
|
What is this example doing? |
|
|
|
What is this example doing? |
10 What other functions are defined here?
11 Evaluate is-dog(dog-row)
. What do you get?
12 Evaluate is-dog(cat-row)
. What do you get?
13 What does is-old
do?
14 What does lookup-name
do?
15 What does lookup-fixed
do?
16 What does label
do?
17 What does kilos
do?
These materials were developed partly through support of the National Science Foundation, (awards 1042210, 1535276, 1648684, and 1738598). 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.