51Testing软件测试论坛

标题: [测试达人看过来]2个圈复杂度cyclomatic complexity选择题请教 [打印本页]

作者: jenny2010    时间: 2010-12-22 18:32
标题: [测试达人看过来]2个圈复杂度cyclomatic complexity选择题请教
Q. 171: The number of tests to test all control statements equals the cyclomatic
complexity
A. True
B. False

Q. 184: Given the Following program
IF X <>= Z
THEN Statement 2;
END
McCabe’s Cyclomatic Complexity is :
A. 2
B. 3
C. 4
D. 5

我的答案是B , A
但参考答案是A, B
作者: liusiyan    时间: 2010-12-24 10:31
个人觉得你的答案是对的,
作者: jenny2010    时间: 2010-12-28 11:58
谢谢!
作者: lemon206135    时间: 2011-1-8 11:30
不错~




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2