Nathan Brown▸ Testing and Debugging (Task 7)

Some research around debugging gave me an idea of a short lesson to facilitate debugging. Depending on the coding program you are using (app inventor, scratch, app lab, etc) provide three scripts of code that purposely contain errors, include differing types of errors such as a syntax and semantic error. Students rewrite the code after they have debugged it without a computer. To assess and evaluate the students success get them to go online and check their code to see if they have successfully debugged the errors.

The link contained on this post may be a bit simplistic for year 7 and 8, but does increase its difficulty as students successfully debug code for a bee to collect the nectar.

Design algorithms represented diagrammatically and in English, and trace algorithms to predict output for a given input and to identify errors (ACTDIP029) – Course 2: Bee: Debugging #1

G+ Comments

one plus one, 0 comments

    + There are no comments

    Add yours