1 Open Variables & the Associative Property Starter File. On the table below, record your Noticings and Wonderings about what you see there. Consider how this starter file is different from Variables & the Commutative Property Starter File. Don’t hit "Run" yet!

Notice Wonder

2 Based on what you see in the Definitions Window (left side), predict what will happen when you hit "Run" by circling your choice below.

All examples pass

3 examples pass, 1 fails

2 examples pass, 2 fail

1 example passes, 3 fail

3 Explain how you made your prediction (above).

4 Click "Run". Were you correct? Explain.

5 Give four sets of values for a, b and c that will cause both example 3 and example 4 to fail. Try them out!

a = b = c = a = b = c =

a = b = c = a = b = c =

6 Are there any sets of values for a, b, and c that will cause example 1 or example 2 to fail? If so, list them here:

7 Are any of the examples true every time, no matter what values we use for a, b, and c? If so, which ones?

8 Are any of the examples true some of the time, depending on what values we use for a, b, and c? If so, which ones?

9 Deena wants to edit the starter file’s code so that when she hits "Run", all four tests pass. She suggests changing all the values of the variables so that a, b, and c are each equal to zero. Do you agree with her idea? Before deciding, feel free to test out the idea! Explain.

Can you think of any values for a, b, and c that will result in all four tests passing?

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