数据结构与程序设计C++描述(Kruse着)高等教育出版社_课后答案解析.doc

数据结构与程序设计C++描述(Kruse着)高等教育出版社_课后答案解析.doc

Programming Principles 1 1.2 THE GAME OF LIFE Exercises 1.2 Determine by hand calculation what will happen to each of the configurations shown in Figure 1.1 over the course of five generations. [Suggestion: Set up the Life configuration on a checkerboard. Use one color of checkers for living cells in the current generation and a second color to mark those that will be born or die in the next generation.] Answer (a) Figure remains stable. (b) (c) (d) Figure is stable. 1 2 Chapter 1 _ Programming Principles (e) (f) Figure repeats itself. (g) (h) (i) Figure repeats itself. (j) (k) (l) Figure repe

文档评论(0)

1亿VIP精品文档

相关文档