课后题7

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了课后题7相关的知识,希望对你有一定的参考价值。

技术分享
原题如下
技术分享技术分享
技术分享
 
 
answer:
a:
技术分享
标号为代码行
 
b:数组越界
 
c:n=0
 
d: 

点覆盖: {1,2,3,4,5,6,7,8,9,10,11,12}

  边覆盖:{(1,2),(2,3),(2,10),(3,4),(4,5),(4,8),(5,6),(5,7),(6,4),(7,8),(8,2),(8,9),(9,2),(10,11),(10,12),(11,10)}

  主路径覆盖: {(1,2,3,4,5,6),

         (1,2,3,4,5,7,8,9),

         (1,2,10,11),

         (1,2,10,12),

         (2,3,4,5,7,8,9,2),

         (2,3,4,5,7,8,2)

         (2,3,4,8,9,2),

         (2,3,4,8,2)

         (3,4,5,7,8,9,2,10,11,12),

         (3,4,5,7,8,9,2,10,11,13),

         (3,4,5,7,8,2,10,11,12),

         (3,4,5,7,8,2,10,11,13),

         (4,5,6,4),

         (4,5,7,8,9,2,3,4),

         (4,5,7,8,2,3,4),

         (4,8,2,3,4),

         (4,8,9,2,3,4),

         (5,6,4,5),

         (5,6,4,8,9,2,10,11,12),

         (5,6,4,8,9,2,10,11,13),

         (5,6,4,8,2,10,11,12),

         (5,6,4,8,2,10,11,13),

         (6,4,5,6),

         (6,4,5,7,8,9,2,10,11,12),

         (6,4,5,7,8,9,2,10,11,13),

         (6,4,5,7,8,2,10,11,12),

         (6,4,5,7,8,2,10,11,13),

         (6,4,5,7,8,9,2,3),

         (6,4,8,9,2,3),

         (7,8,9,2,3,4,5,7),

         (7,8,2,3,4,5,7),

         (8,9,2,3,4,5,7,8),

         (8,2,3,4,5,7,8),

         (8,9,2,3,4,8),

         (8,2,3,4,8),

         (9,2,3,4,5,7,8,9),

         (9,2,3,4,8,9),

         (11,12,11),

         (12,11,12),

         (12,11,13)

}

 

 

技术分享

以上是关于课后题7的主要内容,如果未能解决你的问题,请参考以下文章

课后题 3-3 水题

课后题168页-1

[Python]小甲鱼Python视频第011课(列表:一个打了激素的数组2)课后题及参考解答

《数据库系统概论(第5版)》课后习答案 王珊萨师煊编著版 课后题解析 高等教育出版社出版 答

课后题

课后题