节点文献

C语言小程序算法的表示

Express the algorithm of a small program in C

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 彭旭东郭宝红王成霞李婧樊丽珍

【Author】 PENG Xu-dong,GUO Bao-hong,WANG Cheng-xia,LI Jing,FAN Li-zhen(School of Computer and Communications Engineering,Tianjin University of Technology,Tianjin 300384,China)

【机构】 天津理工大学计算机与通信工程学院

【摘要】 在自动评判程序中的逻辑错误时,一个关键问题是正确表示程序的算法,并解决多样性问题.围绕算法的定义,提出用变量的源变量列表(VSV)和单变量访问流图(SVAF)共同表示程序的算法.其中VSV用于描述变量间的计算关系,SVAF用于描述每个变量的操作方式、次序以及相关的程序控制结构.经过规格化操作,可消除VSV和SVAF中因语句次序、临时变量、特殊赋值语句以及循环语句等引发的多样性问题.

【Abstract】 In ovder to analyze and find out logic errors in program automatically,it is must to express the algorithm of the program in unified form.According to the definition of algorithm,this paper talks about how to express the algorithm with Variable’s source variables’ list(VSV) and Single variable accessed flow(SVAF) from different sides,and how to normalize.VSV is used for expressing the relationships among the variables when doing calculate.And SVAF is used for expressing the access type,access order,and control flow used of every variable.And the multiform problems,which were caused by sentences(and blocks) order,using temporary variables unlimited,special assignment statements,and loop statements,were removed after normalization.

【基金】 天津理工大学教学基金(YB08-17)
  • 【文献出处】 天津理工大学学报 ,Journal of Tianjin University of Technology , 编辑部邮箱 ,2011年03期
  • 【分类号】TP312.1-4
  • 【被引频次】3
  • 【下载频次】73
节点文献中: 

本文链接的文献网络图示:

本文的引文网络