摘要
学习编程离不开大量的实践训练,但批阅学生提交的代码却是一件相当费神耗时的工作。Java教学大都围绕其功能强大的标准类库来组织安排,并通过相应练习使学生熟练掌握。为了提高效率,设计了一个作业辅助批阅工具,它能对Java类文件进行自动修改,在运行时获取关键类库的使用信息,了解它们的调用频次、先后次序、所用参数及返回值,可帮助理解程序逻辑,评判学生对教学内容的掌握程度。
Coding is essential for learning a new programming language.However,for the instructors,it is very time-consuming and tedious to read over all of the code submitted by the students.The syllabus of Java programming consists of using its powerful standard libraries,accompanied with corresponding practical coding projects.A tool is designed to help the instructors to improve their code review efficiency.This tool is able to automatically modify the Java class files and return the usage of the class libraries,including their calling frequency,calling order,parameters and return values.This tool is helpful for understanding the logic of the code from students and judging their level of understanding.
作者
严忠林
Yan Zhonglin(College of Information,Mechanical and Electrical Engineering,Shanghai Normal University,Shanghai 200234,China)
出处
《计算机时代》
2020年第1期53-56,65,共5页
Computer Era