Pages

Sunday 17 March 2019

How to debug an algorithm

We are learning to debug algorithms. Bugs are a mistake in a programme. If we fix the bug the programme will work.

First we have to know where it is not.
Then we have to remove the bug, and fix the trouble it caused.
After that we had to change the algorithm to make it right.
Can you spot where my bug was in my last slide that I created?