Primary Computing - Understanding Pattern Recognition - Scratch Project

First, familiarise yourself with the terms Pattern Recognition and Decomposition, by watching Part 5 of “Delve in, for twelve min!” (Video linked above).

Give the children the ‘Pattern Recognition’ scratch project. Children have to find different ways to reduce the amount of code that is repeated.

I’ve included 3 different solutions;

  1. Broadcast (Not always the best solution, please see Part 6 of “Delve in, for twelve min!” on ‘concurrency and dependency’ )
  2. Make a Block function (more advanced when you include number input)
  3. Using Make a block, selection and repetition (You can see how much smoother the code runs straight away)

Please let me know how you get on!

Cheers

Phil Wickins

Free

Save for later
  • Pattern-Recognition.sb2
  • Pattern-Recognition-Broadcast-Solution.sb2
  • Pattern-Recognition-MakeBlock-Solution.sb2
  • Pattern-Recognition-Selection-best-Solution.sb2

About this resource

Info

Created: Apr 26, 2018

Activity

sb2, 58 KB

Pattern-Recognition

Activity

sb2, 58 KB

Pattern-Recognition-Broadcast-Solution

Activity

sb2, 58 KB

Pattern-Recognition-MakeBlock-Solution

Report a problem

Creative Commons "Sharealike"

Creative Commons "Sharealike"