Testing and Debugging (Task 7)


A short lesson plan about debugging.

first introduce debugging and what debugging means. provide a definition of both a semantics error and a syntax error and explain the difference. next go through some examples of where syntax errors have occurred and go through an example of a semantics error.

next go through important practices when programming to prevent these errors from occurring or becoming too hard to fix(e.g. constantly testing your code after adding something new).

next provide a app with a few syntax errors and get the students to see if they can spot some issues that are present in the app and try and make it run. if you are working with paper at this stage please ensure you tell the students how many errors are in the code.

+ There are no comments

Add yours