数据结构与程序设计课后答案.pdf
文本预览下载声明
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
网 Figure remains stable.
案 (a)
答
后
课 (b)
(c)
Figure is stable.
(d)
1
2 Chapter 1 Programming Principles
(e)
Figure repeats itself.
(f)
(g)
(h)
网 Figure repeats itself.
案 (i)
显示全部