You have created and saved the following Transformers. (Read them carefully!)

filter-is-fixed

Transformer: Filter

Expression: Fixed = true

filter-is-young

Transformer: Filter

Expression: Age < 4

filter-is-female

Transformer: Filter

Expression: Sex = “female”

build-kilos

Transformer: Build Attribute

Name of new attribute: Kilos

Expression: Weight (lbs) / 2.2

filter-is-heavy

Transformer: Filter

Expression: Kilos > 25

filter-is-dog

Transformer: Filter

Expression: Species = “dog”

filter-is-cat

Transformer: Filter

Expression: Species = "cat"

Solve the word problems below using the Transformers listed above.

Prompt

Does order matter?

List the transformers in order.

Use function notation to predict the table’s name.

1

Create a table of all female cats.

No

Apply filter-is-female.

Apply filter-is-cat.

filter-is-cat(filter-is-female(animals-table))

2

Create a table of all young, fixed animals.

3

Create a table of all female dogs, converting their weight to kilograms.

4

Create a table of all heavy dogs.

5

Create a table of all young, fixed dogs, sorted from lightest to heaviest.

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