博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Homework3
阅读量:6905 次
发布时间:2019-06-27

本文共 1570 字,大约阅读时间需要 5 分钟。

1:The control flow of the program;

 

2: When we set the MAXPRIMES less than 5 but greater than 2, than the use case 5 would find the fault that the array is out of its boundary, while the use case 3 would not.

3: When we input n equals 1, since the numPrimes has already been one, the while loop will not be executed, but the program will go to the for loop directly.

4:

NC: TR={1,2,3,4,5,6,7,8,9,10,11,12,13};

EC: TR={(1,2),(2,3),(2,10),(3,4),(4,5),(4,8),(5,6),(5,7),(6,8),(7,4),(8,2),(8,9),(9,2),(10,11),(11,12),(11,13),(12,11)};

PPC: TR={(1,2,3,4,8,9),(1,2,3,4,5,7),(1,2,3,4,5,6,8,9),(1,2,10,11,12),(1,2,10,11,13),(2,3,4,8,9,2),(2,3,4,8,2),(2,3,4,5,7),(2,3,4,5,6,8,9,2),(2,3,4,5,6,8,2),(2,10,11,12),(2,10,11,13),(3,4,5,6,8,9,2,3),(3,4,5,6,8,2,3),(3,4,8,9,2,3),(3,4,8,2,3),(3,4,5,6,8,9,2,10,11,12),(3,4,5,6,8,2,10,11,12),(3,4,5,6,8,9,2,10,11,13),(3,4,5,6,8,2,10,11,13),(3,4,8,9,2,10,11,12),(3,4,8,2,10,11,12),(3,4,8,9,2,10,11,13),(3,4,8,2,10,11,13),(4,5,7,4),(4,5,6,8,9,2,3,4),(4,5,6,8,2,3,4),(4,8,9,2,3,4),(4,8,2,3,4),(5,7,4,5),(5,6,8,9,2,3,4,5),(5,6,8,2,3,4,5),(6,8,9,2,3,4,5,6),(6,8,9,2,3,4,5,6),(6,8,9,2,3,4,5,7),(6,8,2,3,4,5,7),(7,4,5,7),(7,4,8,9,2,3),(7,4,8,2,3),(7,4,5,6,8,9,2,3),(7,4,5,6,8,2,3),(7,4,5,6,8,9,2,10,11,12),(7,4,5,6,8,9,2,10,11,13),(7,4,5,6,8,2,10,11,12),(7,4,5,6,8,2,10,11,13),(7,4,8,9,2,10,11,12),(7,4,8,9,2,10,11,13),(7,4,8,2,10,11,12),(7,4,8,2,10,11,13),(8,2,3,4,8),(8,9,2,3,4,8),(8,2,3,4,5,6,8),(8,9,2,3,4,5,6,8),(9,2,3,4,8,9),(9,2,3,4,5,6,8,9),(11,12,11),(12,11,12),(12,11,13)}.

 

 

5:use case

 

转载于:https://www.cnblogs.com/pzyskytree/p/5338888.html

你可能感兴趣的文章
阮一峰之webpack-demos(译)
查看>>
(2)在Windows 7 x64端设置Python环境
查看>>
Set
查看>>
安装和配置mstmtp、mutt
查看>>
Mac操作postgres——使用homebrew
查看>>
解决低版本Xcode不支持高版本iOS真机调试的问题
查看>>
ubuntu限制本地网速
查看>>
div浮动层
查看>>
那些年我用awk时踩过的坑——awk使用注意事项
查看>>
逻辑卷LVM 应用之详解! VG LV用法 !
查看>>
服务器遇到大流量***的处理过程
查看>>
shell 必备典型脚本 30道
查看>>
java中的关键字和保留字
查看>>
【别忘咯】 关于运算优先级
查看>>
xshell远程时连接速度很慢的解决方法
查看>>
Linux常用命令总结
查看>>
cp命令
查看>>
Docker私有仓库与docker-web-ui的搭建
查看>>
【一天一个shell命令】文件操作系列-ln
查看>>
U盘移动硬盘引导启动安装linux系统Centos 6.4
查看>>