*** 主程序
SET TALK OFF
C.LEAR
STORE 100 TO X,Y,Z
SET PROCEDURE TO GC1
D.O PROCl WITH X,Y
? X,Y,Z
SET PR()CEDURE TO
SET TALK ON
RETURN
*** 过程
PROCEDURE PROC1
PARAMETER M,N
M=M+100
N=N+100
RETURN
X的输出结果为 ______。
A.100
B.200
C.300
D.400
[单选题](程序)SET TALK OFFC.LEARSTORE 10 TO ASTORE 20 TO BSET UDFPARMS TO REFERENCED.O SWAP W1TU A,(B)? A,BPROCEDURE SWAPPARAMETERS X1,X2TEMP=X1X1=X2X2=TEMPE.NDPROCSET TALK ONRETURNA.的输出结果为 ______。A.10B.20C.30D.5
[单选题](程序)SET TALK OFFC.LEARSTORE .T. TO XSTORE 0 TO YD.O WHILE XY=Y+1IF INT(Y/5)= Y/5?? YE.LSELOOPE.NDIFIF Y>15STORE .F. TO XE.NDIFE.NDDOSET TALK ONRETURN第一次输出Y值为 ______。A.5B.6C.7D.8
[单选题](程序)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
[单选题](程序)** 主程序:Z.PRGSET TALK OFFSTORE 10 TO X1,X2,X3X1=X1+1D.O Z1? X1+X2+X3RETURNSET TALK ONRETURN** 子程序:Z1. PRGX2=X2+1D.O Z2X1=X1+1RETURN** 子程序:Z2. PRGX3=X3+1RETURN TO MASTER屏幕上的显示结果为 ______。A.33B.32C.31D.32
[单选题](程序)SET TALK OFFC.LEARINPUT“N=”TO NINPUT“M=”TO MX=MIN(N,M)F.OR I=X TO 1 STEP -1IF M/I=INT(M/I)AND N/I=INT(N/I)Y1=IE.XITE.NDIFE.NDFOR?“Y1=”+ALLTRIM(STR(Y1,19))+“,Y2=”+ALLTRIM(STR(M,N)/Y1,19))SET TALK ON若输入N、M的值分别为6,8,则Y1的输出结果为 ______。A.0B.1C.2D.3
[单选题](程序说明) 程序功能是求1到100之间的所有素数。(程序)SET TALK OFFC.LEARJ=2D.O WHILE J<=100I=2D.O WHILE (5)IF MOD(J,I)=0(6)E.NDIFI=I+1E.NDDOIF (7)?JE.NDIFJ=J+1(8)SET TALK ONRETURN(5)A.I>JB.I>=JC.I<JD.I<=J
[单选题](程序说明)程序功能是求30!。(程序)SET TALK OFFC.LEARN=1I=1D.O WHILE (1)(2)N=N+1(3)? ISET TALK ON(1)A.N<>30B.N>30C.N<30D.N<=30
[单选题](程序)SET TALK OFFD.IMENSION A(6)F.OR K=1 TO 6A.(K)=30—3*KE.NDFORK=5D.O WHILE K>=1A.(K)=A(K)—A(K+1)K=K—1E.NDDO? A(1),A(2),A(4),A(6)SET TALK ONRETURNA.(1)的输出结果为 ______。A.24B.15C.27D.9
[单选题](程序)SET TALK OFFINPUT“请输入A:” TO AINPUT“请输入B:” TO BIF A<BT=AA.=BB.=TE.NDIFD.O WHILE B<>0T=MOD(A,B)A.=BB.=TE.NDDO? ASET TALK ONRETURN若程序运行时输入A值为12,B值为8,则A的输出结果为 ______。A.2B.4C.12D.8
[单选题](程序)SET TALK OFFINPUT “X=” TO XD.O CASEC.ASE X>10?“OK1”C.ASE X>20?“OK2”OTHERWISE?“OK3”E.NDCASESET TALK ONRETURN程序运行时输入X值为9,则显示结果为 ______。A.“OK1”B.OK1C.“OK2”D.“OK3”