GmG Challenge Tutorial In the GmG Challenge city there are two houses, one called “Challenge” and another called “Respond”, as indicated on roofs of the buildings. Gettino ready for the challenge Enter the “Challenge” house and lean down closet o the objects you see on the floor. You will see: - a notebook called “Challenge”; - a box called “extractions” a green rectangle with flowers and a tree, that is the Random Garden; - a box called “extractions” with a nest called “output”; - a bird called N. Give a 1 to the bird N. The bird will bring the number into the Random Garden and another bird will come out and bring an object, equal to one of the objects of the garden, in the output nest. The object is randomly chosen. Give 5 to bird N. For five times the second bird will come out of the garden and put an object in the nest, below the objects that were previously deposited there. If you want to have a look at the objects you can take them off the nest, or you can use a special tool, the Nest to Box, to order them into a box. Take the box of the “Nest to Box” tool that you find at page 2 of the “challenge” notebook and drop it somewhere on the floor. Give the “extractions” box, with its contents, to the bird, called Nest, of the the nest to box tool. Push “R”. A bird will bring a box out of the nest to box. The box contains another box with the extractions of the Random Garden. Take the box, it has another box inside, with as many holes as the extractions you have previously done. Take that box and observe it, if you want you can put it on the floor. It contains, ordered from left to right, the elements etrxacted from the Random Garden Saving your extraction. In the Challenge house take the Challenge notebook and search for the odd page with the inscription “Extractions”. You will see another notebook contained in the even (right) page of the notebook, called “extracions”: take it in your hand. On this new notebook you can save your boxes of extractions putting them on the even pages and adding a number, on the odd pages, representing the number of elements extracted. For instance, give 5 to the bird N, then push R to get the extractions box from the box to nest tool. Now you can save the box “extractions” containing the extractions. Open the notebook “extractions”, find a blank page and drop it on the floor. Take the box “extractions” and drop it on the right (even) page of the notebook “extractions”. Now take a number from the toolbox and drop a 5 on the left (odd) page of the “extractions” notebook, in this way you will know that in the box on the right there are 5 extractions. Saving the “Extractions” notebook. We can save the notebook so that we can access to the extractions during future sections. Hold the notebook with the hand and push the button “pause” of your keyboard, a window will open with several options: click on the button “Save it to a file”. Another window will open, click on the button “Just see folder with your file”: the window will close and a folder will open, containing a ToonTalk file named like the username you chose to enter ToonTalk, for instance, if I used the name “michele”, I will find a file called michele.tt. Change name to the file (I could call it for instance extractions-michele.tt), thus move it in your personal folder, so that you can find it whenever you want. Import your file in ToonTalk. Just double click on the file and it will be automatically opened in ToonTalk. Back to ToonTalk after saving the file. Just click on the ToonTalk icon in the lower bar of the screen. If you do that after importing your file, you should find to copies of the notebook in the room because there was already one. If you want only one copy, remove the other one using (F5). Search the page “Counter” in the “challenge” notebook and get the counters kit, that is the box on the left page. The right hole of the box contains a box with four counters, take this box out and drop it on the floor taking care not to drop it on another object. Connecting the counters kit to Random Garden. Do connect the counters to the garden you need the gardens nest, which you have previously given to the nest to box tool. You can have back a copy of such nest pointing the middle element of the Nest to Box tool and pushing the button N of your keyboard. An “extractipns” box, containing the nest, will be dropped by a bird in the “box” nest of the nest to box tool, in the same place were the boxes with extractions were dropped. The nest is empy because it has been emptied when you asked for the box of the extractions. Take the box “extractions” (which contains the “output” nest) and give it (the whole box!) to the bird “count” that is in the leftmost hole of the counters kit box. Now the counters are connected to the Random Garden. Give 100 to the bird N, then wait until the numbers on th nest to box and on the counters stop increasing. Now you can read on the counters how many times each element of the Random Garden has been extracted. Comparing two extractions. Take note of the number of occurrencies of each element of the garden - - Red flower Violet flower …… …… …… …… Yellow flower …… …… Pussh R to reset the counters and obtain the box with ordered sequence of extractions from the nest to box tool. The box contains another box, take it and hold it, you will see that it is very big and it is difficult to see all its 100 elements. Hold the box and go out of the house. Once you are out, knee and drop the Tree …… …… box on the floor, then stand up and walk from the beginning to the end of the box, see how big it is? Go back in the “Challenge” house and give again 100 to the bird N in order to obtain a new set of 100 extractions. - Take note of the number of occurrencies of each element of the garden Red flower Violet flower …… …… …… …… Yellow flower …… …… Tree …… …… Compare these numbers with the numbers of extractions of the previous 100 extractions. * Are they the same? * Are they the numbers your expected to see? * - Explain why you think that the numbers are the same or different from what you expected. Press again R in order to reset the counter and obtain the box with this new sequence of extractions. Bring the box outside and drop it next to the other one so that they begin one closet o the other. Now you can walk along the two boxes and look at the extractions, or you cann knee down and move left or right to watch the sequences. Compare the two sequences of extractions * Are they equal or different? * Can you see similarities? * Are there any patterns in any of the sequences or in both? * Is there any element that is repeated several times (ex. Red-red-red-red)? * Explain why in you opinion there are, or there are not, similarities or patterns. Setting up the “Bar graph” tool. Open the “Challenge” notebook to the page “Bar Graph” and get the box on the right page; it contains the bird “plot” and a white rectangle (the “Bar Graph”) with four little grey bars with the icons of the elements of the random garden. Take the white rectangle, “Bar Graph” and drop it on the floor being careful not to drop it on another object; we suggest to drop it next to the Random Garden. Now you can connect it like you wiw for the counters: you point the middle element of the nest to box and press N to get the “extractions” box, then you give such box to the “Plot” bird that of the bar graph. Now the machinery is ready to be used, and should look more or less like the picture below. Comparino extractions using the Bar Graph. - give 100 to the N bird and observe what happens Take note of the number of occurrences of each element and of the approximate final shape of the graph - give again 100 to the bird N Take note of the number of occurrences of each element and of the approximate final shape of the graph: are they the same as the previous one? Or are they different? - give 1000 to the bird N and observe what happens - did the bars of the graph keep moving lot from the bginning to the end of the counting? Or did they stop moving after a while? - Take note of the number of occurrences of each element and of the approximate final shape of the graph, is this shape the same of the previous two graphs or is it different? - give again 1000 to the bird N - Take note of the number of occurrences of each element and of the approximate final shape of the graph, is this shape the same of the previous three graphs or is it different? - The computer has a limited power, and we have limited time, thus we cannot ask it to compute 1000000 extractions: suppose we could do it: what would be the final shape of the graph? And what numbers would be on the counters?
© Copyright 2026 Paperzz