从八皇后问题的解决方案看面向过程和面向对象 |
| |
引用本文: | 宋东兴,殷旭东. 从八皇后问题的解决方案看面向过程和面向对象[J]. 常熟理工学院学报, 2012, 0(4): 120-124 |
| |
作者姓名: | 宋东兴 殷旭东 |
| |
作者单位: | 常熟理工学院计算机科学与工程学院,江苏常熟215500 |
| |
摘 要: | 通过八皇后问题的解的分析,讨论了面向过程的解决方案和面向对象解决方案的不同,比较了面向过程设计思想和面向对象设计思想的区别和联系,提出程序设计教学要从面向过程逐步过渡到面向对象,片面强调一面而忽视另一面都是不可取的.
|
关 键 词: | 八皇后 面向过程 面向对象 对象 解决方案 |
Observing Procedure-oriented and Object-oriented from the Solution to the Eight-queen Puzzle |
| |
Affiliation: | SONG Dong-xing,Ying Xu-dong,LIU Yong-jun(School of Computer Science and Engineering,Changshu Institute of Technology,Changshu 215500,China) |
| |
Abstract: | By analyzing the question of the eight-queen puzzle,this paper discusses the different solutions between procedure-oriented and object-oriented,compares their relation and difference.The paper also proposes programming design teaching,which needs natural transition from procedure-oriented to object-oriented,and it is not desirable to emphasize one side and ignore another one. |
| |
Keywords: | eight queens procedure-oriented object-oriented object solution |
本文献已被 CNKI 万方数据 等数据库收录! |
|