A.8 8
B.6 8
C.4 6
D.6 6
[单选题]执行下列程序:SET TALK OFFSTORE 0 TO X,YD.O WHILE X<6X=X+YY=Y+2E.NDDO? X,YSET TALK ONRETURN在屏幕上显示的输出结果是( )。A.88B.68C.46D.66
[单选题](程序)SET TALK OFFSTORE 0 TO X,YD.O WHILE X<20X=X+YY=Y+2&& IF Y=4&& EXIT&& ENDIFE.NDDO? X,YSET TALK ONRETURNX的输出结果为 ______。A.20B.21C.22D.10
[单选题]下列程序的运行结果是 SET TALK OFF STORE 0 TO S N=20 DO WHILE N>S S=S+N N=N-2 ENDDO ?S RETURNA.0B.2C.20D.18
[单选题](程序)SET TALK OFFXQ=“天一二三四五六”D.O WHIL .T.INPUT“X=” TO XX=IIF(X>0 AND X<366,MOD(X+2,7)+1,IIF(X=0,0,8))D.O CASEC.ASE X=0?“结束”E.XITC.ASE X=8?“输入有错”LOOPOTHERWISE?“星期” +SUBSTR(XQ,2*X—1,2)E.NDCASEE.NDDOSET TALK ON当输入X值为210时,输出结果为 ______。A.星期一B.星期二C.星期四D.星期六
[单选题]执行下列程序,最后S的显示值为( )。SET TALK OFFs=0i=2x=10D.O WHILE s<=xs=s+ii=i+1E.NDDO?sSET TALK ONA.12B.14C.16D.18
[单选题](程序)SET TAIK OFFSTORE 0 TO M,ND.O WHILE M<30N=N+3M=M+NE.NDDO? M,NSET TALK ONPETURNM的输出结果为 ______。A.30B.45C.18D.9
[单选题]执行下列程序: CLEAR SET TALK OFF STORE 1 TO i,a,b DO WHILE i<=3 DO PROG1 ??"P("+STR(i,1)+")="+STR(a,2)+"," i=i+1 ENDDO ??"b="+STR(b,2) RETURN PROCEDURE PROGl a=a*2 b=b+a SET TALK ON RETURN 程序的运行结果为A.P(1)=2,P(2)=3,P(3)=4,b=15B.P(1)=2,P(2)=4,P(3)=6,b
[单选题]执行如下程序,则最后S的显示值为( )。 SET TALK FFS=0 i=5x=11DO WHILE s<=X s=s+ii=i+lENDD07 S SET TALK ONA. 5B. 11C. 18D. 26
[单选题]执行如下程序,最后s的显示值为 SET TALK OFF S=0 i=5 x=11 DO WHILE s<=x s=s+i i=i+l ENDD0 7 S SET TALK ONA. 5B. 11C. 18D. 26
[单选题](程序)SET TALK OFFC.LEARSTORE 0 TO X,S1,S2,S3D.O WHILE X<15X=X+1D.O CASEC.ASEINT(X/2)=X/2S1=S1+X/2C.ASE MOD(X,3)=0S2=S2+X/3C.ASE INT(X/2)<>X/2S3=S3+1E.NDCASEE.NDDO? X,S1,S2,S3SET TALK ONRETURNX的输出结果为 ______。A.0B.14C.15D.16