Search for collections on Wintec Research Archive

Augmenting compiler error reporting in the Karel++ Microworld

Citation: UNSPECIFIED.

[thumbnail of 2007AugmentingCompilerError.pdf] PDF
2007AugmentingCompilerError.pdf - Published Version

Download (126kB)

Abstract

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 Chapter
Additional Information: Conference held 8-11 July, 2007, in Nelson, New Zealand. Award for Educational Innovation, NACCQ Conference 2007.
Uncontrolled Keywords: 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 > Centre for Business, Information Technology and Enterprise > School of Information Technology
Depositing User: Chris Burrell
Date Deposited: 21 Aug 2009 00:27
Last Modified: 21 Jul 2023 02:19
URI: http://researcharchive.wintec.ac.nz/id/eprint/351

Actions (login required)

View Item
View Item