【简答题】针对下列程序段,对于(A,B)的取值,以下( )测试用例组合能够满足条件覆盖的要求。If((a-10)=20 and (b+20)>10){Then c=0}If((a+30)>10 and (b-30)<0){Then b=30}1A=50 B=-10 2A=40 B=40 3A=30 B=-10 4A=30 B=30A. ①② B. ③④ C. ①④ D. ②④
【简答题】针对下列程序段,对于(A,B,C)的取值,以下( )测试用例组合能够满足语句覆盖的要求。IF ( ( A + 10 ) = 2 OR ( B -20 ) < 3 ) THEN C=0 IF ( ( A+30 )> 10 AND ( C - 30 ) < 0 ) THEN B=30A. (2,30,1) B. (-20,0,30) C. (-30,20,30) D. (2,20,3)