Recommended for ages 7-11 Shapes and Crystal Flowers - Use repetition in programs Principal partners 1
Blocks Pallete Scripting Area Stage Helpsheet Which blocks come from which script areas? Hint: Look at the colour! 2
Can you use the repeat block to make this code draw a square? Helpsheet 2: 3
What is the difference? 4
Challenge Why are repeats (or loops) useful when we program? 5
Today we are learning about… Programs & Repetition: • I can write a program that uses a repeat command • I can explain what the repeats do in my program 6
Images from Pixabay CC0 Public Domain 7
Images from Pixabay CC0 Public Domain 8
Challenge Drawing a Pentacontagon - 50 sided shape Can you see a mistake? Why are repeats (or loops) useful when we program? 9
Nested Loop Why does this not change the shape? 10
Nested Loop • What is the inner shape? • How many times does it draw this shape? • Why are loops useful? 11
Nested Loop • What is the inner shape? • How many times does it draw this shape? Challenge: Can you make a crystal flower that is different? What will your inner shape be? 12
Nested Loop Challenge: Can you make a crystal flower that is different? What will your inner shape be? 13
Get more 14
Recommend
More recommend