问题 单项选择题

设工程中有2个窗体:Form1、Form2、Form1为启动窗体。Form2中有菜单,其结构如表所示。要求在程序运行时,在Form1的文本框Text1中输入口令并按回车键(回车键的Ascii码为13)后,隐藏Form1,显示Form2。若口令为“Teacher”,所有菜单项都可见,否则看不到“成绩录入”菜单项。为此,某人在Form1窗体文件中编写如下程序:
Private Sub Text1_KeyPress(KeyAscii As Integer)
If KeyAscii=13 Then
If Text1.Text="Teacher"Then
Form2.Input.Visible=True
Else
Form2.Input.Visible=False
End If
End If
Form1.Hide
Form2.Show
End Sub


程序运行时发现刚输入口令时就隐藏了Form1,显示了Form2,程序需要修改。下面修改方案中正确的是( )

A.把Form1中Text1文本框及相关程序放到Form2窗体中
B.把Form1.Hide、Form2.Show两行移动至2个End If之间
C.把If KeyAscii=13 Then改为If KeyAscii="Teacher"Then
D.把2个Form2.Input.Visible中的"Form2."删去

答案

参考答案:B

解析: 本题要在输入口令并回车后隐藏Form1,显示Form2。本题第2个If的意思为当口令为Teacher时,则Form2的录入框正常显示,否则不显示,至此End If结束。此时应该为Form1.Hide,Form2,Show。对应第1个If语句。如果Form1.Hide,Form2.Show语句在两个End If的后面,则没有回车时,就隐藏了Form1,显示了Form2,所以B选项正确。

选择题
阅读理解

Most musicians agree that the best violins were made in Cremona, Italy, about 200 years ago. They even sound better than violins made today. Violin makers and scientists try to make instruments like the old Italian violins. But they aren’t the same. Why are these old Italian violins so special? Many people think they have an answer.

Some people think it is the age of the violins. But there is a problem here. Not all old violins sound wonderful. Only those from Cremona are special. So age cannot be the answer.

Other people think the secret to those violins is the wood. The wood of the violin is very important. It must be from certain kinds of trees. It must not be too young or too old. Perhaps the violin makers of Cremona knew something special about wood for violins.

But the kind of wood may not be so important. It may be more important to cut the wood in a special way. Wood for a violin must be cut very carefully. It has to be the right size and shape. The smallest difference will change the sound of the violin. Musicians sometimes think that this is the secret of the Italians.

Size and shape may not be the answer either. Scientists make new violins that are exactly the same size and shape. But the new violins still do not sound as good as the old one. Some scientists think the secret may be the varnish(清漆), which covers the wood of the violin and makes it look shiny. It also helps the sound of the instrument. Since no one knows what the Italian violin makers used in their varnish, no one can make the same varnish today.

There may never be other violins like the violins of Cremona. And there are not many of the old violins left. So these old violins are becoming more and more precious.

小题1:What would be the best title for the passage?

A.The Secrets of Cremona Violins

B.The History of Italian Violins

C.Special Musical Instruments

D.How to Make the Best Violins小题2:The main purpose of the first paragraph is to_______________

A.list some facts

B.raise a question

C.give an opinion

D.offer an answer小题3:What is still unclear about Cremona violins according to the writer?

A.The shape.

B.The size.

C.The wood.

D.The varnish.小题4:Which of the following words can best describe Cremona violins?

A.Light.

B.Shining.

C.Valuable.

D.Modern小题5:What can we learn from this passage?

A.Modem things are always better than ancient ones

B.Ancient things are always better than modem ones

C.Once a cultural relic is lost.it Can never be recovered

D.Varnish for violins will become more and more precious