Y9 Programming Page → Step 1. Reading Code → Step 2. Tracing Code → Step 3. Debugging Code → Step 4. Writing Code → Step 5. Assessment
Learning to debug is one of the most important things you can do as a programmer. Code almost never works first time!
Problems can in two main flavours:
syntax errors- you typed something that Python doesn't recognise
logic errors- the code doesn't produce what it was supposed to
Once you have watched the video, click through all the debug exercises listed below. Beware! They get quite difficult towards the end!
Fullscreen widget CLICK HERE
How well can you debug python code?
Give this Blooket - Debugging Python a go:
15 questions
Fishing Frenzy is good because it just reflects how the student has gone.
5 minutes is a good time length.
Can you 100% correct?