扫码购买正式版题库

  • 海量题库
  • 全真模拟
  • 专项训练
  • 预测试题
  • 押题密卷
  • 错题强化

针对下列程序段,需要( )个测试用例才可以满足语句覆盖的要求。 switch(value){case 0:other=30;break;case 1:other=50;break;case 2:other=300;case 3:other=other/value;break;default:other=other*value;}

单选题
针对下列程序段,需要( )个测试用例才可以满足语句覆盖的要求。
switch(value){case 0:other=30;break;case 1:other=50;break;case 2:other=300;case 3:other=other/value;break;default:other=other*value;}

A2

B3

C4

D5

最新更新

易过题库在线搜题

热门题库