Enbugging Quiz

Errors are one of the major obstacles in programming, especially to novice programmers. Sometimes because error messages are too unfriendly, and sometimes because causes of errors are too difficult to find out. There are many attempts so that the learners can get along withe errors; a typical one is an exercise that the learners will fix a bug in an erroneous program.

We propose an opposite direction, which let the learners, given a correct program and an error message that supposed to occur, edit the program so as to generate a desired error message. We believe this direction will make the learners pay more attention to error messages, which will eventually give good effect on learning programming.

We are currently experimentally applying the enbugging quiz to the students who are taking the introductory programming course, analyzing preliminary results, designing automated methods to help creating quiz.

Can you edit the left code to produce the error shown on the right?

Members

News