** 主程序:Z.PRG
SET TALK OFF
STORE 10 TO X1,X2,X3
X1=X1+1
D.O Z1
? X1+X2+X3
RETURN
SET TALK ON
RETURN
** 子程序:Z1. PRG
X2=X2+1
D.O Z2
X1=X1+1
RETURN
** 子程序:Z2. PRG
X3=X3+1
RETURN TO MASTER
屏幕上的显示结果为 ______。
A.33
B.32
C.31
D.32
[单选题](程序)*** 主程序SET TALK OFFC.LEARSTORE 100 TO X,Y,ZSET PROCEDURE TO GC1D.O PROCl WITH X,Y? X,Y,ZSET PR()CEDURE TOSET TALK ONRETURN*** 过程PROCEDURE PROC1PARAMETER M,NM=M+100N=N+100RETURNX的输出结果为 ______。A.100B.200C.300D.400
[单选题](程序)* * PROG1. PRGSET TALK OFFPUBLIC X,YX=“同学们”Y=“你们好!”? X+YD.O SUBPRO? X,Y,ZSET TALK ONRETURN** SUBPRO. PRGPRIVATE XPUBLIC ZX=100Y=200Z=300? X+Y+ZRETURN第一个X+Y的输出结果为 ______。A.同学们你们好!B.你们好同学们C.同学们+你们好!D.同学们
[单选题](程序)** MAIN. PRG ** PROC1. PRGSET TALK OFF PROC P1X=10 PARA S1,S2Y=5 S1=S1*5SET PROC TO PROC1 S2=S2+5D.O P1 WITH X,Y RETURNPROC P2? X,Y &&第一次显示 PARAX,YX=10 X=5Y=5 Y=X+20D.O P2 WITH X,Y RETURN? X,Y &&第二次显示X=10Y=5D.O P1 WITH X+5,Y? X,Y
[单选题](程序)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 X,Y DO WHILE X<6 X=X+Y Y=Y+2 ENDDO ?X,Y SET TALK ON RETURN 在屏幕上显示的输出结果是( )。A.8 8B.6 8C.4 6D.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 OFF STORE 0 TO S N=20 DO WHILE N>S S=S+N N=N-2 ENDDO ?S RETURNA.0B.2C.20D.18
[单选题]调完子程序后,主程序中Z的输出结果为 ______。A.100B.200C.300D.你们好!
[单选题](程序)** 主程序:AAA. PRGSET TALK OFFC.LEARK=20Y=30D.O BBB?X,YRETURN** 子程序:BBB. PRGPRIVATE YX=40Y=50RETURN程序执行后的显示结果为 ______。A.20 30B.40 50C.30 40D.40 30
[单选题](程序)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