电子科大软件工程作业汇总(附答案)

22. The cyclomatic complexity of a program can be computed directly from a PDL representation of an algorithm without drawing a program flow graph.(程序的圈复杂度可以直接通过一个算法的PDL表示进行计算,而不用画程序流图。) A:True(真) B:False (假)

23. Real-time applications add a new and potentially difficult element to the testing mix(实时软件给测试带来了新的潜在困难,这个困难与以下哪项相关?)

A:performance (性能) B:reliability (可靠性) C:security (安全性) D:time(时间)

24. Boundary value analysis can only be used to do white-box testing.(边界值分析只能被用于进行白盒测试。) A:True(真) B:False (假)

25. Which of these techniques is not useful for partition testing at the class level(以下哪项技巧对于类层面的分区测试无效?)

A:attribute-based partitioning (基于属性的分区) B:category-based partitioning (基于类别的分区) C:equivalence class partitioning (等效类分区) D:state-based partitioning (基于状态的分区)

26. Tests derived from behavioral class models should be based on the(行为类模型相关的测试应当建立在)

A:data flow diagram (数据流图上)

B:object-relation diagram (对象关系图上) C:state diagram (状态图上) D:use-case diagram(用例图上)

27. Data flow testing is a control structure testing technique where the criteria used to design test cases is that they(数据流测试作为一种针对控制结构的测试技巧,在设计测试用例时需要遵循的标准是)

A:rely on basis path testing (依赖于基本路径测试)

B:exercise the logical conditions in a program module (测试程序模块的逻辑条件)

C:select test paths based on the locations and uses of variables (基于变量的位置和使用情况选择测试路径)

D:focus on testing the validity of loop constructs (专注于测试循环结构的有效性)

28. Program flow graphs are identical to program flowcharts.(程序流图和程序流程图是相同的。)

A:True(真) B:False (假)

八、第8章测试策略

1. Acceptance tests are normally conducted by the(验收测试通常由以下哪类参与者进行?)

>>展开全文<<
12@gma联系客服:779662525#qq.com(#替换为@) 苏ICP备20003344号-4