Saltar al contenido

Lesson 34: Find the errors

English

Be the tester

  • A program can run without a crash and still do the wrong thing: a logic error.
  • Run each program, look at what the robot does, and compare it with what it should do.
  • Fix one error at a time and run again. Press Map 2 and Map 3 to test with other data.

Words for this lesson

Word Meaning
syntax error breaks the rules of Python: the program does not start
logic error the program runs but gives the wrong result
test data a case where you know the right answer
correction the fixed line

Iniciar sesión o crear cuenta

IGCSE, A-Level & AP