Interface-based programming assignments and automatic grading of java programs
Author:
Open Access
- 25 June 2007
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGCSE Bulletin
- Vol. 39 (3) , 63-67
Abstract
AutoGrader is a framework developed at Miami University for the automatic grading of student programming assignments written in the Java programming language. AutoGrader leverages the abstract concept of interfaces, as implemented by the Java interface language construct, in both the assignment and grading of programming assignments. The use of interfaces reinforces the role of procedural abstraction in object-oriented programming and allows for a common API to all student code. This common API then enables automatic grading of program functionality. AutoGrader provides a simple instructor API and enables the automatic testing of student code through the Java languagefeatures of interfaces and reflection . AutoGrader alsosupports static code analysis using PMD [4] to detect possible bugs, dead code, suboptimal, and overcomplicated code. While AutoGrader is written in and only handles Java programs, this style of automated grading is adaptable to any language that supports (or can mimic) named interfaces and/or abstract functions and that also supports runtime reflection.Keywords
This publication has 9 references indexed in Scilit:
- Integrated online courseware for computer science courses2007
- "Objects first, interfaces next" or interfaces before inheritance2004
- Teaching software testing2003
- Experiences in automatic assessment on mass courses and issues for designing virtual courses2002
- The marking system for CourseMaster2002
- Fully automatic assessment of programming exercises2001
- Grading student programs using ASSYST1997
- The TRY system -or- how to avoid testing student programs1989
- An automatic grading scheme for simple programming exercisesCommunications of the ACM, 1969