Comparing Student Program and Model Program through Static Assessment

碩士 === 元智大學 === 資訊工程學系 === 101 === Programming is a very important skill in the field of Computer Science. Homework is an important way for students to practice programming and evaluate their programming skills. When programming, students may encounter program bugs and cannot find the bugs to fix th...

Full description

Bibliographic Details
Main Authors: Hung-Wei Chen, 諶弘偉
Other Authors: Chih-Yueh Chou
Format: Others
Language:zh-TW
Online Access:http://ndltd.ncl.edu.tw/handle/55156959449159414219
Description
Summary:碩士 === 元智大學 === 資訊工程學系 === 101 === Programming is a very important skill in the field of Computer Science. Homework is an important way for students to practice programming and evaluate their programming skills. When programming, students may encounter program bugs and cannot find the bugs to fix them. Students usually seek teachers or teaching assistants to help find their bugs, but it needs time to find the bugs and it is a heavy load for teachers and teaching assistants. This paper study developed a static program assessment mechanism to compare student program with a model program to help students find their program errors. The system converted the model program and student programs into the form of abstract syntax tree, compared model program and student programs node-by-node, and recorded the same tokens nodes, miss tokens and extra tokens nodes between model programs and student programs. The system marked the different token of student programs by different font colors, presented teacher comments on miss tokens. The evaluation results revealed that this mechanism reduced the range of possible error tokens to help students or teachers discover the program bugs and help teachers find out the key parts of the program.