问题 单项选择题

在窗体上画一个名称为Command1的命令按钮,然后编写如下事件过程:
Private Sub Command1_Click()
Dim num Ag Integer
num=1
Do Until num>6
Print num:
num=num+2.4
Loop
End Sub
程序运行后,单击命令按钮,则窗体上显示的内容是______。

A.13.45.8

B.135

C.1 4 7

D.无数据输出

答案

参考答案:B

解析:

[分析]: 由于变量num被定义为整型变量,所以在“Do until-Loop”的循环中,num的计算过程为1、3、5,当为7时退出循环。

判断题
阅读理解

阅读理解。

News 1

     Have you ever thought of being able to fly around the world in a few hours though it is about 40,000

kilometers? One day, maybe you can. Last Saturday, the American X-43A airplane made its first flight.

It reached a speed of 8,000 kilometers an hour. This makes it the fastest plane in the world. The X-43A

is only three to four meters long, but it's very heavy: it weighs 1,270 kilogrammes.

News 2

     Have you ever got angry at books that are full of mistakes? Don't worry, things will get better soon.

Last week, China started checking textbooks, dictionaries and children's books all over the country. The

government said the results of the checking would come out at the end of June.

News 3

    There will be a new "star" in the sky soon. China plans to send a satellite into space by December 2009.

It will stay in space for one year. It will go around the moon and take pictures. It must be very expensive,

right? That's for sure-1.4 billion yuan!

News 4

     Floods across the northern Mexican state of Coabuila killed at least 32 people and left 100 more missing.

It was reported on Monday. The heavy rain hit the state all night last Friday, so some banks of the river

were broken. Along the river about 3,000 families were seriously affected.

1. News 1 talks about _____. [ ]

A. the American X-43A airplane is the fastest one in the world

B. the American X-43A airplane traveled around the earth in a few hours

C. people can't go around the earth in a few hours

D. only Americans can make such a fast plane

2. If the X-43A goes around the earth, it will take about _____ hours to finish the trip. [ ]

A. 3

B. 5

C. 8

D. 12

3. Which of the following about New 2 is true? [ ]

A. There are many mistakes in most of the textbooks, dictionaries and children's books.

B. All the students have to use the books full of mistakes till the end of June.

C. A few mistakes are not serious for children.

D. After the checking books will become better and better.

4. Which of the following about the new "star" is NOT true? [ ]

A. It will help us know more about the moon.

B. It will cost 1.4 billion yuan.

C. It will go around the earth for one year.

D. It will be sent up by the year 2009.

5. Many families were affected because of _____. [ ]

A.the heavy rain on Monday

B. the floods across Coabuila

C. the broken banks of the river

D the death of 132 people