问题 单项选择题

在下列关于Visual FoxPro 内存变量的叙述中,错误的一条是______。

A.一个数组中的各元素的数据类型必须完全相同

B.内存变量的类型取决于其值的类型

C.内存变量的类型可以改变

D.数组在使用之前要用DIMENSION或DECLARE语句进行定义

答案

参考答案:A

解析: 数组使用前一般须先定义,Visual FoxPro中可以定义一维数组和二维数组。数组定义好后,数组中的每个数组元素自动地被赋予逻辑值.F.。当需要对整个数组或个别数组元素进行新的赋值时,与一般内存变量一样,可以通过STORE命令或赋值号“=”来进行。对数组的不同元素,可以赋予不同类型的数据。

单项选择题
阅读理解

Light travels at a speed which is about a million times faster than the speed of  sound. You can get some idea of this difference by watching the start of a race. If    you stand some distance away from the starter, you can see smoke from his gun      before the sound reaches your ears.

This great speed of light produces some strange facts. Sunlight takes about 8 minutes to reach us. If you look at the light of the moon tonight, remember that the light   rays left the moon 1.3 seconds before they reached you. The nearest star is so far  away that the light that you can see from it tonight started to travel towards you    four years ago at a speed of nearly 2 million km. per minute. In some cases, the    light from one of tonight’s stars had started on its journey to you before you were born.

Thus, if we want to be honest, we can’t say, “The stars are shining tonight.” We   have to say instead, “The stars look pretty. They were shining four years ago, but    their light has only just reached the earth.”

小题1: Light speed is ______ sound speed

A.as fast as

B.a million times slower than

C.about millions of times faster than

D.about a million times faster than小题2:If you stand 200 meters away from a man who is firing a gun to start a race, you will find out that ______.

A.you can hear the sound before you see the smoke

B.the sound does not travel as fast as light

C.the sound will reach you before the man fires

D.sound travels about a million times faster than light小题3:Sunlight obviously (明显地) ______ than the light of the moon

A.has to travel a greater distance

B.moves less quickly

C.travels much more quickly

D.is less powerful(有力的)小题4:The scientific way of saying "The stars are shining tonight" should be ______.

A.the stars have been shining all the time

B.the stars seen tonight will shine four years later

C.the stars were shining long ago but seen tonight

D.the starlight seen today could be seen four years ago