Scroll to content
St Francis de Sales Catholic Junior School home page

St. Francis de Sales Catholic Junior School

Non Excidet

Oracy

Explaining How Loops Work

Still image for this video

Debugging in Maze

 

Debugging is an essential element of learning to program. In this lesson, students encountered puzzles that had been solved incorrectly.

 

In pairs, the children talked through each step of the existing code to identify errors, including incorrect loops, missing blocks, extra blocks, and blocks that are out of order.

 

They then had to work together to justify their reasoning with each other and then correctly put the algorithms together correctly. 

 

"It really helped my own understanding of debugging when I was asked to explain how I fixed the problem in the program successfully. I now do it every time I am debugging to help me go through each stage correctly." Lilly, Class 3