Augmenting compiler error reporting in the Karel++ Microworld

Burrell, Chris and Melchert, Matt (2007) Augmenting compiler error reporting in the Karel++ Microworld. In: NACCQ07: Proceedings of the 20th Annual Conference of the National Advisory Committee on Computing Qualifications. National Advisory Committee on Computing Qualifications, Hamilton, New Zealand, pp. 41-46.

[img]
Preview
PDF - Published Version
123Kb

Official URL: http://bitweb.tekotago.ac.nz/staticdata/papers07/p...

Abstract or Summary

This paper illustrates the problems involved with novices learning to program and the role of the compiler in identifying and reporting on errors. Errors associated with the structure and syntax of the program are easily identified and can normally be reported on by the compiler in a form that may understandable to programmers with a good background knowledge. Once these problems have been identified another class of problem may emerge. That of simple user error in mistyping, or misremembering the names of programming elements that have been declared and defined earlier in the code. This paper describes an application of a cross correlation technique that has been used in transmitting data through space by NASA to looking for best-fit word matches in the symbol table produced as the program is compiled. A match with a pre-declared name and one with three typographical errors is shown.

Item Type:Book Section
Additional Information:Conference held 8-11 July, 2007, in Nelson, New Zealand. Award for Educational Innovation, NACCQ Conference 2007.
Keywords that describe the item:Computing education, microworld, compiler help, correlation techniques
Subjects:Q Science > Q Science (General)
L Education > LB Theory and practice of education > LB2300 Higher Education
Divisions:Schools > School of Information Technology
ID Code:351
Deposited By:
Deposited On:21 Aug 2009 00:27
Last Modified:09 Apr 2010 02:34

Repository Staff Only: item control page