期刊文献+

C语言代码缺陷分析辅助编程实践系统 被引量:3

Construction of C Language Code Defect Analyzer to Assist Programming Practice System
下载PDF
导出
摘要 网络课程C语言编程学习中,师生互动性差、教学效率低,学生难以凭借自身能力解决编程中常见的代码缺陷问题.为了更好帮助学生解决学习中的难题,辅助老师达到教学目的,研究一款代码缺陷检测辅助学生编程实践系统.该系统首先对易犯的代码缺陷分类,分析编译器不易检测的语法、词法和语义缺陷;然后构建智能分析器,集成多种检测工具,在系统中存储知识规则集合并扩展常见代码缺陷抽象模式;最后检测代码并给出错误报告和修改意见,通过配合学生模型辅助学生编程学习.实验结果表明:该系统能成功检测出常见代码缺陷并辅助学生编程实践. In the learning of online course C Language Programming, the interaction between teachers and students is poor, and the teaching efficiency is low. It is difficult for students to solve the common code defects in programming themselves. To better help students solve the problems in learning and assist teachers to achieve the teaching purpose, this study develops a practical system to assist students in programming. Firstly, the system classifies the common code defects, focusing on the analysis of syntactic, morphological, and semantic defects that are not easy to detect by the compiler. Secondly, it builds an intelligent analyzer that integrates a variety of detection tools to store the set of knowledge rules and extend the abstract pattern of common code defects. Finally, it detects the codes and gives error reports and modification suggestions. This system is capable of assisting students in programming by cooperating with the student model. The experimental results show that the system can successfully detect common code defects and thereby assist students in programming practice.
作者 邱晓红 杨瑞安 敖紫迎 陈佳丽 QIU Xiao-Hong;YANG Rui-An;AO Zi-Ying;CHEN Jia-Li(School of Software Engineering,Jiangxi University of Science and Technology,Nanchang 330013,China)
出处 《计算机系统应用》 2022年第3期95-102,共8页 Computer Systems & Applications
基金 江西省自然科学基金(20181BAB202018) 江西理工大学研究生教改课题(YJG2018015)。
关键词 实践教学 代码缺陷 学生模型 教学改革 编程学习 practice teaching code defect student model teaching reform programming learning
  • 相关文献

参考文献9

二级参考文献46

  • 1张广梅,李晓维.数据流相关软件故障的静态检测[J].计算机辅助设计与图形学学报,2005,17(11):2477-2483. 被引量:5
  • 2ZYZYCK J. A report generator for PC-Lint[J]. Dr Dobb' s Journal, 2003,28(2) :52. 被引量:1
  • 3VIEGA J, BLOCH J T, KOHNO Y, et al. ITS4: a static vulnerability scanner for C and C + + code [ C ]//Proc of the 16th ACSAC'00. Washington DC : IEEE Computer, 2000. 被引量:1
  • 4EVANS D, LAROCHELLE D. Improving security using extensible lightweight static analysis[J]. IEEE Software, 2oo2,19(1):42-51. 被引量:1
  • 5MEYERS S.Effective C++[M].侯捷,译.武汉:华中科技大学出版社,2001:39-49. 被引量:1
  • 6Institute ANS. ISO programming language C + + [ S ]. 2003. 被引量:1
  • 7林锐,韩永泉.高质量程序设计指南--C/C++语言[M].北京:电子工业出版社,2008:240-247. 被引量:1
  • 8WEINBERGER B. Craig, Google C ++ style guide [ EB/OL ]. ( 2008 ). http ://google-styleguide. googlecode.com/svn/trunk/cppguide. xml. 被引量:1
  • 9GAMMA E, HELM R, JOHNSON J V R. Design pattern[M].李英军,马晓星,蔡敏,等译.北京:机械工业出版社,2004:218-228. 被引量:1
  • 10CIOLKOWSKI M, LAITENBERGER O, ROMBACH D, et al. Software inspections, reviews and walkthroughs[ C ]//Proc of the 24th International Conference on Software Engineering. 2002:641-642. 被引量:1

共引文献40

同被引文献7

引证文献3

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部