Shapes and Crystal Flowers - Use repetition in programs Principal - - PowerPoint PPT Presentation

shapes and crystal flowers
SMART_READER_LITE
LIVE PREVIEW

Shapes and Crystal Flowers - Use repetition in programs Principal - - PowerPoint PPT Presentation

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


slide-1
SLIDE 1

Recommended for

ages 7-11

Principal partners

Shapes and Crystal Flowers -

Use repetition in programs

1

slide-2
SLIDE 2

Scripting Area Blocks Pallete Stage

Which blocks come from which script areas? Hint: Look at the colour!

Helpsheet

2

slide-3
SLIDE 3

Can you use the repeat block to make this code draw a square?

Helpsheet 2:

3

slide-4
SLIDE 4

What is the difference?

4

slide-5
SLIDE 5

Why are repeats (or loops) useful when we program?

Challenge

5

slide-6
SLIDE 6

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

slide-7
SLIDE 7

Images from Pixabay CC0 Public Domain 7

slide-8
SLIDE 8

Images from Pixabay CC0 Public Domain 8

slide-9
SLIDE 9

Why are repeats (or loops) useful when we program?

Drawing a Pentacontagon - 50 sided shape

Can you see a mistake?

Challenge

9

slide-10
SLIDE 10

Nested Loop

Why does this not change the shape?

10

slide-11
SLIDE 11

Nested Loop

  • What is the inner shape?
  • How many times does it draw this shape?
  • Why are loops useful?

11

slide-12
SLIDE 12

Nested Loop

Challenge: Can you make a crystal flower that is different? What will your inner shape be?

  • What is the inner shape?
  • How many times does it draw this shape?

12

slide-13
SLIDE 13

Nested Loop

Challenge: Can you make a crystal flower that is different? What will your inner shape be?

13

slide-14
SLIDE 14

14

Get more