Copyright © 2006 Elsevier B.V. All rights reserved.
Semantic similarity-based grading of student programs
Received 31 December 2005;
revised 4 March 2006;
accepted 13 March 2006.
Available online 27 April 2006.
References and further reading may be available for this article. To view references and further reading you must purchase this article.
Abstract
An automatic grading approach is presented based on program semantic similarity. Automatic grading of a student program is achieved by calculating semantic similarities between the student program and each correct model program after they are standardized. This approach was implemented in an on-line examination system for the programming language C. Different form other existing approaches, it can evaluate how close a student’s source code is to a correct solution and give a matching accuracy.
Keywords: Automatic grading; Semantic similarity; System dependence graph (SDG); Program standardization; Program matching
Article Outline
- 1. Introduction
- 2. An overview of semantic similarity-based grading
- 3. Program representation
- 4. Program standardization
- 4.1. Expression standardization
- 4.2. Control structure standardization
- 4.3. Function invocation standardization
- 4.4. Remove redundant statements
- 4.5. Rename variables
- 4.6. Reorder statements
- 4.7. Example
- 5. Program matching and grading
- 6. Experiments and discussions
- 7. Conclusions
- Acknowledgements
- References







E-mail Article
Add to my Quick Links

Cited By in Scopus (0)






