窗体上有两个名称分别为Text1、Text2的文本框,一个名称为Command1的命令按钮。运行后的窗体外观如图所示。
设有如下的类型声明 TyPe Person name AS String*8 major AS String*20 End TyPe 当单击“保存”按钮时,将两个文本框中的内容写入一个随机文件Test29 .dat中。设文本框中的数据已正确地赋值给Person类型的变量P.则能够正确地把数据写入文件的程序段是
A. Open"c:\Test29.dat"For Random As#1 Put#1,1,p C10se #1
B. OpeH"c:\Test29.dat"For Random As #1 Get#1,1,p C108C#1
C. Open"c:\Test29.dat"For Random As#1 Len=Len(p) Put#1,1,p C108C#1
D. OPell"c:\Test29.dat"For,Random As#1 Len=Len(p) Get#1,1,p C106e#1
听力原文: Trees should only be pruned when there is a good and clear reason for doing so and the number of such reasons is small. Pruning involves the cutting away of overgrown and unwanted branches, and the inexperienced gardener can be encouraged by the thought that more damage results from doing it unnecessarily than from leaving the tree to grow in its own way.
First, pruning may be done to make sure that trees have a desired shape or size. The object may be to get a tree of the right height, and at the same time to help the growth of small side branches, which will thicken its appearance or give it a special shape. Secondly, pruning may be done to make the tree heavier. You may cut out diseased or dead wood, or branches that are rubbing against each other and thus cause wounds. Removing branches that are blocking up the center and so preventing the free movement of air may encourage the health of a tree.
One result of pruning is that an open wound is left on the tree and this provides an easy entry for disease, but it is a wound that will heal. Often there is a race between the healing and the disease as to whether the tree will live or die, so that there is a period when the tree is at risk. It should be the aim of every gardener to reduce that risk of death as far as possible. It is essential to make the area, which has been pruned smooth and clean, for healing will be slowed down by roughness. You should allow the cut surface to dry for a few hours and then paint it with one of the substances available from garden shops produced especially for this purpose. Pruning is usually done in winter, for then you can see the shape of the tree clearly without interference from the leaves and also it is very unlikely that the cuts you make will bleed. If this does happen, it is, of course, impossible to paint them properly.
Why should pruning be done?
A. To make the tree grow taller.
B. To improve the shape of the tree.
C. To get rid of the small branches.
D. To make the small branches thicker.