43.下面程序運行時輸出的結(jié)果是________.
10 FOR J=4TO 1 STEP-1
20 PRINT TAB(8-J);
30 FOR K=4 TO 1 STEP -1
40 PRINT "*";
50 NEXT K
60 PRINT
70 NEXT J
80 END
A)* * * * B) * * * * C)* * * * D)* *
* * * * * * * * * * * * * *
* * * * * * * * * * * * * *
* * * * * * * * * * * * * *
44.下面程序運行時輸出的結(jié)果是________.
10 A=INT(RND(1))
20 ON INT(A+5) GOTO 30,40,50,60
30 PRINT 10;
40 PRINT 20;
50 PRINT 30;
60 PRINT 40;
70 END
A)10 20 30 40 B)20 30 40 C)30 40 D)40
45.執(zhí)行PRINT USING "$$ # # #. # #";999.999的結(jié)果是________.
A)999.999 B)$$999.99 C)$1000.00 D)$999.99
46.下面程序運行時輸出的結(jié)果是________.
10 FOR K=10 TO 6 STEP -1
20 READ A(K)
30 NEXT K
40 DATA 1,3,5,7,9
50 FOR J=3 TO 7
60 PRINT A(J)
70 NEXT J
80 END
A)1 3 5 6 9 B)9 7 5 3 1 C)0 0 0 9 7 D)1 1 1 1 1
47.下面程序運行時輸出的結(jié)果是________.
10 FOR K=1 TO 3
20 ON K GOTO 30,40,50
30 A=1
40 A=2
50 A=3
60 PRINT K; A;
70 NEXT K
80 END
A)1 2 2 5 3 3 B)1 1 2 2 3 3 C)3 3 3 3 3 3 D)1 3 2 3 3 3
48.下面程序運行時輸出的結(jié)果是________.
10 FOR L=1 TO 3
20 A=A+1
30 FOR J=1 TO L
40 A=A+1
50 NEXT J
60 A=A+1
70 NEXT L
80 PRINT A
90 END
A)3 B)12 C)9 D)6
49.下面程序運行時外層,中層及內(nèi)層循次數(shù)分別是________.
10 FOR A=1 TO 3
20 FOR B=1 TO A
30 FOR C=B TO 3
40 NEXT C
50 NEXT B
60 NEXT A
A)21 8 6 B)3 3 3 C)3 6 14 D)8 6 3