摘要: 题目代码如上,Method printPrimes() (a)控制流图 (b)当发生数组越界错误时,此时考虑测试用例 t1=(n=3) 和 t2=(n=5)则t2比t1更容易发现错误。 (c)当n=1时可以不通过while循环。 (d) 节点覆盖: { 1,2,3,4,5,6,7,8,9,10,11 阅读全文
posted @ 2016-03-31 00:47 TJUhby2016 阅读(126) 评论(0) 推荐(0) 编辑