问题 单项选择题

执行下面的程序段后,x的值为 ______。 x=5 For I=1 To 20 Step 2 x=x+I\5 Next I

A.21

B.22

C.23

D.24

答案

参考答案:A

解析:[知识点]模块/VBA程序设计基础[评析]循环第1次,I=1,所以I\5=0;循环第2次,I=3,所以I\5=0:循环第3次,I=5,所以I\5=1:循环第4次,I=7,所以I\5=1:循环第5次,I=9,所以I\5=1:循环第6次,1=11,所以I\5=2;循环第7次,I=13,所以I\5=2:循环第8次,I=15,所以I\5=3;循环第9次,1-17,所以I\5=3:循环第10次,I=19,所以I\5=3:循环结束后,x=5+1+1+1+2+2+3+3+3, 所以x=21。

完形填空

Pablo Picasso (1881-1973) was born is Spain. There is no doubt he was one of the ________artists of the twentieth century. ________ he was a small child, he could draw and paint very well. ________the age of nineteen years old, he visited art galleries(陈列室) in Paris to learn ________ other artists. Picasso was _________ important painter who invented new ways of painting. For one period of his life, he used mainly blue in his paintings. Then with his friend, Georges Braque, he invented a way of painting called Cubism(立体派). He tried ________ round shapes look flat(公寓).

When a war broke in Spain, it made Picasso very _______ and angry. During the war, a town ________ Guernica was destroyed. So he made a large painting, ________ the name of Guernica, about the war. In the picture, a woman is crying and a horse is making a loud high noise. This painting, which is very famous, shows us _________ Picasso felt about the war.

小题1:A. great               B. greater          C. greatest

小题2:A. When            B. Where          C. What

小题3:A. In            B. At          C. On

小题4:A. front               B. from         C. for

小题5:A. a              B. the          C. an

小题6:A. to make         B. make        C. makes

小题7:A. happy            B. glad           C. sad

小题8:A. call               B. called       C. calls

小题9:A. with             B. without          C. of

小题10:A. what             B. how          C. where

单项选择题