| 注册
首页|期刊导航|计算机技术与发展|基于语法树和JavaCC的程序题自动评分系统

基于语法树和JavaCC的程序题自动评分系统

屠方博 杨志强

计算机技术与发展2012,Vol.22Issue(1):126-128,3.
计算机技术与发展2012,Vol.22Issue(1):126-128,3.

基于语法树和JavaCC的程序题自动评分系统

Grading of Programs Using Abstract Syntax Tree & JavaCC

屠方博 1杨志强1

作者信息

  • 1. 同济大学电子与信息学院,上海 201804
  • 折叠

摘要

Abstract

A system for grading student programs is designed to enhance the accuracy,and solve the problem that traditional automatic grading approaches can not evaluate the similarity of the source code to correct solutions by using syntax structure and semantic analysis. Present a tool for quickly comparing the source code of student programs and correct solutions. The approach is based on partial abstract syntax tree matching (AST) ,and using JavaCC to generate the AST ,then making the score by Tree Cuts and combine the parse error, In mis paper,designed and implemented a grading system on C++ programs,and the semantic analysis is used in conjunction with traditional approaches. And then, verify the practicability and effectiveness of the system.

关键词

抽象语法树/程序评分/JavaCC

Key words

syntax tree matching/grading of programs/JavaCC

分类

信息技术与安全科学

引用本文复制引用

屠方博,杨志强..基于语法树和JavaCC的程序题自动评分系统[J].计算机技术与发展,2012,22(1):126-128,3.

计算机技术与发展

OACSTPCD

1673-629X

访问量0
|
下载量0
段落导航相关论文