The table below represents four animals from the shelter:
name | sex | age | fixed | species | pounds |
---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Below is a list of saved Transformers. What table do we get, after applying each one? Match each expressionto the table we get .
Transformer: Sort Formula expression: age Direction: ascending |
1 |
A |
Produces a table with Toggle, Fritz, and Nori - but not Sunflower. |
|
Transformer: Sort Formula expression: pounds Direction: descending |
2 |
B |
Produces a table of all four animals, sorted youngest-to-oldest |
|
Transformer: Filter Formula expressions: Age > 10 |
3 |
C |
Produces a table, with only Toggle. |
|
Transformer: Filter Formula expression: Fixed = TRUE |
4 |
D |
Produces an identical table with an extra column called "dog", whose values are true, true, true, false |
|
Transformer: Filter Formula expression: species = "dog" |
5 |
E |
Produces a table containing only Nori and Toggle. |
|
Transformer: Build Attribute Formula expression: species = "dog" |
6 |
F |
Produces a table with all four animals, sorted from heaviest to lightest. |
|
Transformer: Filter Formula expression: fixed = "TRUE" |
7 |
G |
Won’t run: will produce an error |
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.