对下面的个人所得税程序中满足语句覆盖测试用例的是()
If(income800)taxrate=0;
elseif(income=1500)taxrate=0.05;
elseif(income2000)taxrate=0.08;
elsetaxrate=0.1;
A、income=(800,1500,2000,2001
B、"income=(800,801,1999,2000)"
C、"income=(799,1499,2000,2001)"
D、"income=(799,1500,1999,2000)"
第1题:
第2题:
第3题:
【单选题】下面的个人所得税程序中,满足语句覆盖测试用例的输入数据是() if (income < 800) taxRate= 0; else if (income <= 1500) taxRate = 0.05 ; else if (income < 2000) taxRate = 0.08 ; else taxRate= 0.1 ;
A.income = (800, 1500, 2000, 2001)
B.income = (800, 801, 1999, 2000)
C.income = (799, 1499, 2000, 2001)
D.income = (799, 1500, 1999, 2000)
第4题:
第5题:
对下面的计算个人所得税程序中,满足判定覆盖的测试用例是()。 if (income<800) taxrate=0; else if (income<=1500) taxrate=0.05; else if (income<2000) taxrate=0.08; else taxrate=0.1;
A.income=(799, 1500, 1999, 2000)
B.income=(799, 1501, 2000, 2001)
C.income=(800, 1500, 2000, 2001)
D.income=(800, 1499, 2000, 2001)