Computer Science KS3 / KS4: Checking your algorithm

A teenage programmer evaluates the instructions she's written to tell her computer how to mop the floor.

She checks if they're in the right order, if she's included all the steps, and if her instructions are precise enough.

She tests them after each change to see if there is anything she has forgotten.

This clip is from the series How to Think Like a Computer.

Teacher Notes

Units of measurement can be discussed and linked to Mathematics, both for measuring the rice (cups) and also for filling the mop bucket (litres)

Students could flowchart these algorithms or write them in pseudocode and then peer assess/evaluate them for efficiency.

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

Discuss testing the algorithm during development and also after development.

Discuss the reason for efficiency in an Algorithm.

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.