Computer Science KS3 / KS4: Pattern Recognition

A teenage programmer is giving her computer instructions on making a sandwich.

She realises that the pattern of slicing and layering are repeated - and finds this useful in writing her code.

She uses a similar set of slicing and layering instructions to try to get the computer to make her dessert - with less success.

These clips are from the series How to Think Like a Computer.

Teacher Notes

Jumping off points: Discuss pattern recognition being applied to Medicine (e.g. patterns identified in diseases), Robotics, speech recognition and artificial intelligence in general.

Link to other patterns in real life such as common rules for spellings, or patterns in songs.

Discuss the difference between a rectangle and a rounded rectangle in flowcharting.

Discuss writing out the flowchart as pseudocode.

Discuss everyday patterns that students can recognise.

Discuss the contributions of women in IT such as Ada Lovelace as the main character is called Ada.

Curriculum Notes

This clip will be relevant for teaching Computer Science at KS3 and KS4 in England, Wales and Northern Ireland and National 4 and 5 in Scotland.