Referenced from lesson Table Methods (Spring, 2021)

Make sure you’ve opened the Table Methods Starter File on your computer.

1

Evaluate is-dog(dog-row). What do you get?

2

Evaluate is-cat(cat-row). What do you get?

3

Evaluate is-cat(dog-row). What do you get?

4

Evaluate is-dog(dog-row). What do you get?

5

Evaluate is-dog(cat-row). What do you get?

6

What does is-cat do?

7

What does lookup-fixed do?

8

What does is-old do?

9

What does kilos do?

10

What does nametag do?

11 Find the Contract for image-scatter-plot in your Contracts page, and discuss the Domain as a group.

12 In the Interactions Area, type image-scatter-plot(animals-table, "pounds", "weeks", nametag). What do you get?

13 Change the definition of nametag to produce text with a different color.

14 Change the definition of nametag to produce text with a different size.

15 Change the definition of nametag to produce text using the animal’s species, instead of their name.

16 Change the definition of nametag to produce text using the animal’s age as the size of the text.

These materials were developed partly through support of the National Science Foundation, (awards 1042210, 1535276, 1648684, and 1738598). CCbadge Bootstrap:Data Science 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.