Chop It Activity Edits

I am trying to edit the Chop It Activity from Grade 4 so that it only has halves, thirds, fourths, sixths, and eighths. But I am having trouble figuring out how to change the fraction (in computational layer) on pages 4,5,7, and 8. Any help would be appreciated,

There’s a lot going on in this activity! I don’t think anything is really being set in the CL. You can change the directions in the CL of the screen component in the top left. But to actually change the correctness of the screen, you need to click into the graph.

Go to line 184 and change n_{denomShow} = to the denominator you want.
Go to line 222 and change n_{targetNum}= to the numerator you want.
*note: you need to open the Number Line and Tape Diagram folders to find these.

I think that should do it. Let me know if it doesn’t work.

1 Like

That worked! Thanks for finding that and sharing! I was needing the same thing. Now I can easily set other fractions for my kiddos to work with.

As an upgrade… I put the following in the CL for the graph so that it could more easily be set. (It will override whatever is in the graph.)

numerator=1
denominator=3

#sets the target numerator
number(n_{targetNum}): numerator
#sets the target denominator
number(n_{denomShow}): denominator

*Be sure to update the subtitle in the screen CL (top left side) to give the proper directions for the new fraction also.

subtitle: “Slide the point to cut the log at \frac{1}{3}.”

Here’s a few slides with the updated CL.

Further update… I added a note in the screen CL to just read the graph CL, so no need to update the subtitle directions! All you have to do is update the CL in the graph for the numerator and denominator and it will take care of both the graph target AND the screen subtitle directions!

Here’s what I added to the the screen CL (if curious).
numerator = graph.script.numerator
denominator = graph.script.denominator

subtitle: “Slide the point to cut the log at \frac{${numerator}}{${denominator}}.”

The [Copy of] [Copy of] lesson from previous now includes that update also. But this is only in slides 3 and 4. The rest of the lesson is in it’s original form.
:slight_smile: