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

build-kilos

Transformer: Build Attribute

Name of attribute: kilos

Formula expression: pounds/2.2

order-by-kilos

Transformer: Sort

Formula expression: kilos

Direction: ascending

filter-is-female

Transformer: Filter

Formula expression: sex = “female”

filter-is-heavy

Transformer: Filter

Formula expression: kilos > 25

order-by-sex

Transformer: Sort

Formula expression: sex

Direction: ascending

build-is-female

Transformer: Build Attribute

Name of new attribute: is-female

Formula expression: sex = "female"

The table below represents four animals from the shelter:

name sex age fixed pounds

"Toggle"

"female"

3

true

48

"Fritz"

"male"

4

true

92

"Nori"

"female"

6

true

35.3

"Maple"

"female"

3

true

51.6

Match each set of CODAP instructions to the description of what it does (right). Note: one description might match multiple expressions!

Apply order-by-kilos

1

A

Produces a table containing Toggle, Nori and Maple, with an extra column showing their weight in kilograms

Apply filter-is-female
Next, apply build-kilos

2

B

Produces a table containing Maple, Nori and Toggle (in that order)

Apply build-kilos Next, apply filter-is-heavy

3

C

Produces a table containing only Fritz.

First, apply filter-is-haevy
Next, apply build-kilos

4

D

Won’t run: will produce an error

First, apply build-kilos
Next, apply filter-is-heavy
Next, apply order-by-sex

5

E

Produces a table containing only Fritz, with two extra columns.

Apply build-is-female
Apply build-kilos
Apply filter-is-heavy

6

F

Produces a table containing Maple and Fritz

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.