SETS & SUBSETS
Credit: By George Gadanidis, Janette Hughes & Chris Yiu. With development, research and outreach support from ORF-RE and SSHRC.
Create patterns with sets and subsets of numbers on the hundred chart (click on Run Code). Edit the code to create new patterns.
Terms of use: May be used for classroom teaching. May not be used for research purposes.
BEAUTIFUL NUMBERS Numbers are beautiful. Especially on a grid. Use code to select and decorate sets of numbers based on their properties. SAVE & SHARE Click on Save Code and name your project. The URL that appears under the Project Name can be shared. |
PUZZLE 1
Change values and click Run Code to see the effect. For example, change Repeat number or Gork colour. What do you think number mod 3 = 0 means? Edit the code to get this pattern. |
Click on Example #2. Notice that the conditional statement if-do-else. Edit the code to get this pattern:
Click on Example #3. What does the conditional code if ___ and ___ do? Edit the code to get this pattern.
|
MORE PUZZLES
CREATE PUZZLES Create your own puzzle. Then, save and share for others to solve. Here is some sample code. |
On laptop: If code window does not appear at right of canvas, use Control or Command key and minus (-) to reduce screen resolution. On tablet or phone: Scroll to access code window below canvas.