|
摘要: |
阐述了在结构化程序设计中,程序由顺序、选择、循环3种基本结构构成,这3种基本结构在构成程序时,明显带有局部与整体的自相似性。对程序结构的自相似性作分析后,给出了程序的二叉树表示,指出这3种基本结构可以看成是语句的运算符,程序可以看成是语句和这3种运算符组合成的表达式,从而以一种新的思维看待程序,进一步指出了由此可能对软件测试带来的影响。 |
关键词: 结构化程序设计 二叉树 程序结构 软件测试 |
DOI: |
分类号:TP319 |
基金项目: |
|
Self-similarity in the structure of a program and its expression in a Binary Tree |
CHEN Li-zhi ZENG Yi
|
Abstract: |
It is described that in structured programming,a program is composed of sequence,selection, cycle three basic structures.During the process of forming a program from three basic structures,there exist self -similarities between the part and the whole.Afte |
Key words: structured programming design,binary tree,program structure,software testing |