Abstract Attempting to automate the process of assessing and grading student programs is not a frivolous exercise concerned merely with relieving tutors of this burden: the highly desirable goals of objectivity and accuracy of assessment form more serious considerations, while the advent of Computer Aided Instruction (CAI) systems for teaching introductory programming makes it imperative that such automation is attained. This paper examines the current status of approaches to automatic program assessment, and draws the lamentable conclusion that they are not yet sufficiently advanced to deal with the variety of program solutions that students tend to submit. It goes on to establish the pattern-matching and recognition capabilities that would be required of a system with the desired flexibility, and contends that the software technology for the provision of these facilities is already to hand in the form of compiler-writing tools. Several examples of typical student programming problems are considered, and the application of the Unix tools Lex and Yacc to the automatic assessment of these programs is described. Experience with this approach indicates that a comparatively small amount of effort is all that is necessary to generate automatic graders that are versatile and powerful enough to cope with a wide range of programming exercises.
[1]
Niklaus Wirth,et al.
Automatic grading programs
,
1965,
CACM.
[2]
Jack Hollingsworth,et al.
Automatic graders for programming classes
,
1960,
Commun. ACM.
[3]
S. Gupta,et al.
Intelligent computer-aided instruction for the coding task
,
1989
.
[4]
Michael J. Rees,et al.
Automatic assessment aids for Pascal programs
,
1982,
SIGP.
[5]
R. E. Berry,et al.
A style analysis of C programs
,
1985,
CACM.
[6]
Murray Hill,et al.
Yacc: Yet Another Compiler-Compiler
,
1978
.
[7]
M. C. Angelides,et al.
Developing a Pascal tutoring aid
,
1989
.
[8]
Peter C. Isaacson,et al.
Automating the execution of student programs
,
1989,
SGCS.
[9]
James O. Hamblen,et al.
Computer algorithms for plagiarism detection
,
1989
.
[10]
Kenneth A. Reek,et al.
The TRY system -or- how to avoid testing student programs
,
1989,
SIGCSE '89.
[11]
E. Schmidt,et al.
Lex—a lexical analyzer generator
,
1990
.
[12]
Curtis Cook,et al.
Style: an automated program style analyzer
,
1990,
SGCS.