货币收人(Money income)
第1题:
第2题:
下面哪条语句,可以产生与下面程序相同的结果。 data invest; money=1000; do until(money gt 5000); Year+1; money+(money*0.10); end; run;
A.do while(money ge 5000);
B.do while(money =5000);
C.do while(money le 5000);
D.do while(money >5000);
第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)