对于逻辑表达式((a||(b&c))||(c&&d))需要( )个测试用例才能完成条件组合覆盖。
2023-09-01
B.4
C.8
D.16
参考答案:D
本题考查白盒测试中逻辑覆盖法的条件组合覆盖。条件组合覆盖:选择足够的测试用例,使得每个判定中条件的各种可能组合都至少出现一次。本题中有a、b&c、c和d共4个条件,组合之后需要的用例数是2^4=16。注意需要区分b&c和c&&d是不一样的,c&&d代表c和d两个条件,而b&c只表示一个条件,故正确答案为D
![]( //img1.runjiapp.com/duoteimg/tiku/images/pc/questionBank/main-list-title-icon.png)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_44.jpg)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_46.jpg)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_72.jpg)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_51.jpg)
(2018年)根据《劳动合同法》,( )属于劳动合同必备条款。
2023-06-03
从业资格其它
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_92.jpg)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_22.jpg)
(2017年)根据《劳动合同法》,下列关于劳务派遣的说法,正确的有()
2023-06-03
从业资格其它
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_91.jpg)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_54.jpg)
(2019年)根据《劳动合同法》,关于劳务派遣的说法,正确的是
2023-06-03
从业资格其它
热门标签