设有如下程序 Private Sub Search(a( )As Variant,ByVa1 key As Variant,index%) Dim I% For I=LBound(a) To UBound(a) If key=a(1) Then index=I Exit Sub End If Next I index=I End Sub Private Sub Form_Load( ) Show Dim b( ) As Variant Dim n As Integer b = Array(1,3,5,7,9,11,13,15) Call Search(b, 11 ,n) Print n End Sub程序动行后,输出结果是 【15】 。
查看答案
在窗体上画一个名称为Command1的命令按钮,然后编写如下事件过程: Private Sub Command1_Click( ) X=0 n=Input Box("") For i=1 To n For j=1 To i K=X+1 Next j Next i Print x End Sub 程序运行后,单击命令按钮,如果输入3,则在窗体上显示的内容是
A. 3
B. 4
C. 5
D. 6
Three of the most popular places to visit in London are the Tower, the Zoo and Madame Tussaud’s waxworks (蜡像) museum. This last-named (21) has the most famous exhibition of waxwork models (22) famous and infamous people in the world. It was (23) by a woman artist named Marie Tussaud. Marie Grosholtz studied wax modelling (24) her uncle in Paris. She modelled many famous people, particularly the (25) figures in the French Revolution. As (26) cut heads fell (27) the guillotine (断头台), Marie started (28) them immediately. In 1793 her uncle (29) and she inherited (继承) his museum and (30) collection. Seven years later she (31) to London and in 1802 she put (32) her first exhibition, in the Strand. It was (33) Madame Tussaud’s, because that was the (34) of the Frenchman she had married. The exhibition was very (35) , and she took care to (36) the figures up to date. In 1833 it moved to Baker Street and remained there (37) well past her death. Her sons moved the exhibition to Marylebone in 1884, (38) it still stands today. (39) of it was damaged by fire in 1925 but the moulds (模型) from which the heads were made (40) and by 1927 the building had been repaired and the figures replaced (替换).
A. of
B. above
C. from
D. down
When George Lewis, an (61) thief, went into a department store in Poole, he wasn’t (62) too many problems. There were several other (63) in the shop and he waited until he thought (64) was looking and then began (65) things into his bag. (66) as he was walking out of the shop, five pairs of hands suddenly caught him (67) . The store detective asked him (68) the shop and then told him to open his (69) . It (70) three shirts, two pairs of trousers and a leather jacket. The store manger asked (71) his receipt (收据) was and he said he didn’t have (72) . "I couldn’t (73) a changing room free, (74) I was taking the clothes (75) to try them on," he said. Five minutes later he admitted that he (76) the clothes. The police (77) and arrested him. The (78) of the store later said that the thief had not (79) a very good day to steal, "we were holding a (80) course — there were twenty of them!\
A. famous
B. good
C. experienced
D. lucky
设在窗体上有一个名称为Command1的命令按钮,并有以下事件过程: Private Sub Command1_Click( ) Static b As Variant b=Array(1,3,5,7,9) …… End Sub 此过程的功能是把数组b中的5个数逆序存放(即排列为9,7,5,3,1)。为实现此功能,省略号处的程序段应该是
A. Fori=0 T0 5-1\2
B. tmp=b(i)
C. b(i)=b(5-i-1)
D. b(5-i-1)=tmp
E. Next
Fori=0 To 5
G. tmp=b(i)
H. b(i)=b(5-i-1)
I. b(5-i-1)=tmp
J. Next
K. Fori=0 T0 5\2
L. tmp=b(i)
M. b(i)=b(5-i-1)
N. b(5-i-1)=tmp
O. Next
P. For i=l To 5\2
Q. tmp=b(i)
R. b(i)=b(5-i-1)
S. b(5-i-1)=tmp
T. Next