执行语句Dim X,Y As Integer后,( )。
A. X和Y均被定义为整型变量
B. X和Y均被定义为变体类型变量
C. X被定义为整型变量,Y被定义为变体类型变量
D. X被定义为变体类型变量,Y被定义为整型变量
查看答案
下列关于过程及过程参数的描述中,错误的是( )。
A. 过程的参数可以是控件名称
B. 调用过程时使用的实参的个数应与过程形参的个数相同
C. 只有函数过程能够将过程中处理的信息返回到调用程序中
D. 窗体可以作为过程的参数
在窗体上画一个命令按钮和一个文本框(名称分别为Command1和Text1),并把窗体的KeyPreview属性设置为True,然后编写下列代码: Dim SaveAll As String Private Sub Form Load() Show Text1.Text="" Text1.SetFocus End Sub Private Sub Command1 Click() Text1.Text=LCase(SaveAll)+SaveAll End Sub Private Sub Form KeyPress(KeyAscii As Integer) SaveAll=SaveAll+Chr(KeyAscii) End Sub 程序运行后,直接用键盘输入VB,再单击命令按钮,则文本框中显示的内容为( )。
A. vbVB
B. 不显示任何信息
C. VB
D. 出错
Greenspace facilities are contributing to an important extent to the quality of the urban environment. Fortunately, it is no longer necessary that every lecture or every book about this subject has to start with the proof of this idea. At present it is generally accepted, although more as a self-evident statement than on the base of a closely-reasoned scientific proof. The recognition of the importance of greenspaces in the urban environment is a first step on the right way; this does not mean, however, that sufficient details are known about the functions of greenspace in towns and about the way in which the inhabitants are using these spaces. As to this rather complex subject I shall, within the scope of this lecture, enter into one aspect only, namely the recreative function of greenspace facilities.The theoretical separation of living working, traffic and recreation which for many years has been used in town-and-country planning, has in my opinion resulted in disproportionate attention for forms for improvement of recreative possibilities in the direct neighborhood of the home. We have come to the conclusion that this is not right, because an important part of the time which we do not pass in sleeping or working, is used for activities at and around home. So it is obvious that recreation in the open air has to begin at the street-door of the house. The urban environment has to offer as many recreation activities as possible, and the design of these has to be such that more obligatory activities can also have a recreative aspect.The very best standard of living is nothing if it is not possible to take a pleasant walk in the district, if the children cannot be allowed to play in the streets because the risks of traffic are too great, if during shopping you can nowhere find a spot for enjoying for a moment the nice weather, in short, if you only feel yourself at home after the street-door of your house is closed after you. The author suggests that the recreative possibilities of greenspace should be provided().
A. in special areas
B. in the suburbs
C. in the neighborhood of the house
D. in gardens and parks
Why don’t birds get lost on their long flights from one place to another Scientists have puzzled over this question for many years. Now they’re beginning to fill in the blanks.Not long ago, experiments showed that birds rely on the sun to guide them during daylight hours. But what about birds that fly by night Tests with artificial stars have proved that certain night - flying birds are able to follow the stars in their long- distance flights.A dove (鸽子)had spent its lifetime in a cage and had never flown under a natural sky. Yet it showed an inborn ability to use the stars for guidance. The bird’s cage was placed under an artificial star-filled sky. The bird tried to fly in the same direction as that taken by his outdoor cousins. Any change in the position of the artificial stars caused a change in the direction of his flight.But the stars are apparently their principal means of navigation(航行)only. When the stars are hidden by clouds, they seemingly find their way by such landmarks as mountain ranges, coast lines, and river courses. But when it’s too dark to see these, the doves circle helplessly, unable to find their way. In total darkness, doves().
A. use lights to find their way
B. don’t know which way to fly
C. made their return flight by themselves
D. wait for the stars to appear